๐Ÿ“ฆโž”๐Ÿฆ‹ Store and retrieve files on the Atmosphere

replace "ATProto" and "ATmosphere" with "Atproto" and "Atmosphere"

ducky.ws 9f2d3dd1 7a762774

Waiting for spindle ...
+13 -13
+9 -9
README.md
··· 3 3 </h1> 4 4 5 5 <p align="center"> 6 - Store and retrieve files on the <a href="https://atproto.com/">ATmosphere</a> (like <a href="https://bsky.app">Bluesky</a> or <a href="https://tngl.sh">Tangled</a>)<br /> 6 + Store and retrieve files on the <a href="https://atproto.com/">Atmosphere</a> (like <a href="https://bsky.app">Bluesky</a> or <a href="https://tngl.sh">Tangled</a>)<br /> 7 7 <em>Written entirely in Bash Shell. No <span title="Deno is pretty cool tho">NodeJS</span> here!</em> 8 8 </p> 9 9 ··· 44 44 * `sed` 45 45 * Only GNU version supported 46 46 * [`websocat`](https://github.com/vi/websocat) _(optional: needed for `stream`)_ 47 - * **ATProto account** 48 - * Limit the amount of files you upload, and avoid copyrighted files, if using a managed PDS<br /><em>(e.g. [Blacksky](https://pds.blacksky.app), [Bluesky](https://bsky.social), [Spark](https://pds.sprk.so), [Tangled](https://tngl.sh), or any other independent PDS you don't own)</eM> 49 - * Supports accounts with `did:plc` and `did:web` identities 50 - * Supports PDSs running [Bluesky PDS](https://github.com/bluesky-social/pds) and [millipds](https://github.com/DavidBuchanan314/millipds) 51 - * Other PDSs remain untested, but if they implement standard `com.atproto.*` endpoints, there should be no reason these won't work 47 + * **Atproto account** 48 + * Limit the amount of files you upload, and avoid copyrighted files, if using a managed PDS you don't own yourself 49 + * Supports accounts with `did:plc` or `did:web` identities 50 + * Supports PDSs running [Bluesky PDS](https://github.com/bluesky-social/pds) 51 + * Other PDSs remain untested, but if they implement standard `com.atproto.*` endpoints and blob storage, there should be no reason these won't work 52 52 * Filesize limits cannot be automatically detected. By default, this is 100MB 53 53 * To change this on Bluesky PDS, set `PDS_BLOB_UPLOAD_LIMIT=<bytes>` 54 54 * If the PDS is running behind Cloudflare, the Free plan imposes a 100MB upload limit ··· 91 91 92 92 Config locations are identical to those above (see **Automatic ("`curl|bash`")** above). 93 93 94 - **Using a development version against your ATProto account could potentially inadvertently damage records.** 94 + **Using a development version against your Atproto account could potentially inadvertently damage records.** 95 95 96 96 ### โŒจ๏ธ Using 97 97 ··· 108 108 * `ATFILE_DEVEL_DIST_USERNAME` <em>&lt;string&gt;</em><br />_(Todo)_. During runtime, this is set to `$did` in `atfile.sh` (see **๐Ÿ—๏ธ Building โž” Meta**). Ideally, you should not set this variable as updates in the built version will not be fetched from the correct place 109 109 * `ATFILE_DEVEL_DIST_PASSWORD` <em>&lt;string&gt;</em><br />_(Todo)_ 110 110 * `ATFILE_DEVEL_ENABLE_PIPING` <em>&lt;int&gt; (default: `0`)</em><br />Allow piping (useful to test installation) _(e.g. `cat ./atfile.sh | bash`)_ 111 - * `ATFILE_DEVEL_ENABLE_PUBLISH` <em>&lt;int&gt; (default: `0`)</em><br />Publish build to ATProto repository (to allow for updating) as the last step when running `build`. Several requirements must be fulfilled: 111 + * `ATFILE_DEVEL_ENABLE_PUBLISH` <em>&lt;int&gt; (default: `0`)</em><br />Publish build to Atproto repository (to allow for updating) as the last step when running `build`. Several requirements must be fulfilled: 112 112 * `ATFILE_DEVEL_DIST_USERNAME` must be set 113 113 * `ATFILE_DEVEL_DIST_PASSWORD` must be set 114 114 * No tests should return an **Error** (**Warning** is acceptable) ··· 134 134 135 135 ## โŒจ๏ธ Contributing 136 136 137 - Development takes place on [Tangled (@zio.sh/atfile)](https://tangled.sh/@zio.sh/atfile), with [GitHub (ziodotsh/atfile)](https://github.com/ziodotsh/atfile) acting as a mirror. Use Tangled for your contributions, for both <a href="https://tangled.org/@zio.sh/atfile/issues">Issues</a> and <a href="https://tangled.org/@zio.sh/atfile/pulls">Pulls</a>. As Tangled is powered by ATProto, you already have an account (unsure? Try <a href="https://tangled.org/login">logging in with your Bluesky handle</a>). 137 + Development takes place on [Tangled (@zio.sh/atfile)](https://tangled.sh/@zio.sh/atfile), with [GitHub (ziodotsh/atfile)](https://github.com/ziodotsh/atfile) acting as a mirror. Use Tangled for your contributions, for both <a href="https://tangled.org/@zio.sh/atfile/issues">Issues</a> and <a href="https://tangled.org/@zio.sh/atfile/pulls">Pulls</a>. As Tangled is powered by Atproto, you already have an account (unsure? Try <a href="https://tangled.org/login">logging in with your Bluesky handle</a>). 138 138 139 139 When submitting Pulls, **target the `dev` branch**: `main` is the current stable production version, and Pulls will be rejected targeting this branch. 140 140
+1 -1
atfile.sh
··· 12 12 # 13 13 # Unless you're wanting to tinker, its recommended you install a stable version 14 14 # of ATFile: see README for more. Using a development version against your 15 - # ATProto account could potentially inadvertently damage records. 15 + # Atproto account could potentially inadvertently damage records. 16 16 # 17 17 # Just as a published build, ATFile can be used entirely via this file. The 18 18 # below code automatically sources everything for you, and your config (if
+3 -3
src/commands/help.sh
··· 22 22 usage_commands="Commands 23 23 upload <file> [<key>] 24 24 Upload new file to the PDS 25 - โš ๏ธ ATProto records are public: do not upload sensitive files\n 25 + โš ๏ธ Atproto records are public: do not upload sensitive files\n 26 26 list [<cursor>] [<actor>] 27 27 list <actor> [<cursor>] 28 28 List all uploaded files. Only $_max_list items can be displayed; to ··· 183 183 usage="ATFile" 184 184 [[ $_os != "haiku" ]] && usage+=" | ๐Ÿ“ฆ โž” ๐Ÿฆ‹" 185 185 186 - usage+="\n Store and retrieve files on the ATmosphere\n 186 + usage+="\n Store and retrieve files on the Atmosphere\n 187 187 Version $_version 188 188 (c) $_meta_year $_meta_author <$_meta_repo> 189 189 Licensed as MIT License โœจ\n 190 - ๐Ÿฆ‹ Follow @$handle on the ATmosphere 190 + ๐Ÿฆ‹ Follow @$handle on the Atmosphere 191 191 โ†ณ $_endpoint_social_app_name: $_endpoint_social_app/profile/$handle 192 192 โ†ณ Tangled: https://tangled.sh/@$handle 193 193