Giter VIP home page Giter VIP logo

awsl-js's Introduction

moeAsk Web Short Link(awsl)

deno版short link

Install and Run

安装

wget https://cdn.jsdelivr.net/gh/Moe-Ask/short-link-js/main.tsconfig.json

deno install -A -c main.tsconfig.json -n masl-js https://cdn.jsdelivr.net/gh/Moe-Ask/short-link-js/main.ts

masl-js

直接运行

deno run -A https://cdn.jsdelivr.net/gh/Moe-Ask/short-link-js/main.bundle.js

生成 openapi.json

deno run -A -c main.tsconfig.json https://cdn.jsdelivr.net/gh/Moe-Ask/short-link-js/openapi.ts

环境变量

变量 默认 描述
BIND :1551 监听地址
TOKEN uuid v4 身份令牌
DB_PATH ./masl.db sqlite数据库文件位置
CUSTOM_SYMBOL # 自定义短链前缀
URL_MAX 250 长链接长度限制(n/字符
REDIRECT_TO_HOME 短链不存在时302到此地址

awsl-js's People

Contributors

actions-user avatar juzi5201314 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.