ATlast — you'll never need to find your favorites on another platform again. Find your favs in the ATmosphere.
atproto

update client-metadata for preview

+1
.gitignore
··· 2 2 .vscode/ 3 3 .netlify/ 4 4 node_modules/ 5 + dist/ 5 6 private-key.pem 6 7 public-jwk.json 7 8 keygen.js
+2 -27
README.md
··· 3 3 4 4 ### Development 5 5 6 - #### Test locally 7 - ``` 8 - npm run dev 9 - ``` 10 - 11 - #### Build and preview 6 + #### Deploy preview 12 7 ``` 13 - npm run build 14 - // npm run preview 15 - rm -r docs 16 - mv dist docs 17 - ``` 18 - 19 - #### Enable debug mode 20 - ``` 21 - // Option 1: Add ?debug to URL 22 - // yourapp.com?debug 23 - 24 - // Option 2: Enable via browser console 25 - localStorage.setItem('debug', 'true'); 26 - window.location.reload(); 27 - ``` 28 - 29 - #### Disable debug mode 30 - ``` 31 - // Use the "Exit Debug Mode" button, or: 32 - localStorage.removeItem('debug'); 33 - window.location.reload(); 8 + netlify deploy 34 9 ```
+32
package-lock.json
··· 10 10 "dependencies": { 11 11 "@atcute/identity": "^1.1.0", 12 12 "@atcute/identity-resolver": "^1.1.3", 13 + "@atproto/api": "^0.17.0", 13 14 "@atproto/identity": "^0.4.9", 14 15 "@atproto/jwk-jose": "^0.1.10", 15 16 "@atproto/oauth-client-node": "^0.3.8", ··· 192 193 "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-10.4.3.tgz", 193 194 "integrity": "sha512-JNAzZcXrCt42VGLuYz0zfAzDfAvJWW6AfYlDBQyDV5DClI2m5sAmK+OIO7s59XfsRsWHp02jAJrRadPRGTt6SQ==", 194 195 "license": "ISC" 196 + }, 197 + "node_modules/@atproto/api": { 198 + "version": "0.17.0", 199 + "resolved": "https://registry.npmjs.org/@atproto/api/-/api-0.17.0.tgz", 200 + "integrity": "sha512-FNS9SW7/3kslAnJH7F4fO9/jPjXzC0NMD6u9NjJ/h4EnaIEpWHZQPkmD9Q2hvAwD6+Uo2boYZEPKkOa55Lr5Dg==", 201 + "license": "MIT", 202 + "dependencies": { 203 + "@atproto/common-web": "^0.4.3", 204 + "@atproto/lexicon": "^0.5.1", 205 + "@atproto/syntax": "^0.4.1", 206 + "@atproto/xrpc": "^0.7.5", 207 + "await-lock": "^2.2.2", 208 + "multiformats": "^9.9.0", 209 + "tlds": "^1.234.0", 210 + "zod": "^3.23.8" 211 + } 195 212 }, 196 213 "node_modules/@atproto/common-web": { 197 214 "version": "0.4.3", ··· 3135 3152 "peerDependencies": { 3136 3153 "postcss": "^8.1.0" 3137 3154 } 3155 + }, 3156 + "node_modules/await-lock": { 3157 + "version": "2.2.2", 3158 + "resolved": "https://registry.npmjs.org/await-lock/-/await-lock-2.2.2.tgz", 3159 + "integrity": "sha512-aDczADvlvTGajTDjcjpJMqRkOF6Qdz3YbPZm/PyW6tKPkx2hlYBzxMhEywM/tU72HrVZjgl5VCdRuMlA7pZ8Gw==", 3160 + "license": "MIT" 3138 3161 }, 3139 3162 "node_modules/balanced-match": { 3140 3163 "version": "1.0.2", ··· 6928 6951 }, 6929 6952 "engines": { 6930 6953 "node": ">=0.8" 6954 + } 6955 + }, 6956 + "node_modules/tlds": { 6957 + "version": "1.260.0", 6958 + "resolved": "https://registry.npmjs.org/tlds/-/tlds-1.260.0.tgz", 6959 + "integrity": "sha512-78+28EWBhCEE7qlyaHA9OR3IPvbCLiDh3Ckla593TksfFc9vfTsgvH7eS+dr3o9qr31gwGbogcI16yN91PoRjQ==", 6960 + "license": "MIT", 6961 + "bin": { 6962 + "tlds": "bin.js" 6931 6963 } 6932 6964 }, 6933 6965 "node_modules/tmp": {
+1
package.json
··· 12 12 "dependencies": { 13 13 "@atcute/identity": "^1.1.0", 14 14 "@atcute/identity-resolver": "^1.1.3", 15 + "@atproto/api": "^0.17.0", 15 16 "@atproto/identity": "^0.4.9", 16 17 "@atproto/jwk-jose": "^0.1.10", 17 18 "@atproto/oauth-client-node": "^0.3.8",
+2 -1
public/client-metadata.json
··· 3 3 "client_name": "ATlast", 4 4 "client_uri": "https://atlast.byarielm.fyi", 5 5 "redirect_uris": [ 6 - "https://atlast.byarielm.fyi/oauth/callback" 6 + "https://atlast.byarielm.fyi/.netlify/functions/oauth-callback", 7 + "https://*.netlify.app/.netlify/functions/oauth-callback" 7 8 ], 8 9 "scope": "atproto transition:generic", 9 10 "grant_types": ["authorization_code", "refresh_token"],
+1 -1
tsconfig.json
··· 17 17 "jsx": "react-jsx", 18 18 "allowImportingTsExtensions": true 19 19 }, 20 - "include": ["src"] 20 + "include": ["src", "netlify/functions"] 21 21 }