Skip to content

ezli.me link shortener service

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT
Notifications You must be signed in to change notification settings

rustunit/ezlime

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

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

 

Packages

No packages published

Languages