···77 <em>Written entirely in Bash Shell. No <span title="Deno is pretty cool tho">NodeJS</span> here!</em>
88</p>
991010-<p align="center">
1111- <strong>
1212- <a href="https://github.com/ziodotsh/atfile/releases/latest">โฌ๏ธ Get ATFile</a> |
1313- <a href="https://tangled.sh/@zio.sh/atfile/issues/new">๐ฃ Submit Issue</a> |
1414- <a href="https://bsky.app/profile/did:web:zio.sh"> ๐ฆ @zio.sh</a>
1515- </strong>
1616-</p>
1717-1810<hr />
19112012## โจ Quick Start
21132214```sh
2315curl -sSL https://zio.sh/atfile/install.sh | bash
2424-echo 'ATFILE_USERNAME="<your-atproto-username>"' > ~/.config/atfile.env # e.g. alice.bsky.social, did:plc:vdjlpwlhbnug4fnjodwr3vzh, did:web:twitter.com
1616+echo 'ATFILE_USERNAME="<your-atproto-username>"' > ~/.config/atfile.env # e.g. alice.bsky.social, did:plc:vdjlpwlhbnug4fnjodwr3vzh, did:web:twitter.com
2517echo 'ATFILE_PASSWORD="<your-atproto-password>"' >> ~/.config/atfile.env
2618atfile help
2719```
28202929-## ๐ Using
2121+## ๐ Detailed Usage
30223123### โ Requirements
3224···5951 * To change this on Bluesky PDS, set `PDS_BLOB_UPLOAD_LIMIT=<bytes>`
6052 * If the PDS is running behind Cloudflare, the Free plan imposes a 100MB upload limit
6153 * This tool, nor setting a higher filesize limit, **does not workaround [video upload limits on Bluesky](https://bsky.social/about/blog/09-11-2024-video).** Videos are served via a [CDN](https://video.bsky.app), and adding larger videos to post records yields errors
5454+5555+### โฌ๏ธ Downloading & Installing
5656+5757+There are three ways of installing ATFile. Either:
62586363-### ๐ค _(Todo)_
5959+#### Automatic ("`curl|bash`")
6060+6161+```
6262+curl -sSL https://zio.sh/atfile/install.sh | bash
6363+```
6464+6565+This will automatically fetch the latest version of ATFile and install it in an appropriate location, as well as creating a blank configuration file. Once downloaded and installed, the locations used will be output. They are as follows:
6666+6767+* **Linux/Windows/BSD/Solaris**
6868+ * Install: `$HOME/.local/bin/atfile`
6969+ * As `sudo`/`root`: `/usr/local/bin/atfile`
7070+ * Config: `$HOME/.config/atfile.env`
7171+ * As `root` (not `sudo`): `/root/.config/atfile.env`
7272+* **macOS**
7373+ * Install: `$HOME/.local/bin/atfile`
7474+ * As `sudo`/`root`: `/usr/local/bin/atfile`
7575+ * Config: `$HOME/Library/Application Support/atfile.env`
7676+ * As `root` (not `sudo`): `/root/.config/atfile.env`
7777+* **Haiku**
7878+ * Install: `/boot/system/non-packaged/bin/atfile`
7979+ * Config: `$HOME/config/settings/atfile.env`
8080+ * `$HOME` is **always** `/home` on Haiku
8181+8282+If `$XDG_CONFIG_HOME` is set, this will overwrite the config directory (e.g. setting `XDG_CONFIG_HOME=$HOME/.local/share/atfile` will result in the config being stored at `$HOME/.local/share/atfile/atfile.env`).
8383+8484+Custom config paths are supported, but set after-the-fact — see **Manually** below.
8585+8686+#### Manually
8787+8888+To install manually, see [tags on @zio.sh/atfile](https://tangled.sh/@zio.sh/atfile/tags), and download the required version under **Artifacts**. This can be stored and run from anywhere (and is identical to the version `curl|bash` fetched — this installed version can also be moved to custom locations at whim).
8989+9090+Don't forget to mark as executable with `chmod +x atfile.sh`. It's also a good idea to remove the version from the filename, as ATFile can update itself (with `atfile update`) and will overwrite the file (this functionality can be disabled with `ATFILE_DISABLE_UPDATER=1`).
9191+9292+Config locations are identical to those above (see **Automatic ("`curl|bash`")** above). To use a custom path, set `$ATFILE_PATH_CONF`. Variables can also be used (and overridden) with exports — see **`atfile help` โ Environment Variables** for more.
9393+9494+#### Repository
9595+9696+If you've pulled this repository, you can also use ATFile by simply calling `./atfile.sh` — it functions just as a regular compiled version of ATFile, including reading from the same config file. Debug messages are turned on by default: disable these by setting `ATFILE_DEBUG=0`.
9797+9898+**Using a development version against your ATProto account could potentially inadvertently damage records.**
64996565-_(Todo)_
100100+### Using
101101+102102+See `atfile help`.
6610367104## ๐๏ธ Building
6810569106_(Todo)_
7070-7171----
7210773108## โจ๏ธ Contributing
74109