Skip to content

FireStreaker2/LinkProtector

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LinkProtector

About

LinkProtector is a simple website used to protect content with a password, without the use of databases. Think of it like controlc.com but without having to mess around with SQL. This is achievable through the use of simple-encryptor and passing encrypted info from the url to the backend, and then decrypting it there. After authenticating, the backend then sends the decrypted content to the frontend. An example is below.

https://linkprotector.firestreaker2.gq/unlock#83affbda5e745be7106752fb739da25a91ecd9e673947dff1a7350068836ece0baaed7b9ad2c095a6d42636321757469+WoXMcT5WbObLgD38ssi8TREhxyxSceSIHTJa7RygRSLgrTq442smpjNHJqTSG+Hde8ePHGjLVsTcGMMxjn9HvdGgwI5icSHlYJ0u9lFGsI=|f94ac3409950cbb456b575e857b5e3d5bd94d3b19cbab3d196b244c69a8cf74eea078b42e549ee74737016e210e84655GPPXLkTV+XSKt/K5SUE4QQ==

Password: gura

While LinkProtector was originally designed to protect links (as implied from the name), you can also "protect" regular content, like messages and such.

Selfhosting

$ git clone https://github.com/FireStreaker2/LinkProtector.git
$ cd LinkProtector
$ npm i
$ npm start

If you do choose to selfhost this, please make sure to:

  • add your own key inside of your environment variables

NEVER hard code them into your files

  • add your own link to line 10 of index.js (so cors doesnt kill you)

Contributing

If you would like to contribute, you can fork the repo and make a PR, or contact me via email @ [email protected]

License

MIT

Releases

No releases published

Packages

No packages published