MCPcopy Index your code
hub / github.com/batnoter/batnoter

github.com/batnoter/batnoter @v1.0.0

Chat with this repo
repository ↗ · DeepWiki ↗ · release v1.0.0 ↗ · + Follow
114 symbols 282 edges 31 files 0 documented · 0%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Create and store notes to your git repository!



<a href="https://batnoter.com"><strong>https://batnoter.com</strong></a>

BatNoter

GitHub Workflow Status codecov Codacy Badge

BatNoter is a web application that allows users to store notes in their git repository. This is a frontend project built using mainly react (typescript), redux-toolkit & mui components. BatNoter API is the backend implementation of REST APIs which are used by this react app.

BatNoter Demo

Features

  • Login with GitHub.
  • Create, edit, delete, organize & explore notes easily with a nice & clean user interface.
  • Markdown format supported allowing users to add hyperlink, table, headings, code blocks, blockquote... etc inside notes.
  • Editor allows preview of markdown.
  • Quickly copy code from the code section using copy to clipboard button.
  • Store notes directly at the root or use folders to organize them (nesting supported).
  • Explore all the notes from a specific directory with single click.
  • All the notes are stored inside user's github repository.
  • Notes are cached to avoid additional API calls.
  • URLs can be bookmarked.

Local Development Setup

Prerequisites

  • Node.js version 18 or above

Start the server

npm install
npm start

This will start the react app in the development mode. Open http://localhost:3000 to view it in the browser.

Run tests

npm test

This will execute all the tests and also prints the code coverage percentage.

Contribution Guidelines

Every Contribution Makes a Difference

Read the Contribution Guidelines before you contribute.

Contributors

Thanks goes to these wonderful people 🎉

Extension points exported contracts — how you extend this code

Props (Interface)
(no doc)
src/components/RepoSelectDialog.tsx
User (Interface)
(no doc)
src/reducer/userSlice.tsx
Props (Interface)
(no doc)
src/components/NoteCard.tsx
UserState (Interface)
(no doc)
src/reducer/userSlice.tsx
Props (Interface)
(no doc)
src/components/Settings.tsx
APIStatus (Interface)
(no doc)
src/reducer/common.ts
Props (Interface)
(no doc)
src/components/AppDrawer.tsx
Repo (Interface)
(no doc)
src/reducer/preferenceSlice.tsx

Core symbols most depended-on inside this repo

getHeaders
called by 10
src/api/api.tsx
useAppDispatch
called by 8
src/app/hooks.ts
searchNode
called by 7
src/util/TreeUtil.ts
getSanitizedErrorMessage
called by 6
src/util/util.ts
parse
called by 5
src/util/TreeUtil.ts
getChildDirs
called by 4
src/util/TreeUtil.ts
getTitleFromFilename
called by 4
src/util/util.ts
splitPath
called by 4
src/util/util.ts

Shape

Function 90
Interface 17
Method 4
Class 2
Enum 1

Languages

TypeScript100%

Modules by API surface

src/api/api.tsx12 symbols
src/util/util.ts9 symbols
src/reducer/noteSlice.tsx9 symbols
src/components/AppDrawer.tsx8 symbols
src/components/Finder.tsx7 symbols
src/util/TreeUtil.ts6 symbols
src/components/RepoSetupDialog.tsx6 symbols
src/components/RepoSelectDialog.tsx6 symbols
src/components/AppBar.tsx6 symbols
src/components/Viewer.tsx5 symbols
src/components/Main.tsx5 symbols
src/components/Editor.tsx5 symbols

For agents

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

⬇ download graph artifact