Skip to content

abdibrokhim/notlong

Repository files navigation

notlong

GitHub issues License GitHub stars

this is notlong - a new kind of url shortener

Join Community · Documentation

About The Project

i'm building blazingly fast url shortener ever.

Built With

Features

  1. Shorten URLs: Convert long URLs into short, easy-to-share links.

  2. Data Encryption: Encrypt stored URLs to enhance security and protect user data.

Roadmap

  1. Custom URL Aliases: Allow users to create custom shortened URLs.

  2. Expiration Dates: Enable URLs to expire after a certain date or number of uses.

  3. QR Code Generation: Automatically generate QR codes for each shortened URL.

  4. API Access: Provide a minimal RESTful API for programmatic access to the URL shortener.

Run Locally

Clone the repository:

git clone https://github.com/abdibrokhim/notlong.git

Install the dependencies with:

cargo install

Copy the .env.example file to .env:

cp .env.example .env

Replace with your stuff:

DATABASE_URL=postgresql://...:...@.../...?sslmode=require
CRYPTO_KEY=...

Generate a secure random key (you can use openssl command line):

openssl rand -hex 32

Run the development server with:

cargo shuttle run

Send request here: http://localhost:8080. You may try to run the tests with. But there's no tests yet, lol. Anyway refer to tests.md for examples of how to test the endpoints.

Future Plans

i have no idea. but you can still donate and support project. look below.

Donate & Support

Crypto

  • Bitcoin: bc1qpylxaqwapk0tgdmpnnljj545z4lk2z9q5us6p6
  • Ethereum: 0xb4a8e71d82e8Bf84a02C7770585F9cD8b267aDB9
  • Solana: 4MpPHapcdb5MwRy57juUQ2wUt1EJo8BYqXsYKwSfCvz1

You can also find them here on my official website (scroll a little down)

Contributing

You can just Contribute. Kindly check the CONTRIBUTING.md

Community

Join the community on Discord

Star History

Star History Chart

Put a star ⭐️

Credits

Logo made by Ibrohim Abdivokhidov (@abdibrokhim). Follow him on LinkedIn and/ or X (twitter)

About

blazingly fast url shortener ever

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages