Yasuser
Yet another self-hosted URL shortener.
Short or Restore your URL, like https://git.io/ or https://goo.gl/
but under YOUR control.
Run
docker run --name yasuser -dti \
-p 8080:8084 \
-e YASUSER_SHORTENER_STORE_DBPATH=/data/yasuser.db \
-e YASUSER_SERVER_DOMAIN=your.domain.com \
-v `pwd`:/data \
wrfly/yasuser
Or use the docker-compose.yml.
Usage
# short your URL
➜ ~ curl https://u.kfd.me -d "https://kfd.me"
https://u.kfd.me/1C
➜ ~
# restore it
➜ ~ curl http://u.kfd.me/1C
<a href="https://kfd.me">Found</a>.
Or just visit the web page:
Features
- it works
- blob database
- length and validate
- memory cache
- redis database
- customization
- TTL of URL
- rate limit
- management(auth)
- remove(domain or keywords)
- blacklist(domain or keywords)
- whitelist(domain or keywords)
- statistic
- URL status
- runtime metrics
- UI index