Code Monkey home page Code Monkey logo

urlshorter's Introduction

UrlShorter

这是一个足够简洁的 Url 短网址生成器

兼容性

需要 PHP >= 7.4

安装

  • step 1: git clone [email protected]:soxft/UrlShorter.git
  • step 2: 修改 ~/api/config.php , 填写您的mysql信息 以及网址等信息
  • step 3: 导入 ~/mysql.sql 至您的数据库
  • step 4: 配伪静态 (~/nginx.conf 或 ~/.htaccess) 目前仅有 nginx 与 Apache 的伪静态配置.
  • step 5: 开始使用

API

参考 https://github.com/soxft/UrlShorter/wiki/API

urlshorter's People

Contributors

soxft avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

urlshorter's Issues

希望可以增加短链接修改功能

首先感谢大佬的短链,实地也在使用,感觉非常方便,用API可以生成,但使用中有个遗憾就是无法修改已生成的短链,包括后缀以及长网址,希望大佬能采纳

提示: 系统错误, 请重试

我已经按照要求配置了伪静态和数据库, 并且我看了数据库的log, 没有错误. 现在有点拿不准是哪里出的问题?

Apache 伪静态如何写?

##rewrite apache create tool.apizl.com

RewriteRule '^/api/(.)$' /api/main.php?method=$1 [L]
RewriteRule '^/(.
)$' /index.php?short=$1 [L]

我转换成以上好像不太行

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.