Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/farhaanbukhsh/shorty
A URL link shortner for the masses
https://github.com/farhaanbukhsh/shorty
golang golang-application golang-library url
Last synced: 14 days ago
JSON representation
A URL link shortner for the masses
- Host: GitHub
- URL: https://github.com/farhaanbukhsh/shorty
- Owner: farhaanbukhsh
- Created: 2020-08-05T08:34:54.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-08-08T13:03:06.000Z (over 4 years ago)
- Last Synced: 2024-06-20T01:57:38.165Z (5 months ago)
- Topics: golang, golang-application, golang-library, url
- Language: Go
- Homepage:
- Size: 14.6 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Shorty
![Go](https://github.com/farhaanbukhsh/shorty/workflows/Go/badge.svg?branch=master)
URL shortner for the masses. This is the most basic URL shortner written, which probably shouldn't be used in production but can be run for your small server at your `localhost`.
## Usage
``
go get github.com/farhaanbukhsh/shorty
``If `GOPATH` is set properly and added to `PATH`, we should have a utility called `shorty` in the path.
By default it uses `sqlite` as the database.
This is still a work in progress.
## Config
``
{
"hostname": "http://localhost:8080/",
"database": "shorty.db",
"port": ":8080"
}
``This is a config demo file that can be injected to modify the parameters.
*P.S*: Will be updating this repo with more information and features