Giter Club home page Giter Club logo

shortlink's Introduction

ShortLink

代码基于 CRZ.im 二次开发,感谢原作者的辛勤劳动。

概述

这是一个网址缩短服务的网站的源代码。

安装

环境准备

  • PHP 7.0+
  • Nginx 1.15+
  • MySQL 5.5+ (目前还不需要)

提示:若访问量较大,建议安装在具有SSD硬盘的服务器上。

配置修改

修改 config.php 的相关配置并把 inc 目录权限设置为 755 即可。

URL 重写规则

Apache 用户

直接使用 .htaccess 文件即可。

Nginx 用户

需要把 nginx-rewrite.conf 里面的内容添加到 Nginx 的配置文件里。

功能

  • 长链转短链
  • 界面简洁
  • 一键复制

Todo List

  • 增加 MySQL 支持
  • More...

shortlink's People

Contributors

renbaoshuo avatar zitena 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.