Skip to content
This repository has been archived by the owner on May 25, 2021. It is now read-only.
/ shortcuts Public archive

Bare-bones Node.js bookmarking utility

Notifications You must be signed in to change notification settings

mterwill/shortcuts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

Shortcuts

A bare-bones Node.js bookmarking utility.

node shortcuts.js

Usage

To create a new shortcut:

example.org/google?url=https://www.google.com

Also supports nesting:

example.org/google/maps?url=https://maps.google.com

You can now access your newly created shortcuts!

example.org/google
example.org/google/maps

To delete one:

example.org/google?delete

To list all:

example.org/ls

Notes

  • There is no authentication/authorization. Anyone who can access the server can add/delete URLs.
  • The backend consists of a JSON file written to disk on shortcut update. The file is shortcuts.json by default, which can be customized by passing argv[2].
  • The server listens on port 8888 by default. This can be customized by passing argv[3].
  • For quick access, consider aliasing to something short in /etc/hosts, go on my machine.

About

Bare-bones Node.js bookmarking utility

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published