Skip to content

Repository files navigation

ezli.me

Easy-link-me link shortener: ezli.me

Find also an easy to use crate ezlime-rs that allows accessing the api from rust in your own service.

Features

  • Shorten URLs
  • Customizable short URLs
  • Click tracking
  • Privacy-focused

Hosted Service

If you are just interested in using our public API reach out to discuss your project and usage limits and we can provide you with an API key: Join our Discord

Design

It uses a very simple design and focuses on privacy. It does not store access information, no IPs, nothing. The only thing stored is a click counter and when a link was accessed last time.

Dependencies

This service requires only a postgres database for storing links. It does heavy in-memory caching of both url to forward to (DB-read) but also updating click_count & last_use stats to limit DB-write load.

Self hosting

Self hosting should be easy using our Docker image: ghcr.org/rustunit/ezlime

Building

get build working with diesel (on macos)

brew install libpq

follow instructions to add a bunch of envs:

export PATH="/opt/homebrew/opt/libpq/bin:$PATH"
export LDFLAGS="-L/opt/homebrew/opt/libpq/lib"
export CPPFLAGS="-I/opt/homebrew/opt/libpq/include"
export PKG_CONFIG_PATH="/opt/homebrew/opt/libpq/lib/pkgconfig"

License

This project is licensed under either of:

at your option.

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

Links

About

ezli.me link shortener service

Resources

Stars

18 stars

Watchers

2 watching

Forks

Releases

Sponsor this project

Packages

Used by

Contributors

Languages