A simple and efficient URL shortening service built with Go. This application allows users to convert long URLs into shorter, more manageable links.
- Convert long URLs to short URLs
- Copy shortened URLs to clipboard with one click
- Clean and responsive user interface
- Fast and lightweight implementation
- Go 1.23 or higher
- SQLite3
- Clone the repository
git clone https://github.com/brkcnr/url-shortener.git
- Install dependencies
go mod tidy
- Run the application
go run cmd/server/main.go
The server will start at `http://localhost:8080`
- Open your web browser and navigate to
http://localhost:8080
- Enter the long URL you want to shorten in the input field
- Click "Shorten" button
- Copy the shortened URL using the "Copy to clipboard" button
- Fork the repository
- Create your feature branch (
git checkout -b feature/amazing-feature
) - Commit your changes (
git commit -m 'Add some amazing feature'
) - Push to your branch (
git push
) - Open a Pull Request