Coder Social home page Coder Social logo

yehudaei / y-link Goto Github PK

View Code? Open in Web Editor NEW
14.0 2.0 3.0 1.03 MB

URL / Link shortener

Home Page: https://y-link.ml

License: GNU Affero General Public License v3.0

PHP 99.87% HTML 0.05% CSS 0.08%
url-shortener urlshortener api php php-api shorturl bitly website api-service

y-link's Introduction

Y-Link

URL Shortener writen in pure PHP.

WebSite

API Docs

100$ Free For 60 days โฌ‡

DigitalOcean Referral Badge

Installation

  1. Clone the project
$ git clone https://github.com/YehudaEi/Y-Link
  1. Create Database from the dump create_db.sql

  2. Config the database in public/include/config.php in line 14

  3. Config the site domain in public/include/config.php in line 16

  4. Config the site url in public/YLinkClient.php in line 21

  5. if you use apache go to 7. if you use nginx go to 8.

  6. copy apache.conf to /etc/apache2/sites-available/

    1.  $ sudo mv apache.conf /etc/apache2/sites-available/servername.conf
    2. Config the servername.conf
    3. enable servername.conf
      $ sudo a2ensite servername.conf
    4. go to 9.
  7. copy nginx.conf to /etc/nginx/sites-available/

    1.  $ sudo mv nginx.conf /etc/nginx/sites-available/servername.conf
    2. Config the servername.conf
    3. enable servername
      $ sudo ln -s /etc/nginx/sites-available/servername.conf /etc/nginx/sites-enabled/
    4. go to 9.
  8. Done! Enjoy ๐Ÿ˜

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

License

AGPL-3

y-link's People

Contributors

yehudaei avatar

Stargazers

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

Watchers

 avatar  avatar

Forkers

vistal8 windows78

y-link's Issues

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.