longurl is a self-hosted short url service.

Overview

longurl

deploy Go Reference

Introduction

longurl is a self-hosted short url service.

Try It Out

curl -H "Content-Type:application/json" -X POST --data '{"url": "https://github.com/long2ice/longurl"}' https://longurl.long2ice.io

Return like this:

{
  "url": "https://longurl.long2ice.io/3FXrsHE"
}

Now Visit https://longurl.long2ice.io/3FXrsHE.

Deploy

First write a config.yaml.

server:
  host: 0.0.0.0
  port: 3000
  logTimezone: Asia/Shanghai
  logTimeFormat: 2006-01-02 15:04:05.000000
url:
  domain: localhost:3000
  schema: http
  length: 7
database:
  type: mysql
  dsn: root:[email protected](127.0.0.1:3306)/longurl?parseTime=true

Then run with docker.

docker run -d -p 3000:3000 --name longurl -v config.yaml:/config.yaml ghcr.io/long2ice/longurl/longurl

Credits

  • Fiber, Express inspired web framework written in Go.
  • Ent, An entity framework for Go.
  • Sonyflake, A distributed unique ID generator inspired by Twitter's Snowflake.

License

This project is licensed under the Apache-2.0 License.

This is a simple URL shortner Go Lang client that uses the short.io

Opinionated URL Shortner Client This is a simple URL shortner Go Lang client that uses the short.io TL;DR One liner (for my use case) ./short.io -key

karan singh 0 Feb 11, 2022
Short url backend - Go musthave shortener tpl

go-musthave-shortener-tpl Шаблон репозитория для практического трека «Go в веб-р

Dmitriy 0 Feb 15, 2022
Remark42 is a self-hosted, lightweight, and simple comment engine

Remark42 is a self-hosted, lightweight, and simple (yet functional) comment engine, which doesn't spy on users. It can be embedded into blogs, articles or any other place where readers add comments.

Umputun 3.8k Jun 20, 2022
Mouthful is a self-hosted alternative to Disqus.

Mouthful is a lightweight commenting server written in GO and Preact. It's a self hosted alternative

Viktoras 729 Jun 10, 2022
Hammond is a self hosted vehicle management system to track fuel and other expenses related to all of your vehicles.

Hammond is a self hosted vehicle management system to track fuel and other expenses related to all of your vehicles. It supports multiple users sharing multiple vehicles. It is the logical successor to Clarkson which has not been updated for quite some time now.

Akhil Gupta 285 Jun 22, 2022
Self-hosted video-hosting website and video archival manager for Niconico, Bilibili, and Youtube

Self-hosted video-hosting website and video archival manager for Niconico, Bilibili, and Youtube

null 650 Jun 21, 2022
listmonk is a standalone high performance, self-hosted newsletter and mailing list manager with a modern dashboard. Single binary app.

listmonk is a standalone, self-hosted, newsletter and mailing list manager. It is fast, feature-rich, and packed into a single binary. It uses a PostgreSQL database as its data store.

Kailash Nadh 8.2k Jun 22, 2022
Focalboard is an open source, self-hosted alternative to Trello, Notion, and Asana.

Focalboard Like what you see? ?? Give us a GitHub Star! ⭐ Focalboard is an open source, self-hosted alternative to Trello, Notion, and Asana. It helps

Mattermost 11.5k Jun 28, 2022
listmonk is a standalone, self-hosted, newsletter and mailing list manager

listmonk is a standalone, self-hosted, newsletter and mailing list manager. It is fast, feature-rich, and packed into a single binary. It uses a Postg

Super-Smile 11 Mar 16, 2022
🖖🏻 A self-hosted Quora like web application written in Go

Guora ???? A self-hosted Quora like web application written in Go 基于 Golang 类似知乎的私有部署问答应用 包含问答、评论、点赞、管理后台等功能 Quick Start (Docker Deploy) $ docker-comp

meloalright 597 Jun 23, 2022
A self-hosted golang application that listens for Terraform pull request events via webhooks.

Atlantis Terraform Pull Request Automation Resources What is Atlantis? What does it do? Why should you use it? Stargazers over time Resources How to g

null 0 Dec 9, 2021
Short examples of common anti-patterns in Go Web Applications.

Go Web App Anti-Patterns This repository contains short examples of common anti-patterns in Go Web Applications. For complete description, see Common

Three Dots Labs 194 Jun 19, 2022
This product about make link to be short link with golang rest api

This project using golang with go fiber, firebase, and dependency injection

Muhammad Zahidin 1 Oct 13, 2021
Create a short link

Shortlink using a GCP Cloud Run Serverless example Make a Dir: mkdir shortlink && cd shortlink Clone: git clone https://github.com/tonnytg/shortlink.

Antonio Thomacelli Gomes 0 Nov 26, 2021
Url shortner service for golang

url-shortner-service Endpoints added 1.Health endpoint - to check if server is running or not http://localhost:8080/health HTTP method: GET 2.URL shor

Keshab Sahoo 0 Nov 21, 2021
Yandex practicum go url shortener service

go-musthave-shortener-tpl Шаблон репозитория для практического трека «Go в веб-р

Dindon 0 Feb 26, 2022
Cfurlshort - Url Shortener service with golang

Url Shortener This respository contains the code for my url shortener service. D

null 0 Jan 26, 2022
Shortener - URL shortener with golang (Link shortening service)

URL shortener (Сервис сокращения размеров ссылки) Запуск приложения осуществляет

null 0 Feb 1, 2022
GoTrue is a small open-source API written in Golang, that can act as a self-standing API service for handling user registration and authentication for Jamstack projects.

GoTrue is a small open-source API written in Golang, that can act as a self-standing API service for handling user registration and authentication for Jamstack projects.

null 2 Dec 13, 2021