backend & frontend for char.lt
videogame hacker
a48ebede42
I'm de-emphasising they/them since, while it is not *incorrect* to use it for my gender, I don't find the same level of comfort in its use as the other sets of pronouns |
||
---|---|---|
migrations | ||
src | ||
static | ||
.editorconfig | ||
.gitignore | ||
build.rs | ||
Cargo.lock | ||
Cargo.toml | ||
README.md |
char.lt
- website (
static
folder) - filedump (
misc
folder - gitignored) - personal url shortener :)
- random gen prefix with
_
+ mixed-case 5-char alphabetical - custom links: anything goes (randoms take precedence though so maybe dont prefix
_
)
- random gen prefix with
setup
$ touch data.db
$ export DATABASE_URL="sqlite://data.db"
$ sqlx migrate run
$
$ cd static/inter
static/inter $ # download inter.zip from GitHub and extract the contents of 'Inter Web'
static/inter $ cd ../../
$
$ cargo run --release
[...]
Listening at http://127.0.0.1:8000