Skip to content

a basic url shortener (and my attempt at golang)

Notifications You must be signed in to change notification settings

oleggtro/shawty

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Shawty

a basic url shortener

Usage

Server

Shawty needs a running postgres instance to work. You could either download and run the docker image from ghcr or use the provided docker-compose config

⚠️ Note: Do NOT run the server without a reverse proxy in front of it.
Additionally: I cannot give any guarantees regarding the security of this project. Run at your own risk.

CLI

Download the precompiled binary off of the releases section (or build it yourself), login and have fun.

Utility Script

This script should only be needed for development. Its only dependency is gum.
The script will help you sticking to conventions, building images and stuff (look it up if you want to know what it exactly does. Thats what you should do before running sth off the internet anyways). Running it is super simple: Just invoke ./util.sh without any arguments. Navigation should be pretty self explanatory.

About

a basic url shortener (and my attempt at golang)

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages