Giter Site home page Giter Site logo

bauripalash / fossurl Goto Github PK

View Code? Open in Web Editor NEW
138.0 8.0 46.0 562 KB

Your Own Url Shortner Without any fancy server side processing and support for custom url , which can even be hosted on GitHub Pages

License: MIT License

CSS 10.72% HTML 19.51% JavaScript 58.23% Python 11.39% Shell 0.15%
url-shortener simple html css json javascript url-shortner jsonbox hacktoberfest

fossurl's Introduction

. .

What is Fossurl

Fossurl is an simple URL Shortener Which Can Be Hosted For Free in Github/Gitlab Pages or in Static Site Hosting Service and It doesn't need you to buy any server!

๐ŸŽฏ Goal

Implementing a Simple URL Shortner which can be used without need of any hardcore server side processing and can be hosted on Static Site Hostings such as GitHub/Gitlab Pages

๐Ÿ’ป Stack

  • HTML
  • CSS
  • JavaScript
  • Database : jsonconnect.com (Previously , jsonstore was used but several downtimes forced me to switch to jsonbox.io, then to jsonconnect as jsonbox went offline)

Jsonconnect.com is a fork of Jsonbox.io - learn more on the project's homepage.

๐Ÿ› ๏ธ Features

  • It's fast
  • It doesn't require any hosting server
  • You can use it just by forking the repo and running a script

Where is my data stored?

The connection between your shorten URL and the long one is stored by jsonconnect.com, and will be available as long as the server is alive.

The server is set to keep the data for 99999 days, which is somewhere over 200 years ๐Ÿ˜Ž!

๐Ÿ‘ป Wanna Help Improve It?

Steps:

  • Fork This Repo
  • Clone On Your Device or Open in Gitpod
  • On Linux cd to src directory and on Windows do whatever it's necessary to change directory to src
  • If you're on Linux, check your version of Python with the command python --version.
    • If you have python 3 installed, type this command; python -m http.server.
    • If you use python 2, run python -m SimpleHTTPServer instead.
  • Make Changes and improvements
  • After Making Improvements , send a Pull Request

Issues:

  • Create Issues if you find errors or bugs
  • Create Issues to submit improvement ideas

Thanks to


โš  Warning :

  • Please Don't Use FossUrl to shorten any sensitive Information , important files or any other sensitive things which can create privacy issues for an individual or a company or an organisation.

  • Sponsor : BrowserStack

fossurl's People

Contributors

bauripalash avatar cagataycali avatar dependabot[bot] avatar imgbotapp avatar kyleparisi avatar manzanillo avatar p410n3 avatar roneoorg 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  avatar  avatar  avatar  avatar  avatar  avatar

fossurl's Issues

Custom Links Don't Work

If you enter any character into the Custom URL input, the "Shorten Me" button will not work until you clear the Custom URL input.

[Internationalization] Add Translations

Suggestion

Currently FossURL is only available in English. It would be useful if it had multiple language support but without effecting the performance!

Some Languages Would Be:

  • Bengali
  • Chinese
  • Hindi
  • Spanish
  • French
    etc.

jsonbox will soon be shut down on May 31st, 2021

The notice from their website https://jsonbox.io/

Note: Jsonbox.io cloud instance will soon be shut down on May 31st, 2021 due to lack of maintenance time. The Jsonbox.io's source code will continue to be open-sourced in Github.

FYI, you can create your own Jsonbox.io instance for free using Heroku & MongoDB Cloud. Go for it if you love Jsonbox.io :)

Not working

Not Working because jsonstore.io is having some trouble for many days
can you please rewrite the script for using with other such free json hosts
like jsonbox.io ?

Logo proposal

Hello. I want to contribute voluntarily to the project. I designed this logo for you. What do you think?

fossurl

Stored XSS security bug

Steps to reproduce:

Use the chrome console to remove the clientside URL check:

JS

Enter malicous "javascript:" URL

XSS

Send link around to phish people using defacements or CSRF to other sites.

Final

Demo Fails To Do Anything

I visited the " >Working Demo<" in the readme file posted on this project, the link resolves to

 https://fossurl.palash.tk/

and entered "http://www.google.com" in the box and pushed the button "Short Me" and nothing happens, it is as if the button was nonfunctional.

Feat: Add Link Error Checking

For example, if I did not enter a link, show an error or toast when I try to generate link. I was able to generate a link without entering anything.

I was also able to enter stuff like asdasd and . and still get a link.

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.