Coder Social home page Coder Social logo

gurl's Introduction

GURL

GURL is a go and redis based url shortener.

Getting started

docker run 

Configuration

Parameter Env config.yaml Default
--port=9000 PORT port: int 9000
--db.addr="" DB_ADDR db.addr: string localhost:6379
--db.database= DB_DATABASE db.database: int 0
--db.password= DB_PASSWORD db.password: string
--page.title= PAGE_TITLE page.title: string GURL - Shortener
--page.lang= PAGE_LANG page.lang: string en
--page.name= PAGE_NAME page.name: string GURL
--page.color PAGE_COLOR page.color: string blue
--page.footer.header= PAGE_FOOTER_HEADER page.footer.header: string
--page.footer.copyyear= PAGE_FOOTER_COPYYEAR page.footer.copyyear: int
--page.footer.copystatement= PAGE_FOOTER_COPYSTATEMENT page.footer.copystatement: string
--page.footer.content= PAGE_FOOTER_CONTENT page.footer.content: string
page.footer.links: Array<Link> []
page.footer.morelinks: Array<Link> []

Objects

DB

Key Type Default
Addr string localhost:6379
Database int 0
Password string

Page

Key Type Default
Title string GURL - Shortener
Lang string en
Name string GURL
Color string blue

Footer

Key Type Default
Header string
CopyYear int
CopyStatement string
Content string
Links Array<Link> []
MoreLinks Array<Link> []

Link

Key Type Default
Text string
Target string

gurl's People

Contributors

flweber avatar litvinav avatar dependabot[bot] avatar

Watchers

Kostas Georgiou avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.