{"id":20529866,"url":"https://github.com/rosano/sharesnip","last_synced_at":"2026-04-11T22:36:48.338Z","repository":{"id":155865361,"uuid":"572407120","full_name":"rosano/sharesnip","owner":"rosano","description":"Quickly create or scan QR codes.","archived":false,"fork":false,"pushed_at":"2023-12-20T11:42:43.000Z","size":510,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-10-29T17:36:20.107Z","etag":null,"topics":["0data","fission","javascript","local-first","offline-first","qrcode","qrcode-generator","qrcode-scanner","remotestorage","svelte","unhosted"],"latest_commit_sha":null,"homepage":"https://sharesnip.rosano.ca","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rosano.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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},"funding":{"open_collective":"rosano"}},"created_at":"2022-11-30T07:53:14.000Z","updated_at":"2023-06-29T19:26:33.000Z","dependencies_parsed_at":"2023-09-28T10:12:22.835Z","dependency_job_id":"3909c9a3-53aa-49c3-b948-aa5ac6b9bedc","html_url":"https://github.com/rosano/sharesnip","commit_stats":{"total_commits":271,"total_committers":1,"mean_commits":271.0,"dds":0.0,"last_synced_commit":"b8243c6753b37255e119b5a0de1a89129918c017"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rosano%2Fsharesnip","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rosano%2Fsharesnip/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rosano%2Fsharesnip/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rosano%2Fsharesnip/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rosano","download_url":"https://codeload.github.com/rosano/sharesnip/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242133907,"owners_count":20077162,"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":["0data","fission","javascript","local-first","offline-first","qrcode","qrcode-generator","qrcode-scanner","remotestorage","svelte","unhosted"],"created_at":"2024-11-15T23:34:23.541Z","updated_at":"2026-04-11T22:36:48.332Z","avatar_url":"https://github.com/rosano.png","language":"JavaScript","funding_links":["https://opencollective.com/rosano"],"categories":[],"sub_categories":[],"readme":"\u003ca href=\"https://sharesnip.rosano.ca\"\u003e\u003cimg alt=\"Project logo\" src=\"https://static.rosano.ca/sharesnip/identity.svg\" width=\"64\" /\u003e\u003c/a\u003e\n\n# [Sharesnip](https://sharesnip.rosano.ca)\n\n_Quickly create or scan QR codes._\n\n\u003ca href=\"https://sharesnip.rosano.ca\"\u003eSharesnip\u003c/a\u003e is a simple QR code generator and scanner that works offline. Read the \u003ca href=\"https://sharesnip.rosano.ca/guide\"\u003eguide\u003c/a\u003e for more details.\n\n\u003ca href=\"https://sharesnip.rosano.ca/generate\"\u003e\u003cimg alt=\"Open app\" src=\"http://static.rosano.ca/_shared/_RCSAppButton.svg\" /\u003e\u003c/a\u003e\n\n## Architecture\n\nThe project follows a [Universal folder structure](https://rosano.hmm.garden/01f71kp52knc5nnv08qr9kzj3m) and is a large collection of mostly small modules or functions that are put together using [Svelte](https://svelte.dev) and [Rollup](https://rollupjs.org). With the exception of a few 'global' or 'magic' things such as the localization function `OLSKLocalized`, most resources used by a module should be in the same folder or referenced by path name.\n\nRouting, rendering markdown content, and serving pages is done via a Node.js server (usually configured in the *controller.js* files).\n\n## Development Setup\n\n(For a deeper dive, watch [the tutorial](https://rosano.hmm.garden/01f62t5yseb053m024v1mczbzy)).\n\nInstall [Node.js and npm](https://nodejs.org/en/download/), then:\n\n```\nnpm run setup\n```\n\nThis should create an `.env` file if there is none. If you encounter errors referring to this file, you can find missing variables in `.env-sample`.\n\n## Running\n\n### Start the Rollup process to build and reload automatically\n\n```\nnpm run watch\n```\n\n### Start the Node.js server to view in the browser\n\n```\nnpm start\n```\n\nIt should be accessible at \u003ca href=\"http://localhost:3000\" target=\"_blank\"\u003ehttp://localhost:3000\u003c/a\u003e.\n\n## Testing\n\nSee [Testing logic and interfaces](https://rosano.hmm.garden/01f7v3hk3txz5d0v9ms467x8bz) for a tutorial.\n\n### Run logic tests\n\n```\nnpm test \n```\n\n### Run interface tests\n\n```\nnpm test ui\n```\n\nTo filter interface test paths by string:\n\n```\nnpm test ui match=detail\n```\n\nTo filter interface test paths by JavaScript regular expressions:\n\n```\nnpm test ui match='/(vitrine|guide)/'\n```\n\n## ❤️\n\nHelp me keep creating projects that are public, accessible for free, and open-source.\n\n\u003ca href=\"https://rosano.ca/back\"\u003e\u003cimg alt=\"Send a gift\" src=\"https://static.rosano.ca/_shared/_RCSGiftButton.svg\" /\u003e\u003c/a\u003e\n\n## License\n\nThe code is released under a [Hippocratic License](https://firstdonoharm.dev), modified to exclude its use for surveillance capitalism and also to require large for-profit entities to purchase a paid license.\n\n## Questions\n\nFeel free to reach out on [Mastodon](https://rosano.ca/mastodon) or [Bluesky](https://rosano.ca/bluesky).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frosano%2Fsharesnip","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frosano%2Fsharesnip","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frosano%2Fsharesnip/lists"}