···11<h1 align="center">
22- ATFile
22+ Atfile
33</h1>
4455<p align="center">
···56565757### โฌ๏ธ Downloading & Installing
58585959-There are three ways of installing ATFile. Either:
5959+There are three ways of installing Atfile. Either:
60606161#### Automatic ("`curl|bash`")
6262···6464curl -sSL https://zio.sh/atfile.sh | bash
6565```
66666767-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:
6767+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:
68686969* __Linux/*BSD/Solaris/SerenityOS__
7070 * Install: `$HOME/.local/bin/atfile`
···81818282#### Manually
83838484-See [tags on @zio.sh/atfile](https://tangled.org/@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. Consider renaming to `atfile.sh` (as ATFile can update itself, making a fixed version in the filename nonsensical), and mark as executable (with `chmod +x atfile.sh`).
8484+See [tags on @zio.sh/atfile](https://tangled.org/@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. Consider renaming to `atfile.sh` (as Atfile can update itself, making a fixed version in the filename nonsensical), and mark as executable (with `chmod +x atfile.sh`).
85858686Config locations are identical to those above (see **Automatic ("`curl|bash`")** above).
87878888#### Repository
89899090-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`.
9090+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`.
91919292Config locations are identical to those above (see **Automatic ("`curl|bash`")** above).
9393···141141## ๐ค Acknowledgements
142142143143* **Paul Frazee** — [๐ฆ @pfrazee.com](https://bsky.app/profile/did:plc:ragtjsm2j2vknwkz3zp4oxrd)<br /><a href="https://bsky.app/profile/did:plc:ragtjsm2j2vknwkz3zp4oxrd/post/3l63zzvthqj2o">His kind words</a>
144144-* **Laurens Hof** — [๐ฆ @laurenshof.online](https://bsky.app/profile/did:plc:mdjhvva6vlrswsj26cftjttd)<br />Featuring ATFile on [The Fediverse Report](https://fediversereport.com): _["Last Week in the ATmosphere โ Oct 2024 week 4"](https://fediversereport.com/last-week-in-the-atmosphere-oct-2024-week-4/)_
144144+* **Laurens Hof** — [๐ฆ @laurenshof.online](https://bsky.app/profile/did:plc:mdjhvva6vlrswsj26cftjttd)<br />Featuring Atfile on [The Fediverse Report](https://fediversereport.com): _["Last Week in the ATmosphere โ Oct 2024 week 4"](https://fediversereport.com/last-week-in-the-atmosphere-oct-2024-week-4/)_
145145* All contributors on [Tangled](https://tangled.org/@zio.sh/atfile/pulls) and [GitHub](https://github.com/ziodotsh/atfile/pulls)
146146* _(Forgot about you? [You know what to do](https://tangled.sh/@zio.sh/atfile/pulls/new))_
147147
+9-9
atfile.sh
···11#!/usr/bin/env bash
2233-# _ _____ _____ _ _
44-# / \|_ _| ___(_| | ___
55-# / _ \ | | | |_ | | |/ _ \
66-# / ___ \| | | _| | | | __/
77-# /_/ \_|_| |_| |_|_|\___|
33+# _ _ __ _ _
44+# / \ | |_ / _(_) | ___
55+# / _ \| __| |_| | |/ _ \
66+# / ___ \ |_| _| | | __/
77+# /_/ \_\__|_| |_|_|\___|
88#
99# -------------------------------------------------------------------------------
1010#
1111-# Welcome to ATFile's crazy Bash codebase!
1111+# Welcome to Atfile's crazy Bash codebase!
1212#
1313# Unless you're wanting to tinker, its recommended you install a stable version
1414-# of ATFile: see README for more. Using a development version against your
1414+# of Atfile: see README for more. Using a development version against your
1515# Atproto account could potentially inadvertently damage records.
1616#
1717-# Just as a published build, ATFile can be used entirely via this file. The
1717+# Just as a published build, Atfile can be used entirely via this file. The
1818# below code automatically sources everything for you, and your config (if
1919# it exists) is utilized as normal. Try running `./atfile.sh help`. To turn
2020# debug messages off, set ATFILE_DEBUG to '0'.
2121#
2222-# To produce a single-file build of ATFile, run `./atfile.sh build`: the
2222+# To produce a single-file build of Atfile, run `./atfile.sh build`: the
2323# resulting file will be created at './bin/atfile-$version.sh'.
2424# See README.md โ '๐๏ธ Building' for more details.
2525#
+1-1
examples/example.sh
···33_atfile_path="$(dirname "$(realpath "$0")")/../atfile.sh"
4455if [[ ! -f "$_atfile_path" ]]; then
66- echo -e "\033[1;31mError: ATFile not found (download: https://zio.sh/atfile)\033[0m"
66+ echo -e "\033[1;31mError: Atfile not found (download: https://zio.sh/atfile)\033[0m"
77 exit 0
88fi
99
···194194}"
195195}
196196197197-# NOTE: Never intended to be used from ATFile. Here for reference
197197+# NOTE: Never intended to be used from Atfile. Here for reference
198198function blue.zio.atfile.finger__browser() {
199199 url="$1"
200200 userAgent="$2"