GithubHelp home page GithubHelp logo

anthrax3 / shorturl Goto Github PK

View Code? Open in Web Editor NEW

This project forked from shakenetwork/shorturl

0.0 0.0 0.0 68 KB

A URL Shortener Site 短网址生成网站(web.py) http://3sd.me/ https://mozillazg.github.io/

Home Page: https://github.com/mozillazg/ShortURL

License: MIT License

Python 52.52% Shell 0.50% CSS 3.62% JavaScript 41.16% HTML 2.20%

shorturl's Introduction

shorturl

A URL shortener site powered by Python and web.py.

Features

  • Shorten URL.
  • QR Code.
  • Support all most URL scheme.

Demo

http://3sd.me

API

Long -> Short

URL: http://3sd.me/j/shorten
Method: POST
Parameters: url
Return: JSON

Examples:

$ curl 3sd.me/j/shorten -d "url=baidu.com"
{"shorten": "http://3sd.me/Jh8x3", "expand": "http://baidu.com"}

Short -> Long

URL: http://3sd.me/j/expand
Method: POST
Parameters: shorten
Return: JSON

Examples:

$ curl 3sd.me/j/expand -d "shorten=Jh8x3"
{"shorten": "http://3sd.me/Jh8x3", "expand": "http://baidu.com"}

shorturl's People

Contributors

mozillazg 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.