Skip to content

About

Grist-based URL shortener

Resources

Code of conduct

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

Grist Shortener

https://github.com/emfcamp/gristshortener

A small URL shortener that uses a Grist table as a source.

Developing

If you're a Nix enjoyer, you should be able to:

$ nix develop
$ python -m gristshortener uvicorn --host 127.0.0.1 -d

# [hack away]
$ treefmt  # reformat everything
$ ty check .
$ ruff check .

$ nix fmt
$ nix flake check

Otherwise, you can probably just get away with uv:

$ uv sync
$ uv run python -m gristshortener uvicorn --host 127.0.0.1 -d

# check formatting/lint
$ uv run ruff check --fix
$ uv run ruff format

# run typechecking
$ uv run ty check

Note that treefmt may yell at you if you edit non-Python files without running nix fmt - see treefmt.nix for the configured autoformatters/linters.

About

Grist-based URL shortener

Resources

Code of conduct

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages