https://github.com/gme-sh/gme.sh-api
long url go brr | Backend
https://github.com/gme-sh/gme.sh-api
backend backend-api backend-services rest-api url-shortener
Last synced: 29 days ago
JSON representation
long url go brr | Backend
- Host: GitHub
- URL: https://github.com/gme-sh/gme.sh-api
- Owner: gme-sh
- License: mit
- Created: 2021-02-13T21:16:55.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2023-06-14T15:07:50.000Z (about 3 years ago)
- Last Synced: 2025-12-19T05:05:16.361Z (6 months ago)
- Topics: backend, backend-api, backend-services, rest-api, url-shortener
- Language: Go
- Homepage: https://gme.sh
- Size: 195 KB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README

[](https://goreportcard.com/report/github.com/gme-sh/gme.sh-api)


# GMEshortener
$GME go brrrrr
> Allan, please add details!
## Run
### Docker
```bash
$ docker build . -t gmesh:latest
$ docker run -it --rm --name gmesh-api -p 80:80 gmesh:latest
```
#### BBolt, non-persistent
```bash
$ docker run -it --rm --name gmesh-api -e "GME_PERSISTENT_BACKEND=bbolt" -p 80:80 gmesh:latest
```
#### BBolt, persistent
```bash
$ docker run -it --rm --name gmesh-api -e "GME_PERSISTENT_BACKEND=bbolt" -v $PWD/data:/data -p 80:80 gmesh:latest
```
### Docker-Compose
Copy `docker-compose-{preferred-option}.yml` and `docker-compose.env` from `docker/`
**Options:**
* redis-mongo
* redis
* scratch
```bash
$ cp docker/docker-compose-redis-mongo.yml ./docker-compose.yml
$ cp docker/docker-compose.env ./
```
Build
```bash
$ docker-compose build
```
Start it
```bash
$ docker-compose up [-d]
```
## Shortcut (iOS)
It is also very easy to shorten URLs via shortcuts on iOS. You can find a ready shortcut version here:
> https://www.icloud.com/shortcuts/8ff6f9987e084ce29b2c37dacba236e8
* Either the shortcut can be opened manually, it will then ask for the long URL, and then the shortened URL will be saved to the clipboard
* or when a URL is shared, "gme.sh" now appears in the share menu