{"id":20529851,"url":"https://github.com/rosano/kommit","last_synced_at":"2025-04-14T05:20:49.494Z","repository":{"id":155864661,"uuid":"274934115","full_name":"rosano/kommit","owner":"rosano","description":"Augment your memory.","archived":false,"fork":false,"pushed_at":"2023-12-20T11:26:11.000Z","size":1804,"stargazers_count":29,"open_issues_count":0,"forks_count":1,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-04-12T07:23:37.528Z","etag":null,"topics":["0data","fission","flashcards","local-first","offline-first","remotestorage","single-page-app","spa","spaced-repetition","svelte","sveltejs","unhosted"],"latest_commit_sha":null,"homepage":"https://kommit.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":"2020-06-25T14:14:16.000Z","updated_at":"2025-02-11T05:58:48.000Z","dependencies_parsed_at":"2024-03-15T03:47:10.671Z","dependency_job_id":"4417b4e0-d962-464e-bdfa-7277284b98ba","html_url":"https://github.com/rosano/kommit","commit_stats":{"total_commits":1791,"total_committers":1,"mean_commits":1791.0,"dds":0.0,"last_synced_commit":"abdf62512b85e91b25df83277583f2e97dd4a7a0"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rosano%2Fkommit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rosano%2Fkommit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rosano%2Fkommit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rosano%2Fkommit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rosano","download_url":"https://codeload.github.com/rosano/kommit/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248824993,"owners_count":21167412,"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","flashcards","local-first","offline-first","remotestorage","single-page-app","spa","spaced-repetition","svelte","sveltejs","unhosted"],"created_at":"2024-11-15T23:34:21.238Z","updated_at":"2025-04-14T05:20:49.468Z","avatar_url":"https://github.com/rosano.png","language":"JavaScript","readme":"\u003ca href=\"https://kommit.rosano.ca\"\u003e\u003cimg alt=\"Project logo\" src=\"https://static.rosano.ca/kommit/identity.svg\" width=\"64\" /\u003e\u003c/a\u003e\n\n# [Kommit](https://kommit.rosano.ca)\n\n_Augment your memory_\n\n\u003ca href=\"https://kommit.rosano.ca\"\u003eKommit\u003c/a\u003e is an app to help you with memorization. Inspired by [Anki](https://apps.ankiweb.net) and other spaced-repetition learning systems, it presents flashcards to you just before your brain is likely to forget, thereby strengthening memory while reducing study time. Read the \u003ca href=\"https://kommit.rosano.ca\"\u003eguide\u003c/a\u003e for more details.\n\n\u003ca href=\"https://kommit.rosano.ca/review\"\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=Browse\n```\n\nTo filter interface test paths by JavaScript regular expressions:\n\n```\nnpm test ui match='/(play|browse)/'\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=\"Become a backer\" src=\"https://static.rosano.ca/_shared/_RCSBackButton.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://mastodon.online/@rosano) or [Twitter](https://twitter.com/rosano).\n","funding_links":["https://opencollective.com/rosano"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frosano%2Fkommit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frosano%2Fkommit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frosano%2Fkommit/lists"}