home to your local SPACEGIRL 💫 https://arimelody.me
Go to file
2024-11-01 19:15:19 +00:00
admin add more detail to credits on /api/v1/artist/{id} 2024-11-01 19:15:19 +00:00
api add more detail to credits on /api/v1/artist/{id} 2024-11-01 19:15:19 +00:00
colour MORE REFACTORING!! + some improvements 2024-08-31 01:52:35 +01:00
discord my god...it's finally done 2024-09-03 08:07:45 +01:00
global my god...it's finally done 2024-09-03 08:07:45 +01:00
music add more detail to credits on /api/v1/artist/{id} 2024-11-01 19:15:19 +00:00
public some quick UI fixes for mobile users 2024-09-03 08:29:30 +01:00
res full release edit capabilities oh my goodness gracious 2024-08-31 01:52:40 +01:00
templates turns out rewriting all of your database code takes a while 2024-09-01 04:43:32 +01:00
views updated music #usage info 2024-09-15 02:13:18 +01:00
.air.toml add more detail to credits on /api/v1/artist/{id} 2024-11-01 19:15:19 +00:00
.dockerignore my god...it's finally done 2024-09-03 08:07:45 +01:00
.gitattributes updated schema to support album tracks 2024-08-31 01:52:27 +01:00
.gitignore add README 2024-09-04 17:18:56 +01:00
docker-compose.yml my god...it's finally done 2024-09-03 08:07:45 +01:00
Dockerfile my god...it's finally done 2024-09-03 08:07:45 +01:00
go.mod my god...it's finally done 2024-09-03 08:07:45 +01:00
go.sum my god...it's finally done 2024-09-03 08:07:45 +01:00
main.go my god...it's finally done 2024-09-03 08:07:45 +01:00
README.md add README 2024-09-04 17:18:56 +01:00
schema.sql turns out rewriting all of your database code takes a while 2024-09-01 04:43:32 +01:00

arimelody.me

home to your local SPACEGIRL! 💫


built up from the initial static branch, this powerful, server-side rendered version comes complete with live updates, powered by a new database and super handy admin panel!

the admin panel currently facilitates live updating of my music discography, though i plan to expand it towards art portfolio and blog posts in the future. if all goes well, i'd like to later separate these components into their own library for others to use in their own sites. exciting stuff!

build

easy! just git clone this repo and go build from the root. arimelody-web(.exe) should be generated.

running

the webserver depends on some environment variables (don't worry about forgetting some; it'll be sure to bug you about them):

  • HTTP_DOMAIN: the domain the webserver will use for generating oauth redirect URIs (default https://arimelody.me)
  • DISCORD_ADMIN1: the user ID of your discord account (discord auth is intended to be temporary, and will be replaced with its own auth system later)
  • DISCORD_CLIENT1: the client ID of your discord OAuth application.
  • DISCORD_SECRET1: the client secret of your discord OAuth application.

the webserver requires a database to run. in this case, postgres.

the docker compose script contains the basic requirements to get you up and running, though it does not currently initialise the schema on first run. you'll need to docker compose exec -it arimelody.me-db-1 to access the database container while it's running, run psql -U arimelody to get a postgres shell, and copy/paste the contents of schema.sql to initialise the database. i'll build an automated initialisation script later ;p


  1. not required, but the admin panel will be disabled if these are not provided. ↩︎