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 .vscode/ 3 .netlify/ 4 node_modules/ 5 private-key.pem 6 public-jwk.json 7 keygen.js
··· 2 .vscode/ 3 .netlify/ 4 node_modules/ 5 + dist/ 6 private-key.pem 7 public-jwk.json 8 keygen.js
+2 -27
README.md
··· 3 4 ### Development 5 6 - #### Test locally 7 - ``` 8 - npm run dev 9 - ``` 10 - 11 - #### Build and preview 12 ``` 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(); 34 ```
··· 3 4 ### Development 5 6 + #### Deploy preview 7 ``` 8 + netlify deploy 9 ```
+32
package-lock.json
··· 10 "dependencies": { 11 "@atcute/identity": "^1.1.0", 12 "@atcute/identity-resolver": "^1.1.3", 13 "@atproto/identity": "^0.4.9", 14 "@atproto/jwk-jose": "^0.1.10", 15 "@atproto/oauth-client-node": "^0.3.8", ··· 192 "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-10.4.3.tgz", 193 "integrity": "sha512-JNAzZcXrCt42VGLuYz0zfAzDfAvJWW6AfYlDBQyDV5DClI2m5sAmK+OIO7s59XfsRsWHp02jAJrRadPRGTt6SQ==", 194 "license": "ISC" 195 }, 196 "node_modules/@atproto/common-web": { 197 "version": "0.4.3", ··· 3135 "peerDependencies": { 3136 "postcss": "^8.1.0" 3137 } 3138 }, 3139 "node_modules/balanced-match": { 3140 "version": "1.0.2", ··· 6928 }, 6929 "engines": { 6930 "node": ">=0.8" 6931 } 6932 }, 6933 "node_modules/tmp": {
··· 10 "dependencies": { 11 "@atcute/identity": "^1.1.0", 12 "@atcute/identity-resolver": "^1.1.3", 13 + "@atproto/api": "^0.17.0", 14 "@atproto/identity": "^0.4.9", 15 "@atproto/jwk-jose": "^0.1.10", 16 "@atproto/oauth-client-node": "^0.3.8", ··· 193 "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-10.4.3.tgz", 194 "integrity": "sha512-JNAzZcXrCt42VGLuYz0zfAzDfAvJWW6AfYlDBQyDV5DClI2m5sAmK+OIO7s59XfsRsWHp02jAJrRadPRGTt6SQ==", 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 + } 212 }, 213 "node_modules/@atproto/common-web": { 214 "version": "0.4.3", ··· 3152 "peerDependencies": { 3153 "postcss": "^8.1.0" 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" 3161 }, 3162 "node_modules/balanced-match": { 3163 "version": "1.0.2", ··· 6951 }, 6952 "engines": { 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" 6963 } 6964 }, 6965 "node_modules/tmp": {
+1
package.json
··· 12 "dependencies": { 13 "@atcute/identity": "^1.1.0", 14 "@atcute/identity-resolver": "^1.1.3", 15 "@atproto/identity": "^0.4.9", 16 "@atproto/jwk-jose": "^0.1.10", 17 "@atproto/oauth-client-node": "^0.3.8",
··· 12 "dependencies": { 13 "@atcute/identity": "^1.1.0", 14 "@atcute/identity-resolver": "^1.1.3", 15 + "@atproto/api": "^0.17.0", 16 "@atproto/identity": "^0.4.9", 17 "@atproto/jwk-jose": "^0.1.10", 18 "@atproto/oauth-client-node": "^0.3.8",
+2 -1
public/client-metadata.json
··· 3 "client_name": "ATlast", 4 "client_uri": "https://atlast.byarielm.fyi", 5 "redirect_uris": [ 6 - "https://atlast.byarielm.fyi/oauth/callback" 7 ], 8 "scope": "atproto transition:generic", 9 "grant_types": ["authorization_code", "refresh_token"],
··· 3 "client_name": "ATlast", 4 "client_uri": "https://atlast.byarielm.fyi", 5 "redirect_uris": [ 6 + "https://atlast.byarielm.fyi/.netlify/functions/oauth-callback", 7 + "https://*.netlify.app/.netlify/functions/oauth-callback" 8 ], 9 "scope": "atproto transition:generic", 10 "grant_types": ["authorization_code", "refresh_token"],
+1 -1
tsconfig.json
··· 17 "jsx": "react-jsx", 18 "allowImportingTsExtensions": true 19 }, 20 - "include": ["src"] 21 }
··· 17 "jsx": "react-jsx", 18 "allowImportingTsExtensions": true 19 }, 20 + "include": ["src", "netlify/functions"] 21 }