{"id":49925885,"url":"https://github.com/iamshouvikmitra/slate","last_synced_at":"2026-05-16T23:27:32.757Z","repository":{"id":126842787,"uuid":"144315036","full_name":"iamshouvikmitra/slate","owner":"iamshouvikmitra","description":"Slate let's you write \u0026 share information without storing them on any server! All data is contained in the URL itself and is dynamically rendered when viewing.","archived":false,"fork":false,"pushed_at":"2025-03-16T06:13:16.000Z","size":78,"stargazers_count":10,"open_issues_count":2,"forks_count":6,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-16T07:20:20.800Z","etag":null,"topics":["css","html","itty-bitty","javascript","serverless","slate"],"latest_commit_sha":null,"homepage":"https://slate.js.org","language":"HTML","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/iamshouvikmitra.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":"2018-08-10T17:31:47.000Z","updated_at":"2025-03-16T06:13:19.000Z","dependencies_parsed_at":"2023-06-18T07:07:08.178Z","dependency_job_id":null,"html_url":"https://github.com/iamshouvikmitra/slate","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/iamshouvikmitra/slate","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iamshouvikmitra%2Fslate","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iamshouvikmitra%2Fslate/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iamshouvikmitra%2Fslate/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iamshouvikmitra%2Fslate/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/iamshouvikmitra","download_url":"https://codeload.github.com/iamshouvikmitra/slate/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iamshouvikmitra%2Fslate/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33121989,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-16T18:38:32.183Z","status":"ssl_error","status_checked_at":"2026-05-16T18:38:29.903Z","response_time":115,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["css","html","itty-bitty","javascript","serverless","slate"],"created_at":"2026-05-16T23:27:31.706Z","updated_at":"2026-05-16T23:27:32.748Z","avatar_url":"https://github.com/iamshouvikmitra.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"![Open Source Love](https://badges.frapsoft.com/os/v1/open-source.svg?v=102) ![Open Source Love](https://badges.frapsoft.com/os/mit/mit.svg?v=102) [![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square)](http://makeapullrequest.com)\n# Slate  📝\nSlate Notes takes html (or other data), compresses it into a URL fragment, and provides a link that can be shared. When it is opened, it renders that data on the receiver’s side. Its live [here](http://iamshouvikmitra.github.io/slate).\n\n# About\nSlate Notes are contained entirely within their own link. (Including this one!) This means they're... \u003cbr\u003e\n\n💼 Portable - you don't need a server to host them \u003cbr\u003e\n👁 Private - nothing is sent to–or stored on–this server \u003cbr\u003e\n🎁 Easy to share as a link or QR code \u003cbr\u003e\n\nSlate Notes can hold about as much as a printed page, and there is a lot you can do with that: \u003cbr\u003e\n✒️ Compose poetry \u003cbr\u003e\n🛠 Create an app \u003cbr\u003e\n🐦 Bypass a 140 280 char limit \u003cbr\u003e\n🎨 Express yourself in ascii \u003cbr\u003e\n\n## Hosting\nOne simple way to host is to forward a domain. Just paste your slate's url in the redirect.\u003cbr\u003e\n\n## Technical Details\n\n### How it Works\n1. **Data Flow**\n   - Content is compressed using LZMA with maximum compression (level 9)\n   - Compressed data is converted to base64\n   - Base64 is made URL-safe by replacing special characters\n   - Final URL contains everything needed to render the content\n\n2. **Compression**\n   - Uses LZMA (Lempel-Ziv-Markov chain Algorithm)\n   - Typically achieves 30-50% better compression than gzip\n   - Maintains UTF-8 encoding for emojis and special characters\n   - Allows for longer content in URLs\n\n3. **Features**\n   - Client-side compression and decompression\n   - No server storage needed\n   - Mobile-friendly with native sharing\n   - QR code generation for easy mobile sharing\n   - Supports text formatting and emojis\n\n4. **Size Limits**\n   - Title: 100 characters\n   - Content: 5000 characters\n   - Compressed size varies based on content type\n\n5. **Browser Support**\n   - Modern browsers (Chrome, Firefox, Safari, Edge)\n   - Requires JavaScript enabled\n   - Uses Web Share API on mobile when available\n   - Falls back gracefully for older browsers\n\n### Architecture\n```\nContent → LZMA Compression → Base64 Encoding → URL-safe Characters → Shareable URL\n```\n\n### Contributions\nFeel free to open a pull request adding your new features, resolving issues, cleaning code or making this readme super awesome 😎 \u003cbr\u003e\n\n### Screenshot.\n![Nothing Special, but here it is.](https://i.imgur.com/n0eVpNf.png \"Home\")\n\n### License\nSlate Notes is covered by the MIT License. \u003cbr\u003e\nCopyright (C) 2018 - 2025 ~ [Shouvik Mitra](http://iamshouvikmitra.github.io) ~ work.shouvikmitra@gmail.com\n\n\n### Inspiration\nThis website is an inspiration from [itty.bitty.site](https://bitty.site/edit)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fiamshouvikmitra%2Fslate","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fiamshouvikmitra%2Fslate","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fiamshouvikmitra%2Fslate/lists"}