this is notlong - a new kind of url shortener
Join Community
·
Documentation
i'm building blazingly fast url shortener ever.
-
Shorten URLs: Convert long URLs into short, easy-to-share links.
-
Data Encryption: Encrypt stored URLs to enhance security and protect user data.
-
Custom URL Aliases: Allow users to create custom shortened URLs.
-
Expiration Dates: Enable URLs to expire after a certain date or number of uses.
-
QR Code Generation: Automatically generate QR codes for each shortened URL.
-
API Access: Provide a minimal RESTful API for programmatic access to the URL shortener.
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.
i have no idea. but you can still donate and support project. look below.
- Bitcoin: bc1qpylxaqwapk0tgdmpnnljj545z4lk2z9q5us6p6
- Ethereum: 0xb4a8e71d82e8Bf84a02C7770585F9cD8b267aDB9
- Solana: 4MpPHapcdb5MwRy57juUQ2wUt1EJo8BYqXsYKwSfCvz1
You can also find them here on my official website (scroll a little down)
You can just Contribute. Kindly check the CONTRIBUTING.md
Join the community on Discord
Put a star ⭐️
Logo made by Ibrohim Abdivokhidov (@abdibrokhim). Follow him on LinkedIn and/ or X (twitter)