MCPcopy Index your code
hub / github.com/AlexErrant/Pentive

github.com/AlexErrant/Pentive @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
1,024 symbols 2,909 edges 300 files 1 documented · 0%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Pentive

A free, open source, local-first, spaced repetition system that works offline, has p2p syncing, plugins, and first class support for collaboration. It's GitHub/Reddit for flashcards.

Plugins

Pentive's plugin system allows developers to directly modify the dependency injection container. Any UI component may be overwritten with a function that returns any DOM node. See example plugins.

YouTube demo:

YouTube demo

Contributing

If you're technically inclined, see design decisions for a review of Pentive's architecture and design. Contributions welcome!

Extension points exported contracts — how you extend this code

PokeMsg (Interface)
* TODO: we can improve the poke msg to facilitate daisy chaining of updates among peers. * If the poke is the result of
app/src/sqlite/wholeDbRtc.ts
Context (Interface)
(no doc)
lrpc/src/trpc.ts
ComlinkInit (Interface)
(no doc)
hub-ugc/src/registerServiceWorker.ts
Context (Interface)
(no doc)
cwa/src/trpc.ts
ImportMetaEnv (Interface)
(no doc)
shared-dom/vite.env.d.ts
Plugin (Interface)
(no doc)
shared-dom/src/plugin.ts
NightwindHelperModule (Interface)
(no doc)
hub/nightwind-helper.d.ts
EnvVars (Interface)
(no doc)
hub/src/env.d.ts

Core symbols most depended-on inside this repo

parse
called by 85
hub/src/cookieManager.ts
throwExp
called by 79
shared/src/utility.ts
toLDbId
called by 41
shared/src/brand.ts
render
called by 21
app/src/pluginManager.proofOfConcept.ts
toSampleCard
called by 20
shared-dom/src/cardHtml.ts
fromLDbId
called by 18
shared/src/brand.ts
useThemeContext
called by 17
shared-dom/src/themeSelector.tsx
alterQuery
called by 17
app/src/domain/alterQuery.ts

Shape

Function 762
Interface 127
Method 93
Class 42

Languages

TypeScript100%

Modules by API surface

shared-edge/src/kysely.ts59 symbols
shared-dom/src/language/query2sql.ts40 symbols
app/src/sqlite/wholeDbRtc.ts31 symbols
app/src/sqlite/database.ts28 symbols
hub/src/cookieManager.ts23 symbols
shared/src/utility.ts22 symbols
app/src/sqlite/template.ts21 symbols
hub/src/session.ts18 symbols
app/src/sqlite/dialect.ts18 symbols
shared-dom/src/tar.ts17 symbols
shared-dom/src/cardHtml.ts17 symbols
shared-edge/src/dbSchema.ts16 symbols

Datastores touched

(mysql)Database · 1 repos
schema_nameDatabase · 1 repos

For agents

$ claude mcp add Pentive \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact