Skip to content
This repository has been archived by the owner on Jul 12, 2023. It is now read-only.
/ shortfire Public archive

Simple URL shortener, using the Firebase platform from Google (to be used with custom domain)

License

Notifications You must be signed in to change notification settings

techheavencz/shortfire

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ShortFire

Simple URL shortener, using the Firebase platform from Google (to be used with custom domain)

For example, if you have domain techheaven.org and use it in form techheaven.org/events/my-awesome-event, but want to use URL shortener with custom domain, in our case thvn.org

techheaven.org/events/my-awesome-event -> thvn.org/an-event

Or anything you want.

Very easy to deploy, running on Google Firebase, for small projects even free (look at Firebase free tier).

Installation

  1. Clone this repository/download release .zip (from Releases)

  2. Create a Firebase project you will use for your shortener (you can use free plan) TODO: link to Firebase console

  3. Setup your custom domain for hosting (for example, thvn.cz in our case) TODO: link to documentation

  4. Open terminal and enter the ShortFire directory

  5. Deploy to Firebase

If you don't have firebase command line tools

# If you are using Yarn
(sudo) yarn global add firebase-tools

# If NPM
(sudo) npm install -g firebase-tools

More details in Firebase docs TODO: link

  1. Your shortener is working

To start creating shortened URLs

API

URLs can be created and managed using built in API. Each API request must be authorized with Firebase Auth. All users have the same rights, every authorized user is essentially admin.

API docs

Planned features

  • tracking clicks on links (analytics), accessible via API
  • aliases for shortened urls (short.url/my-event -> short.url/event -> some-very-long-url-address.com)
  • simple UI for shortening URLs
  • support tokens (non Firebase Auth) for API authorization

About

Simple URL shortener, using the Firebase platform from Google (to be used with custom domain)

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published