Skip to content

choonkiatlee/securepaste

Repository files navigation

About SecurePaste

SecurePaste is designed to do 2 things:

  • Send pretty documents! Code, calenders or fully-formatted documents.
  • Keep your data safe

SecurePaste does this by encoding your data into your shareable URL. This means that:

  • The server hosting SecurePaste cannot read / access any of your data
  • Your data cannot be censored / expire / be deleted from SecurePaste
  • Your data will be available forever
  • Optionally, encode your data so only users with the password can access it

Check it out!

SecurePaste inception

Running instructions:

  • Install:
npm run install
  • Build Project:
npm run build
  • Regenerate Project for Github (incl. updating the github pages docs/ folder):
npm run publish

Notes:

  • First 2 characters in the message are the shortmode codes. This encodes a mode (i.e. how should we display the data? Markdown? Python? etc.) as a 2 character string. (src/editorconfig.ts).
  • 3rd character is used to indicate if the message is encrypted(A) or unencrypted(B)
  • Other characters used to encode the message.
  • Encrypting a message has a certain overhead. (Possible feature: prettier statistics about the output size: how many bytes for control chars, how many bytes for encryption overhead, how many bytes for actual compressed output etc.)
  • Due to typing issues, need to add
    • _container: HTMLElement; to the UI interface object in node_modules/@toast-ui/editor/index.d.ts. (line 442)
    • public static plugin: Record<string, Plugin>; to the Editor interface object in node_modules/@toast-ui/editor/index.d.ts. (line 734)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published