https://github.com/4rkal/shortr
Blazingly fast URL shortener written in go
https://github.com/4rkal/shortr
golang hacktoberfest templ url-shortener
Last synced: about 1 year ago
JSON representation
Blazingly fast URL shortener written in go
- Host: GitHub
- URL: https://github.com/4rkal/shortr
- Owner: 4rkal
- Created: 2024-09-11T14:55:59.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-12-23T14:46:16.000Z (over 1 year ago)
- Last Synced: 2025-04-14T12:14:47.449Z (about 1 year ago)
- Topics: golang, hacktoberfest, templ, url-shortener
- Language: templ
- Homepage: https://app.4rkal.com
- Size: 24.4 KB
- Stars: 5
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# shortr
***Blazingly fast*** url shortener, written in go
## Installation
The first step is cloning this repo:
```shell
git clone https://github.com/4rkal/shortr && cd shortr
```
Edit the `docker-compose.yml` and set a base url:
command: ["/shortr", "--url", "YOUR_URL"]
Change the `YOUR_URL`, to the url where your app served from (eg app.4rkal.com)
Now you can run the application via docker.
### Using docker
Assuming that you have docker compose installed simply run
```
docker compose up
```
Now the application should be available by visiting `localhost:8080`