home to your local SPACEGIRL 💫 https://arimelody.space
Find a file
ari melody 65f277b3f2
All checks were successful
/ deploy (push) Successful in 30s
tweak for new CI
2025-10-22 02:38:10 +01:00
.forgejo/workflows tweak for new CI 2025-10-22 02:38:10 +01:00
admin fix core admin css and js not rendering for unauthorised users 2025-10-21 23:48:36 +01:00
api refactor errors.New to fmt.Errorf 2025-09-30 22:30:52 +01:00
colour MORE REFACTORING!! + some improvements 2024-08-31 01:52:35 +01:00
controller add artists/tracks pages; more components; css cleanup 2025-10-21 18:39:38 +01:00
cursor fix indentation (tabs to 4 spaces) (oops) 2025-04-29 23:25:32 +01:00
discord fix indentation (tabs to 4 spaces) (oops) 2025-04-29 23:25:32 +01:00
log fix indentation (tabs to 4 spaces) (oops) 2025-04-29 23:25:32 +01:00
model add artists/tracks pages; more components; css cleanup 2025-10-21 18:39:38 +01:00
public rollback: go:embed for static files 2025-10-21 23:37:31 +01:00
res full release edit capabilities oh my goodness gracious 2024-08-31 01:52:40 +01:00
templates embed html template and static files 2025-09-30 19:03:35 +01:00
view rollback: go:embed for static files 2025-10-21 23:37:31 +01:00
.air.toml admin dashboard early UI refresh 2025-10-19 05:01:55 +01:00
.dockerignore merged main, dev, and i guess got accounts working?? 2025-01-20 15:08:01 +00:00
.editorconfig and she never dealt with indentation issues ever again 2025-04-29 23:42:08 +01:00
.gitattributes updated schema to support album tracks 2024-08-31 01:52:27 +01:00
.gitignore random scripts are silly. MAKEFILES are where it's at 2025-03-14 20:47:58 +00:00
docker-compose.example.yml complete arimelody.space migration! 🎉 2025-08-22 01:06:37 +01:00
Dockerfile this is immensely broken but i swear i'll fix it later 2025-01-20 10:34:49 +00:00
go.mod lol cursor is multiplayer now 2025-03-14 20:42:44 +00:00
go.sum lol cursor is multiplayer now 2025-03-14 20:42:44 +00:00
LICENSE.md add license (MIT) 2025-01-27 18:30:50 +00:00
main.go embed html template and static files 2025-09-30 19:03:35 +01:00
Makefile i am not going to the .DS_Store 2025-10-21 23:52:46 +01:00
README.md complete arimelody.space migration! 🎉 2025-08-22 01:06:37 +01:00

ari melody website

home to your local SPACEGIRL! 💫


a slightly-overcomplicated webserver built to show off everything i've worked on, and then some! this server comes complete with twitch live status tracking, a portfolio database, and a full-fledged admin CMS panel to manage it all!

build

  • git clone this repo, and cd into it.
  • go build -o arimelody-web .

running

the server should be run once to generate a default config.toml file. configure as needed. a valid DB connection is required to run this website. if no admin users exist, an invite code will be provided. invite codes are the only way to create admin accounts at this time.

the configuration may be overridden using environment variables in the format ARIMELODY_<SECTION_NAME>_<KEY_NAME>. for example, db.host in the config may be overridden with ARIMELODY_DB_HOST.

the location of the configuration file can also be overridden with ARIMELODY_CONFIG.

command arguments

by default, arimelody-web will spin up a web server as usual. instead, arguments may be supplied to run administrative actions. the web server doesn't need to be up for this, making this ideal for some offline maintenance.

  • createTOTP <username> <name>: Creates a timed one-time passcode method.
  • listTOTP <username>: Lists an account's TOTP methods.
  • deleteTOTP <username> <name>: Deletes an account's TOTP method.
  • testTOTP <username> <name>: Generates the code for an account's TOTP method.
  • cleanTOTP: Cleans up unconfirmed (dangling) TOTP methods.
  • createInvite: Creates an invite code to register new accounts.
  • purgeInvites: Deletes all available invite codes.
  • listAccounts: Lists all active accounts.
  • deleteAccount <username>: Deletes an account with a given username.
  • lockAccount <username>: Locks the account under username.
  • unlockAccount <username>: Unlocks the account under username.
  • logs: Shows system logs.