Skip to content

🔥⚡️Self hosted shorten URL generator for Firebase hosting

Notifications You must be signed in to change notification settings

thangman22/short-fire

Repository files navigation

🔥Short fire (Beta)

Self-hosted shortened URL genarator for Firebase hosting

Problem

Current shortened URL services such as Bit.ly do not support free of charge custom domain support. It makes user need to pay expensive fee for personal use.

Solution

Firebase hosting supports re-directing URL to another domain without charge any cent.

Limitations

  • No analytics provided.
  • No remote database provided, please backup configuration frequently.
  • Multi device usage is not support

Reestore

  • If you are install short-fire in new machine please download backup file from Firebase storage and restore

Pre-requisites

  • NPM or Yarn

Installation

npm install -g short-fire

How to

Command Description
short-fire init Initialize short-fire for create configuration.
short-fire create [url] <slug> Create shortened URL. Option slug is optional.
short-fire list <q> List all available URLs. Use option q for searching.
short-fire dump Dump Firebase configuration for backup purpose.
short-fire restore <file> Restore configuration from file.
short-fire delete [slug] Delete URL by specifying slug.