Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/AnjanaMadu/LinkShortner
A simple Webapp + API to short long links. Written in Go Lang and SQL.
https://github.com/AnjanaMadu/LinkShortner
Last synced: about 1 month ago
JSON representation
A simple Webapp + API to short long links. Written in Go Lang and SQL.
- Host: GitHub
- URL: https://github.com/AnjanaMadu/LinkShortner
- Owner: AnjanaMadu
- License: gpl-3.0
- Created: 2022-02-19T13:15:59.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2023-03-06T23:28:14.000Z (almost 2 years ago)
- Last Synced: 2024-08-04T09:01:20.936Z (5 months ago)
- Language: Go
- Homepage:
- Size: 43 KB
- Stars: 20
- Watchers: 1
- Forks: 6
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Link Shortner
A simple Webapp + API to short long links. Written in Go Lang and SQL.
## Features
- Web UI
- API for Devs
- Admin Panel
- Using SQL## Installation
Install Link Shortnet
- Install [go 1.17](https://go.dev/doc/install) (latest)
- Clone repo
- `go run main.go`
- Edit "passwd.txt" with a strong password. It will admin login password## Screenshots
![App Screenshot](https://telegra.ph/file/059c3e361f1c8fa0bc9fd.png)
![App Screenshot](https://telegra.ph/file/38aed6b5a23ce07fc97a0.png)
## API Reference
#### Short a Long Link
```http
POST /api
```| Parameter | Type | Description |
| :-------- | :------- | :------------------------------- |
| `key` | `string` | **Required**. Unique key for URL |
| `url` | `string` | **Required**. Long URL |## License
[GPL v3](https://www.gnu.org/licenses/gpl-3.0.en.html)