{"id":21412946,"url":"https://github.com/hunghg255/unnote","last_synced_at":"2025-04-18T16:29:33.981Z","repository":{"id":191612846,"uuid":"684893655","full_name":"hunghg255/unnote","owner":"hunghg255","description":"📝 Sharing No Need Database","archived":false,"fork":false,"pushed_at":"2024-11-29T08:03:10.000Z","size":124,"stargazers_count":5,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-29T06:33:28.652Z","etag":null,"topics":["notes","service-worker","shared"],"latest_commit_sha":null,"homepage":"https://unnote.vercel.app","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hunghg255.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-08-30T04:22:03.000Z","updated_at":"2024-11-29T08:03:13.000Z","dependencies_parsed_at":"2023-08-30T17:41:42.012Z","dependency_job_id":"7ed6a7e6-a4dd-4a25-932b-8b1eca232cdf","html_url":"https://github.com/hunghg255/unnote","commit_stats":null,"previous_names":["hunghg255/unnote"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hunghg255%2Funnote","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hunghg255%2Funnote/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hunghg255%2Funnote/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hunghg255%2Funnote/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hunghg255","download_url":"https://codeload.github.com/hunghg255/unnote/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249517926,"owners_count":21284860,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["notes","service-worker","shared"],"created_at":"2024-11-22T18:16:15.420Z","updated_at":"2025-04-18T16:29:33.963Z","avatar_url":"https://github.com/hunghg255.png","language":"JavaScript","readme":"\n# What is UnNote?\n\n[UnNote](https://unnote.vercel.app/) is an open-source website similar to Pastebin where you can store any piece of code, and generate links for easy sharing\n\nHowever, what makes UnNote special is that it works with **no database**, and **no back-end code**. Instead, the data is compressed and **stored entirely in the link** that you share, nowhere else!\n\n\n### Because of this design:\n\n-   🗑️ Your data **cannot be deleted** from UnNote\n-   🔞 Your data **cannot be censored**\n-   👁️ The server hosting UnNote (or any clone of it) **cannot read or access** your data\n-   ⏳ Your data will be accessible **forever** (as long as you have the link)\n-   🔀 You can access your data on **every UnNote clone**,\n-   🔍 Google **will not index** your data, even if your link is public\n\n\u003e **Note:** This project is a copy of [Topaz's paste service][topaz-example], with a reworked design and a few additional features (syntax highlighting, line numbers, offline usage, embedding...)\n\n### You can use a short link to reduce url size\n\n[short-url](https://url8.vercel.app/)\n\n## How it works\n\nWhen you click on \"Generate Link\", UnNote compresses the whole text using the\n[LZMA algorithm](https://en.wikipedia.org/wiki/Lempel%E2%80%93Ziv%E2%80%93Markov_chain_algorithm), encodes it in\n[Base64](https://en.wikipedia.org/wiki/Base64), and puts it in the optional URL fragment, after the first `#` symbol: `unnote.vercel.app/#\u003cyour data goes here\u003e`\n\nWhen you open a link, UnNote reads, decodes, and decompresses whatever is after the `#`, and displays the result in the editor.\n\nThis process is done entirely **in your browser**, and the web server hosting UnNote [never has access to the fragment](https://en.wikipedia.org/wiki/Fragment_identifier)\n\n## Other features\n\n### Embedded UnNote snippets\n\nYou can include UnNote code snippets into your own website by clicking the _Embed_ button and using the generated HTML code.\n\nHere is an example of generated code and how it looks (click on the screenshot to see the interactive version)\n\n```html\n\u003ciframe\n    width=\"100%\"\n    height=\"243\"\n    frameborder=\"0\"\n    src=\"https://unnote.vercel.app/?l=py#XQAAAQAbAQAAAAAAAAA0m0pnuFI8c+qagMoNTEcTIfyUWbZjtjmBYcmJSzoNwS5iVMWHzvowv3IPM0vOG5cjrtDRTSVP/0biTIrrahfmbkuMQBBeSiSGpaJOqYJiKmUDYn2Gp1RtWE6gm8fLHMB4eyZ3+rEbUQwWyMcmWqvZ7m96RUeFyZdYbE85JGvhghqF8cyPB0ZjV0OQWsDxn5O5ysMrIcL+pKPk89EtLjAHhA1LZL9F3hzAtTx7I+GlyrxhhXGxAN//CvtaAA==\"\n\u003e\u003c/iframe\u003e\n```\n\n[![iframe](https://raw.githubusercontent.com/bokub/UnNote/images/pagerank.png)](https://jsfiddle.net/cqr2kxf5/)\n\nFeel free to edit the `height` and `width` attributes, so they suit your needs\n\n### Offline usage\n\nWhen you visit UnNote for the first time, its code is saved in your browser cache. After that, every UnNote link you open\nwill load really quick, even if your internet connexion is slow.\n\nWhat if you have no internet connexion at all? No problem, UnNote will still work perfectly!\n\n### Editor features\n\n-   Syntax highlighting (use the language selector)\n-   Enable / disable line wrapping (use the button next to the language selector)\n-   Delete line (`Ctrl+D`)\n-   Multiple cursors (`Ctrl+Click`)\n-   Usual keyboard shortuts (`Ctrl+A`, `Ctrl+Z`, `Ctrl+Y`...)\n\n## Maximum sizes for links\n\nUnNote is great for sharing code snippets on various platforms.\n\nThese are the maximum link lengths on some apps and browsers.\n\n| App     | Max length |\n| ------- | ---------- |\n| Reddit  | 10,000     |\n| Twitter | 4,088      |\n| Slack   | 4,000      |\n| QR Code | 2,610      |\n| Bitly   | 2,048      |\n\n| Browser         | Max length                | Notes                                   |\n| --------------- | ------------------------- | --------------------------------------- |\n| Google Chrome   | (win) 32,779 (mac) 10,000 | Will not display, but larger links work |\n| Firefox         | \u003e64,000                   |                                         |\n| Microsoft IE 11 | 4,043                     | Will not show more than 2,083           |\n| Microsoft Edge  | 2,083                     | Anything over 2083 will fail            |\n| Android         | 8,192                     |                                         |\n| Safari          | Lots                      |                                         |\n\n## Generate UnNote links\n\nUnNote links can be created easily from your system's command line:\n\n```bash\n# Linux\necho -n 'Hello World' | lzma | base64 -w0 | xargs -0 printf \"https://unnote.vercel.app/#%s\\n\"\n\n# Mac\necho -n 'Hello World' | lzma | base64 | xargs -0 printf \"https://unnote.vercel.app/#%s\\n\"\n\n# Windows / WSL / Linux\necho -n 'Hello World' | xz --format=lzma | base64 -w0 | printf \"https://unnote.vercel.app/#%s\\n\" \"$(cat -)\"\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhunghg255%2Funnote","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhunghg255%2Funnote","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhunghg255%2Funnote/lists"}