Giter Site home page Giter Site logo

tulink's Introduction

TuLink - 一个生成重定向链接的api,可用于短域名

起因就是qqbot只能发送备案域名,有人向我借二级域名,不放心就写了一个短域名程序便于监控,同时温习长久未动的flask

使用方法

向/creat_redirect发送请求,参数如下

token address
token1 要重定向的域名

(token可在../data/users.json查看和设置)

返回如下消息

code address timestamp
0 http://127.0.0.1/redirect?address_token=ttdux3w7yt61 1711293984967

/redirect的参数address_token随机生成,timestamp是时间戳

访问返回的address就能重定向到指定的网址

自己部署的就暂时不放出来了(怕被打)

还有就是../data/redirect_datas.json可查看修改已有的重定向

tulink's People

Stargazers

 avatar  avatar  avatar

Watchers

 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.