backend & frontend for char.lt
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
Charlotte Som 104b23c7f7 get rid of width constraint on hero-image 2 weeks ago
migrations initial commit :) 2 weeks ago
src Oops! migrate signature parity 2 weeks ago
static get rid of width constraint on hero-image 2 weeks ago
.editorconfig initial commit :) 2 weeks ago
.gitignore initial commit :) 2 weeks ago
Cargo.lock initial commit :) 2 weeks ago
Cargo.toml initial commit :) 2 weeks ago
README.md We have to run migrations before we can build 2 weeks ago
build.rs initial commit :) 2 weeks ago

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 _)

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