neocitiesfs.pl
q: Help! I can't access the directory that I mounted to but killed the script??
a: $ umount /path/to/mounted/dir
I could probably do something about that..... Note that umount(8) OR fusermount(1) with -u
is the way to go for unmounting Fuse filesystems. Hmm, I should program this thing to 'go into' the background and let you retain control of your terminal. TODO (patches welcome)
q: How do I add multiple accounts?
a: Pay neocities $5 and use WebDav instead of this
q: Why Perl?
a: I only know how to program in Perl.
q: Can't I just use a program that uses the API without mounting?
a: Yes
q: Isn't this spamming neocities with API calls?
a: No? For example, rmdir(1) simply destroy's the entire directory tree when before one would have to rm -rf /dir
which did the following:
Reading a file is as simple as $ curl https://username.neocities.org/index.html
, is that abusing API call?
Also list fetching only happens when something happens 'on disk' like writing or removing or renaming
q: wait renaming? I didn't know neocities allowed one to rename files via /api/
a: Yes a secret feature for source code enjoyers: here (link to github 🤢)
q: fuse: bad error value: 34
?
a: Not sure, yet. Doesn't prevent successful saving though so idk what that's about.
q: Won't this BOOST your update statistics?
a: If you're the kind of person who saves after every single sentence like me to see what it looks like on Neocities... Then yeah.