Giter Site home page Giter Site logo

hugeurler's Introduction

hugeURLer

hugeURLer 是一个基于 Python 和 GitHub action 的短链接服务

如何使用

您需要把库 clone 到本地,然后在终端执行 python3 .\src\addNewRedirection.py <url> ,就能创建一个指向你设置的 url 的跳转页面。

随后,您只需要 pr 到本仓库,在我们 merge 后,您就能通过这个短链接来访问您设置的 url 了。

如何实现的

我们通过 redirectionConfig.csv 来记录需要跳转的 url 与短链接的对应关系,再通过 src/pageGen.py 来生成跳转页面到 pages/

在仓库 push 到 GitHub 上时,在 .github/workflows/ 设置好的 action 就会执行,生成跳转页面并部署到 GitHub page 上。这时大家就能够访问跳转了。

未来计划

  • 美化跳转页面、
  • 美化主页

最后

欢迎大家来用,欢迎 pr 功能。

hugeurler's People

Contributors

anthony-hoo avatar

Stargazers

 avatar  avatar

Watchers

 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.