Giter Club home page Giter Club logo

shortnsweet's Introduction

shortnsweet v2.1

About

shortnsweet is a simple script setup to allow you to host your very own url shortening and image uploading service. It used to be called URL Shortener (i know, how original).

shortnsweet takes gaurds against being used by spammers. See the Spam Protection section below for more information.

You need 3 things to be able to use this script:

  • Apache with mod_rewrite enabled or similar server/rewriting setup.
  • php
  • mysql

Installation

  • visit <path_to_install>/install/
  • confirm all data is correct, if not, edit config.php
  • install

Spam Protection

To gaurd agains mailcious sites being linked to with shortnsweet, integration with Goole Safe Browsing API has been included. In config.php there is a variable $gsb_key. To set it, visit this page to generate a key and use that as the value for $gsb_key.

shortnsweet also checks any links sent for a response code. Any links that return a non-200 (notice, not 2xx) code will be rejected.

Analytics

  • If you want to include any kind of google analytics, or your own statistics that require loading javascript, see the comments in index.php for instructions
  • There is no tracking built in to shortnsweet.

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.