Skip to content

[enhancement idea] Encode note (up to 64 kb) into URL #13

@tempuserr

Description

@tempuserr

Using browser's LocalStorage to saving notes is fine, but what if user reinstall or change browser? Then all notes are lost or needed to be exported (downloaded) to .md files.

Because modern browsers can support URL lenght up to 64kb consider an option to encode (e.g. base64) whole markdown text content into URL.

This would allow:

  1. easy copy and share notes between browsers, computers, users, etc. without using external servers
  2. bookmark notes and open it completely independent of the browser and data stored in LocalStorage
  3. can act as a form of a fast notes backup.

So some note like this:

Image

Could be encoded and saved as long URL:

Image

EDIT:
correction: link should be in a form of type.html#note=IyMgQWxn.... because using #= is probably better than using ?.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions