Exploit GitHub as infinite storage
Here's how to use GitHub as your personal storage because why the hell not?
wtf is this?
This thing lets you use GitHub as a storage drive because apparently. It's got FTP frontend and you can mount it with rclone and use as just another folder in your filesystem.
Features
- FTP Frontend because I'm too lazy to build a proper UI
- Rclone mountable for all file operations (yes, it actually works)
Tested on
- Linux (works fine)
- MacOS (somehow works)
- Windows - is Gay. I don't have Windows and I'm not touching that mess. Don't even ask for support.
GitHub Repository
https://github.com/GrandpaNutz/fafda
Why there's no readme on GitHub?
Look, I don't trust GitHub. They can nuke my account any second and I'm too paranoid to put actual documentation there. So you get updates here. Deal
with it.
Setup (try to keep up)
- Grab the binary from release page
- Get the config_example.yaml from repo main page (it's literally right there)
- Create GitHub account - FOR THE LOVE OF GOD USE A VPN IF YOU'RE PLANNING TO MAKE THIS PUBLIC. People upload sketchy stuff and police WILL come looking for YOU. Don't be stooopid.
- Create GitHub token (if you don't know how, Google exists)
- Make a private repo (seriously, so other falks don't come looking for your files, fafda does not support encryption yet)
- Create few releases (figure it out)
- Run this to get release data for config:
./fafda --list-releases token
If it doesn't work, you messed up something above. - Copy-paste that release data into config_example.yaml because I'm too tired to automate this
- Rename config_example.yaml to config.yaml
- Start this monstrosity:
./fafda
(if something not working for you and opening issue run it as./fafda --debug
) - Use whatever FTP client you want (I tested with FileZilla) or mount it with rclone
- Rclone command to mount
rclone mount -v --allow-other --vfs-cache-mode=writes --vfs-cache-max-age=10s fafda: ./GitHubDrive
- that's it. if something breaks try restart. not gonna provide support for windows users cause don't have windows
Dear GitHub staff, if you're reading this: before you hit that ban button on my repo like you did with ytdl (on fake dmca lmao) and those switch emulator repos, remember - at least I'm honest about abusing your storage and not pretending it's "for educational purposes only" xoxo