{"id":17473765,"url":"https://github.com/ragokan/kogara","last_synced_at":"2026-03-10T14:04:38.041Z","repository":{"id":37003594,"uuid":"463291654","full_name":"ragokan/kogara","owner":"ragokan","description":"Tiny and fast state management library for VueJS","archived":false,"fork":false,"pushed_at":"2025-08-08T15:18:38.000Z","size":927,"stargazers_count":13,"open_issues_count":6,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-23T11:42:01.221Z","etag":null,"topics":["state-management","typescript","vue","vue3","vue3-composition-api","vue3-typescript","vuejs"],"latest_commit_sha":null,"homepage":"https://kogara.vercel.app","language":"TypeScript","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/ragokan.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":"2022-02-24T20:27:59.000Z","updated_at":"2024-05-02T09:09:16.000Z","dependencies_parsed_at":"2024-06-21T13:10:49.666Z","dependency_job_id":"71a52a53-51bd-4e22-ab0e-d4d8a24bfdfb","html_url":"https://github.com/ragokan/kogara","commit_stats":{"total_commits":273,"total_committers":4,"mean_commits":68.25,"dds":0.575091575091575,"last_synced_commit":"b1bec555c967613869405a9f05e05a1ca6a279e3"},"previous_names":[],"tags_count":98,"template":false,"template_full_name":null,"purl":"pkg:github/ragokan/kogara","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ragokan%2Fkogara","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ragokan%2Fkogara/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ragokan%2Fkogara/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ragokan%2Fkogara/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ragokan","download_url":"https://codeload.github.com/ragokan/kogara/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ragokan%2Fkogara/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30336106,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-10T12:41:07.687Z","status":"ssl_error","status_checked_at":"2026-03-10T12:41:06.728Z","response_time":106,"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":["state-management","typescript","vue","vue3","vue3-composition-api","vue3-typescript","vuejs"],"created_at":"2024-10-18T18:07:03.516Z","updated_at":"2026-03-10T14:04:38.023Z","avatar_url":"https://github.com/ragokan.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Kogara\n\n## Tiny and fast state management library for VueJS\n\n### For all docs, _[click here.](https://kogara.vercel.app)_\n\n### Installation\n\nTo install `Kogara`, you can use the following command:\n\n```\npnpm install @kogara/core\n```\n\n### Register the plugin\n\n```ts\nimport { KogaraPlugin } from \"@kogara/core\";\nimport { createApp } from \"vue\";\nimport App from \"./App.vue\";\n\nconst app = createApp(App);\n// Register the plugin here\napp.use(KogaraPlugin);\napp.mount(\"#app\");\n```\n\n### Create a store\n\nCreating a store is very straightforward. You simply use Vue/reactivity methods and return the ones you want to expose.\n\n```ts\nimport { defineStore } from \"@kogara/core\";\nimport { computed, ref, watch } from \"vue\";\n\n// Give store a name for devtools\nexport const useCounterStore = defineStore(\"counterStore\", () =\u003e {\n  // It is just a Vue ref\n  const count = ref(0);\n\n  // It is just a Vue computed\n  const doubledCount = computed(() =\u003e count.value * 2);\n\n  const increment = () =\u003e count.value++;\n\n  // You can also use other reactivity functions here\n  watch(count, (newCount) =\u003e {\n    console.log(`Count changed to ${newCount}`);\n  });\n\n  return { count, doubledCount, increment };\n});\n```\n\n### Use the store\n\n```html\n\u003ctemplate\u003e\n  \u003cdiv\u003e\n    \u003ch2\u003eKogara in Vue\u003c/h2\u003e\n    \u003cp\u003eCount: {{ count }}\u003c/p\u003e\n    \u003cp\u003eDoubled Count: {{ doubledCount }}\u003c/p\u003e\n    \u003cbutton @click=\"increment\"\u003eIncrement\u003c/button\u003e\n  \u003c/div\u003e\n\u003c/template\u003e\n\n\u003cscript lang=\"ts\" setup\u003e\n  import { useCounterStore } from \"./stores/counterStore\";\n  // You can destructure just like a regular object.\n  const { count, doubledCount, increment } = useCounterStore();\n\u003c/script\u003e\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fragokan%2Fkogara","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fragokan%2Fkogara","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fragokan%2Fkogara/lists"}