Giter VIP home page Giter VIP logo

urlis's Introduction

URL IS 定义

URL IS(专属链接) 是一个短链接开源项目。
官网:http://urlis.cn/
API地址:http://api.urlis.cn/docs/#/shortens
**短链接:**通俗来说,就是将长的URL网址,通过程序计算等方式,转换为简短的网址字符串。
**短链接意义:**让各种带有?&=符号的长链接更优雅;防止链接失效(本站允许修改原始链接)。
**小技巧:**如果你新买的服务器,还没有绑定域名,可以直接将你的IP缩短哦!

本地安装测试

环境

Ruby: 2.2.5
Rails: 4.2

安装

git clone https://github.com/pinewong/shorten.git;
cd shorten;
# 修改config/database.yml配置,设置本地用户名和密码等
# 完成后接下面操作...

bundle install;
rake db:create;
rake db:migrate;
rake db:seed;
rails s;
# 成功启动后,打开 http://localhost:3000 查看效果

项目意义

这几年短链接是真的很火,大公司都有自己的短链服务器。
腾讯的url.cn和百度的dwz.cn都只做到给你生成链接就完了,到时候我们原链接改了,那个短链接就还是失效了。
URL IS(专属链接) 是专门来增强短链服务的。我们不盈利,没有商业利益关系,功能上做到了以下几点:

  • 匿名用户可以随机产生链接,得到与其他短链一样的服务。
  • 提供API接口,如果你觉得WEB端程序不合用,且有能力编写其他平台客户端,我们提供给你功能API接口和文档。
  • 当用户登录授权后,允许用户自定义链接,管理自己创建的链接(下版本添加)。

版本更新

v0.1 2016-06-22

完成初步短链功能,包含匿名生成短链以及跳转功能。
完成API接口和文档。
下版本优先增加授权用户对链接的管理功能。

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.