scripts for iceshrimp.NET
you probably need perl at the very minimum. the dependencies are LWP (w/ https support), JSON::MaybeXS, HTTP::Request. if you are running fedora, run
sudo dnf install perl-libwww-perl perl-JSON-XS perl-JSON-MaybeXS
and you should be good to go.
the version of iceshrimp.NET running on https://ice.puppygirl.sale is 2024.1-beta2.security2+72c0db55e3, which does not have these endpoints exposed in the experimental blazor front end. these are a collection of tools to help me create invite tokens, http bearer tokens (generating an invite requires one) and some user tools for changing password and registering an account.
someone said it was hideous that i was rawdogging curl for my instance, so i wrote these perl scripts to be more professional. :)
- support arguments
- implement -i/--interactive to prompt for username, password, bearer, invite
- implement -b/--bearer for bearer token
- implement -u/--username for username
- implement -p/--password for password
- implement -n/--invite for iNvite
- implement -e/--env for loading custom .env files
- support loading from .env, taking arguments as a priority over env.
- figure out if admin or moderator is required for {POST,DELETE} emoji/ endpoints
- implement a script to modify emojis via PATCH.
- implement a script to delete emojis via DELETE.
- implement a script to create emojis via POST.
- implement permission checking via auth endpoint.