Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/abernier/shorty
Dead simple shorturl server
https://github.com/abernier/shorty
docker express
Last synced: 23 days ago
JSON representation
Dead simple shorturl server
- Host: GitHub
- URL: https://github.com/abernier/shorty
- Owner: abernier
- Created: 2023-01-07T23:49:09.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-04-30T10:20:22.000Z (8 months ago)
- Last Synced: 2024-11-29T03:47:47.370Z (about 1 month ago)
- Topics: docker, express
- Language: JavaScript
- Homepage: http://abernier.link
- Size: 99.6 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# shorty
Dead-simple shorturl server. Read more on [this article](http://abernier.link/shorty-domain).
Database[^1] is here: [`urls.csv`](urls.csv) ([edit](https://github.com/abernier/shorty/edit/main/urls.csv))
[^1]: a simple csv file is used as "database". To add a record, just edit the file, and the server will re-deploy.
## Deploy
An instance is running as a [Cloud Run service](https://console.cloud.google.com/run?project=shorty-374613).
A [Cloud Build trigger](https://console.cloud.google.com/cloud-build/builds;region=global?query=trigger_id%3D%22ea039ede-69ce-47cf-b164-8a497e9c9628%22&project=shorty-374613) is configured to re-build and re-deployed when pushing on `main` branch.