{"id":18498218,"url":"https://github.com/andykswong/mithic","last_synced_at":"2025-04-09T00:31:06.466Z","repository":{"id":153209656,"uuid":"589117230","full_name":"andykswong/mithic","owner":"andykswong","description":"Modular library for offline-first isomorphic JavaScript applications","archived":false,"fork":false,"pushed_at":"2025-03-09T06:31:50.000Z","size":7943,"stargazers_count":6,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-01T15:13:02.592Z","etag":null,"topics":["collaborative","cqrs","cqrs-es","crdt","decentralized","event-sourcing","eventstore","javascript","p2p","state-channel","typescript"],"latest_commit_sha":null,"homepage":"https://andykswong.github.io/mithic/","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/andykswong.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-01-15T05:21:35.000Z","updated_at":"2024-04-22T21:56:33.000Z","dependencies_parsed_at":null,"dependency_job_id":"beaaafaa-c599-445b-84c4-0012ea0b42b0","html_url":"https://github.com/andykswong/mithic","commit_stats":{"total_commits":66,"total_committers":1,"mean_commits":66.0,"dds":0.0,"last_synced_commit":"b7a6ce0998c3e563c71fd3eee76d00c2976b14a5"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andykswong%2Fmithic","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andykswong%2Fmithic/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andykswong%2Fmithic/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andykswong%2Fmithic/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/andykswong","download_url":"https://codeload.github.com/andykswong/mithic/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247949797,"owners_count":21023390,"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":["collaborative","cqrs","cqrs-es","crdt","decentralized","event-sourcing","eventstore","javascript","p2p","state-channel","typescript"],"created_at":"2024-11-06T13:38:10.546Z","updated_at":"2025-04-09T00:31:01.445Z","avatar_url":"https://github.com/andykswong.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003emithic\u003c/h1\u003e\n\n[![mithic](https://img.shields.io/badge/project-mithic-blueviolet.svg?style=flat-square\u0026logo=github)](https://github.com/andykswong/mithic)\n[![npm](https://img.shields.io/npm/v/mithic?style=flat-square\u0026logo=npm)](https://www.npmjs.com/package/mithic)\n[![docs](https://img.shields.io/badge/docs-typedoc-blue?style=flat-square\u0026logo=typescript\u0026logoColor=white)](http://andykswong.github.io/mithic)\n[![license: MIT](https://img.shields.io/badge/License-MIT-red.svg?style=flat-square)](./LICENSE)\n[![codecov](https://codecov.io/gh/andykswong/mithic/branch/main/graph/badge.svg?token=2OYVQSTDMC)](https://codecov.io/gh/andykswong/mithic)\n[![build](https://img.shields.io/github/actions/workflow/status/andykswong/mithic/build.yaml?style=flat-square)](https://github.com/andykswong/mithic/actions/workflows/build.yaml)\n\n\u003cbr/\u003e\n\n\u003e Modular library for offline-first isomorphic JavaScript applications\n\n\u003cbr /\u003e\n\n## Overview\n`mithic` provides the building blocks for creating offline-first applications, using [CQRS](https://en.wikipedia.org/wiki/Command%E2%80%93query_separation) architecture with [eventsourced](https://en.wikipedia.org/wiki/Event_store) [CRDT](https://en.wikipedia.org/wiki/Conflict-free_replicated_data_type)s for storage and data replication. `mithic` is network agnostic and can be used in traditional client-server, decentralized, or local-only apps. Target use cases include business web apps, collaborative editing, multiplayer gaming, etc.\n\n## Documentation\nSee generated TypeDoc: https://andykswong.github.io/mithic/\n\n## Getting Started\n\nTo use the library, you can depend on the monorepo:\n```shell\nnpm install --save mithic\n```\nOr select individual [modular packages](#packages) to use:\n```shell\nnpm install --save @mithic/collections @mithic/cqrs @mithic/crdt\n```\n\nFor detailed usages, see the following examples:\n- [Simple Redux store example](./packages/examples/simple) - minimal example to get started. Uses the [Redux](https://redux.js.org/) store preset.\n- [GraphQL example](./packages/examples/graphql) - example integration with [GraphQL](https://graphql.org/) query, mutation and subscription\n\n## Packages\n\nCore:\n\n|Package|NPM|Description|\n|-------|---|-----------|\n|[`@mithic/collections`](./packages/collections)|[![npm](https://img.shields.io/npm/v/@mithic/collections?style=flat-square\u0026logo=npm)](https://www.npmjs.com/package/@mithic/collections)|Core collection interfaces and implementations|\n|[`@mithic/commons`](./packages/commons)|[![npm](https://img.shields.io/npm/v/@mithic/commons?style=flat-square\u0026logo=npm)](https://www.npmjs.com/package/@mithic/commons)|Common utilities|\n|[`@mithic/cqrs`](./packages/cqrs)|[![npm](https://img.shields.io/npm/v/@mithic/cqrs?style=flat-square\u0026logo=npm)](https://www.npmjs.com/package/@mithic/cqrs)|CQRS interface|\n|[`@mithic/crdt`](./packages/crdt)|[![npm](https://img.shields.io/npm/v/@mithic/crdt?style=flat-square\u0026logo=npm)](https://www.npmjs.com/package/@mithic/crdt)|Eventsourced CRDT library|\n|[`@mithic/jsonr`](./packages/jsonr)|[![npm](https://img.shields.io/npm/v/@mithic/jsonr?style=flat-square\u0026logo=npm)](https://www.npmjs.com/package/@mithic/jsonr)|JSON intermediate representation for sandboxed scripting|\n|[`@mithic/messaging`](./packages/messaging)|[![npm](https://img.shields.io/npm/v/@mithic/messaging?style=flat-square\u0026logo=npm)](https://www.npmjs.com/package/@mithic/messaging)|Messaging interface|\n\nPlugins:\n\n|Package|NPM|Description|\n|-------|---|-----------|\n|[`@mithic/denokv`](./packages/plugins/denokv)|[![npm](https://img.shields.io/npm/v/@mithic/denokv?style=flat-square\u0026logo=npm)](https://www.npmjs.com/package/@mithic/denokv)|Deno KV adapters|\n|[`@mithic/ipfs`](./packages/plugins/ipfs)|[![npm](https://img.shields.io/npm/v/@mithic/ipfs?style=flat-square\u0026logo=npm)](https://www.npmjs.com/package/@mithic/ipfs)|IPFS and libp2p adapters|\n|[`@mithic/level`](./packages/plugins/level)|[![npm](https://img.shields.io/npm/v/@mithic/level?style=flat-square\u0026logo=npm)](https://www.npmjs.com/package/@mithic/level)|abstract-level adapters|\n|[`@mithic/redis`](./packages/plugins/redis)|[![npm](https://img.shields.io/npm/v/@mithic/redis?style=flat-square\u0026logo=npm)](https://www.npmjs.com/package/@mithic/redis)|Redis adapters|\n\n\n## License\nThis repository and the code inside it is licensed under the MIT License. Read [LICENSE](./LICENSE) for more information.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandykswong%2Fmithic","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fandykswong%2Fmithic","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandykswong%2Fmithic/lists"}