Skip to content

puppygirlhornypost/icescripts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 

Repository files navigation

icescripts

scripts for iceshrimp.NET

installation

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.

why

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.

why perl

someone said it was hideous that i was rawdogging curl for my instance, so i wrote these perl scripts to be more professional. :)

TODO

invocation

  • 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.

scripts

  • 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.

About

scripts for iceshrimp.NET

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages