• Stars
    star
    199
  • Rank 195,049 (Top 4 %)
  • Language
    Go
  • Created almost 5 years ago
  • Updated over 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

短链小工具

短域名服务

一个简单的短域名生成跳转服务

演示

演示地址: https://r.nsini.com

该演示平台部署在 开普勒云平台上,若您有兴趣可能访问

安装说明

平台后端基于go-kit、前端基于ant-design框架进行开发。

后端所使用到的依赖全部都在go.mod里,前端的依赖在package.json,详情的请看yarn.lock,感谢开源社区的贡献。

前端: https://github.com/icowan/shorter-view

安装教程

该服务支持多种方式启动

  • docker-compose: $ cd install/docker-compose/ && docker-compose up
  • kubernetes: $ kubectl apply -f install/kubernetes/
  • localhost: $ make run

依赖

  • Golang 1.13+ 安装手册
  • Docker 18.x+ 安装
  • Mongo/Redis (主要用于存储短链信息)

快速开始

  1. 克隆
$ mkdir -p $GOPATH/src/github.com/icowan
$ cd $GOPATH/src/github.com/icowan
$ git clone https://github.com/icowan/shorter.git
$ cd shorter
  1. make 启动
$ make run
  1. transport
  • http: 8080
  • gRPC: 8082

支持我

微信 支付宝