github-auth3
curldrop
github-auth3 | curldrop | |
---|---|---|
1 | 2 | |
12 | 145 | |
- | - | |
0.0 | 0.0 | |
over 1 year ago | about 3 years ago | |
Go | Python | |
- | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
github-auth3
-
X0.at: upload files from cURL (free)
This is incompatible with using curl as your client, but one “hacker-friendly way to do auth” is to use Github’s public SSH keys API.
You can stand up an (SCP/SFTP-subprotocol-only) SSH server, and then configure it to call[1] a check on GitHub’s API to map the user’s SSH key to a GitHub username.
From there, you can do whatever you like to continue the auth process: let any GitHub user in; only let GitHub users in from a specific GitHub org; keep an LDAP directory of GitHub usernames such that you can attach metadata to them like “is banned” or “has used up their upload credits for the day” or “is on plan tier X”; etc.
Then, set up automatic local user instantiation per remote user; populate /etc/skel with just the right set of limited files to allow the user to upload into one “spool” directory; and then have an inotify-like daemon that watches for files to be closed in that directory and handles them from there (e.g. uploading them to an S3 bucket, etc.)
[1] As it happens, I wrote an OpenSSHD plugin for exactly this: https://github.com/tsutsu/github-auth3
curldrop
-
X0.at: upload files from cURL (free)
Another self-hosted script (Python) that aims for easy integration with curl
https://github.com/kennell/curldrop
- Curldrop – a curl counterpart for file uploads
What are some alternatives?
0x0 - No-bullshit file hosting and URL shortening service. Mirror of https://git.0x0.st/mia/0x0
opensea-automatic-bulk-upload-and-sale - A Selenium Python bot to automatically and bulk upload/ mint and list your NFTs on OpenSea. All metadata compatible, Ethereum and Polygon blockchains supported, reCAPTCHA solvers included.
share - Simple file sharing from the browser and the command-line.
garmin-uploader - Garmin Connect Python Uploader
PictShare - :camera: PictShare is an open source image, mp4, pastebin hosting service with a simple resizing and upload API that you can host yourself. :rice_scene: