No description
- HTML 62.3%
- Go 37.7%
| assets | ||
| views | ||
| .gitignore | ||
| cleanup.go | ||
| db.go | ||
| go.mod | ||
| go.sum | ||
| LICENSE | ||
| main.go | ||
| README.md | ||
u.arns.lt (utilities)
Various utilities just for fun.
Technical idea
- url shortiner (Trumpink nūruoda)
- convert in/to Abcex
- text uploader/viewer. Support code highlighting
- image uploader/viewer
- QR code generation for shortened URLs, text and image views
Prerequisites
Installation
-
Clone the repository:
git clone https://g.arns.lt/zordsdavini/url_shortiner cd url_shortiner -
Install dependencies:
go mod download
Running the application
To start the web server:
go run main.go db.go
The server will be available at http://localhost:8080 by default.
Database cleanup
The project includes a separate script to clear the database of entries whose original URLs are no longer accessible (e.g., 404, timeouts, or connection errors).
To run the cleanup:
go run cleanup.go
Live
To try live version of this game visit https://u.arns.lt
