Bonsai-27B-GGUF
lmstudio-community · Kit
A GGUF conversion of the 27B Bonsai model for LM Studio, with a 3.80 GB Q1_0 language file and a 0.93 GB BF16 vision projector. Tested for text, vision and par…

An open-source, local-first workspace where docs, whiteboards and databases are built from the same blocks, so one doc reads as a page or opens as an endless canvas. The setup notes cover the apps, Docker Compose self-hosting, AI keys, backups, and Claude Code, Cursor and Cline over MCP.
AFFiNE is an open-source project on GitHub in the Productivity category, listed by Mindket. It is free. This is version 2, last updated on . Install it from GitHub as its README says. Get Mindket’s setup notes on your Mindket account, as a zip.
mkdir affine cd affine mkdir -p config
And 4 more in Where to use it
AFFiNE is an open-source workspace that puts docs, a whiteboard and databases in one app. They are all built from the same blocks: a line of text is a block, and so is a shape on a canvas. Every doc has two modes. Page mode is a linear page that fits your screen, and Edgeless mode is an endless canvas for mind maps, slides and diagrams. The app is local-first, so a local workspace lives on your own disk and works offline. AFFiNE Cloud or your own server adds sync across devices and real-time collaboration.
People who keep notes in one app and sketch on a whiteboard in another, and would rather have both in one doc. Small teams who want their docs on their own server and can run Docker, backups and upgrades themselves. The docs also say who should look elsewhere. AFFiNE is not a typesetting system, so if you like the rulers and layout buttons of Word, Google Docs or Pages, it is the wrong tool.
| Use | Who uses it | How they use it | Example |
|---|---|---|---|
| Planning | People who track tasks inside their notes | Turn a to-do list into a database and view it as a board | Someone selects a list of to-dos, uses convert into database and switches the result to the Kanban view. |
| Brainstorming and slides | People who think on a canvas | Open a doc in Edgeless mode for mind maps, presentations and visual work | A user lays out text blocks, images and shapes on the canvas as a slide and groups them in a frame. |
| Knowledge base | People who sort many docs | Collections work as smart folders that pick docs by tags and Doc info | A user adds filters in All docs and clicks Save as New Collection, so matching docs join it by rule. |
| Repeated pages | People who start the same page often | Mark a doc as a Template and set it for the Journal or for every new doc | A user ticks Template in a doc’s Property, then picks it under Settings, Preference, My Template. |
| AI assistants | Developers who want answers from their own notes | Connect Claude Code, Cursor or Cline to the workspace MCP endpoint | A developer creates a read-only credential labelled Claude Code and adds it with one claude mcp add command. |
| Teams on their own servers | Admins who run Docker | Run the Docker Compose stack and connect the desktop apps to it | An admin downloads the Compose file, sets server.externalUrl and creates the first administrator at /admin. |
In a browser at https://app.affine.pro, in the desktop apps for Windows, macOS and Linux, and in the iOS and Android apps. The mobile apps focus on capturing and reviewing notes and sync through AFFiNE Cloud. The desktop app is the most complete, with the full Edgeless whiteboard. Beyond the apps, the maker’s pages name these connections.
| Route | What you run | What the pages say |
|---|---|---|
| Web | https://app.affine.pro in a browser | The docs home says you can try AFFiNE there directly |
| Desktop | An installer from affine.pro/download or GitHub Releases | Works fully offline with no account. Windows 10 or later (x64 and ARM64), macOS 11 or later, and Linux as AppImage, .deb or Flatpak |
| Mobile | The iOS and Android apps | For capturing and reviewing notes on the go, synced through AFFiNE Cloud |
| Self-hosted | Docker Compose: AFFiNE, a migration job, PostgreSQL and Redis | The recommended self-host route. Plan at least 4 CPU cores and 2 GB RAM |
| Source | A clone built with Node.js 22.12 or a later 22.x, Yarn 4 and Rust | For contributors. BUILDING.md covers the web app. Separate guides cover the desktop app and the server |
Get it saves a zip of Mindket’s setup notes in your downloads folder, with a page for each route from the maker’s README and docs. The web app needs only a browser, and the desktop apps need only a download. The steps below run your own server, the route the Docker Compose page recommends.
mkdir affine cd affine mkdir -p config curl -L -o docker-compose.yml \ https://github.com/toeverything/AFFiNE/releases/latest/download/docker-compose.yml curl -L -o config/config.json \ https://github.com/toeverything/AFFiNE/releases/latest/download/config.json.example docker compose up -d docker compose ps
The one-time migration container should finish, while AFFiNE, PostgreSQL and Redis keep running. If something fails to start, the page gives this line.
docker compose logs --tail=200 affine affine_migration
Type / on a blank line to open the slash menu and pick a block. Basic blocks also take Markdown shortcuts, as the Blocks page lists them.
# at the start of a line makes a heading > at the start of a line makes a quote --- followed by a space makes a divider
Any block can be dragged by its handle. Select several blocks and use convert into database, and they become a database with Table or Kanban views. The Blocks page says this works well for turning a to-do list into a kanban. In Edgeless mode, text blocks, images and shapes can be laid out as a slide, and frames and groups gather them into sets. Collections work as smart folders. Add filters in All docs and click Save as New Collection, and every doc that matches the rules joins it. To reuse a layout, tick Template in a doc’s Property and set it for the Journal or for every new doc.
A local workspace stays on your device. To share it, enable AFFiNE Cloud in the workspace settings after you sign in, then invite people by email from the members area. They join once they accept the email.
You keep project notes in an AFFiNE Cloud workspace and want Claude Code to answer from them. In AFFiNE you open Settings, then Integrations, then MCP Server, and create a credential labelled Claude Code. You leave the access mode on Read only and copy the endpoint and token, since the token shows once. Then you run the command from AFFiNE’s MCP page.
claude mcp add --transport http affine \ "https://app.affine.pro/api/workspaces/<workspace-id>/mcp" \ --header "Authorization: Bearer <your-credential>"
Claude Code then has two tools from AFFiNE, as the MCP page describes them. doc_search runs keyword and semantic search across the workspace, whiteboard text included, and returns short passages with page or canvas locators. read_document fetches a whole doc by its ID. Both stay inside that one workspace and your permissions, and revoking the credential cuts off only this client.
If you are new. Local-first means your workspace is stored on your own machine and you can edit it without an internet connection. The download page says the desktop app syncs only when you choose to sign in to AFFiNE Cloud. A block is any piece of a doc you can move, from a paragraph to a to-do, a shape or a database. Start with the desktop app and a local workspace. No account is needed. Self-hosting is for people who already run servers. The self-host docs say a managed workspace is usually simpler if you do not want to look after Postgres, Redis, backups and upgrades.
For experts. The editor is BlockSuite, Toeverything’s open-source collaborative editor. The README names y-octo, a native, thread-safe Yjs CRDT implementation, as the core engine that gives the AFFiNE client and server their local-first functionality. It also names OctoBase, a data engine written in Rust. The desktop app is Electron wrapping the prebuilt web app, with native modules in Rust built through napi-rs.
A self-hosted server reads config/config.json from ./config. server.externalUrl must be the final address users open, and copilot.byok.enabled lets workspace owners add their own provider keys. Settings saved in the Admin Panel at /admin/settings take effect at once. Provider keys belong to workspaces, never to the server config. The AI page gives this block to allow OpenAI-compatible endpoints.
{
"copilot": {
"enabled": true,
"byok": {
"enabled": true,
"allowCustomEndpoint": true,
"allowPrivateEndpoint": false
}
}
}Keep allowPrivateEndpoint off unless every workspace administrator is trusted to send provider requests into the private network. Transcription and workspace indexing need a Gemini key stored on the server, or an AFFiNE AI plan fallback where available, and indexing also needs the indexer turned on. The official Compose file already ships PostgreSQL with pgvector. The MCP endpoint is POST /api/workspaces/{workspace-id}/mcp over stateless Streamable HTTP. After a credential is rotated, the old token keeps working for up to 24 hours, or until its expiry if sooner.
These come from the README, the LICENSE and the maker’s pages.
This kit holds setup notes only. Mindket wrote them. AFFiNE itself comes from its maker's web app, desktop and mobile apps, Docker images and source code: https://github.com/toeverything/AFFiNE
These notes are not made or endorsed by the AFFiNE team (Toeverything). The README calls AFFiNE "a privacy-focused, local-first, open-source, and ready-to-use alternative for Notion & Miro", and says docs, canvas and tables are merged in it. The documentation is at https://docs.affine.pro/
License: GitHub labels it "Other". The LICENSE file (https://github.com/toeverything/AFFiNE/blob/canary/LICENSE) says content outside two folders is under the MIT license in LICENSE-MIT. Content under packages/backend and packages/common/native is under the license in packages/backend/server/LICENSE. That file says the parts shipped as AFFiNE Community Edition (CE) are under MPL 2.0, and the rest is the AFFiNE Enterprise Edition (EE) license, which may be used in production only with an EE subscription for the right number of seats. Third-party components keep their own licenses. The README says CE "is free for self-host under the MIT license". The self-host page (https://affine.pro/self-host) says the server backend is source-available under the AFFiNE EE license, while the editor and most client code are MIT-licensed.
./data and configuration under ./config. See setup/docker-compose.md.The quickest start needs no install: open https://app.affine.pro, or download the desktop app. To run your own server, the Docker Compose page gives these steps. Run them where the deployment folder can stay, since the page says to keep it in a stable location:
mkdir affine
cd affine
mkdir -p config
curl -L -o docker-compose.yml \
https://github.com/toeverything/AFFiNE/releases/latest/download/docker-compose.yml
curl -L -o config/config.json \
https://github.com/toeverything/AFFiNE/releases/latest/download/config.json.example
docker compose up -d
docker compose ps
Then open http://localhost:3010 and create the first administrator account. Source: https://docs.affine.pro/self-host-affine/install/docker-compose-recommended
config/config.json, the Admin Panel and AI with your own provider keysThe download page says the desktop app updates through its built-in updater, and the latest installer is always on that page. Source: https://affine.pro/download
For a self-hosted server, follow setup/backup-and-upgrade.md. The Upgrade page says not to use latest as a blind production upgrade path. Source: https://docs.affine.pro/self-host-affine/install/upgrade
The pages these notes drew on give no uninstall steps. By hand, and this is Mindket's note, not the maker's: uninstall the desktop app the way your system removes any app. For the server, docker compose down in the deployment folder stops the stack, and your data and settings stay in ./data and ./config until you delete them. The Upgrade page says not to run docker compose down --volumes until an upgraded deployment has been verified.
README.md 7 KB setup/backup-and-upgrade.md 5 KB setup/build-from-source.md 3 KB setup/claude-code.md 3 KB setup/configuration-and-ai.md 3 KB setup/cursor.md 1 KB setup/desktop-and-web.md 3 KB setup/docker-compose.md 4 KB setup/other-mcp-clients.md 2 KB
Updated by Mindket to the current version of this kit.
Posts and comments that name this project on Hacker News, Bluesky, X, Reddit, Facebook and YouTube, found by a weekly search and on Trendshift. Mindket doesn’t write or check them. Open one to read it where it was posted.
lmstudio-community · Kit
A GGUF conversion of the 27B Bonsai model for LM Studio, with a 3.80 GB Q1_0 language file and a 0.93 GB BF16 vision projector. Tested for text, vision and par…
LibertAIDAI · Kit
Runs DeepSeek-V4.1-Flash-1017 as a 2.9 bits-per-weight EXL3 quantization, a 196 GiB copy for people serving large models on their own hardware. Perplexity stay…
facebook · Kit
Generates short music clips from a text description or an audio prompt, in the small checkpoint of facebook's MusicGen. It suits developers and music hobbyists…
microsoft · Kit
Holds the open source code behind Visual Studio Code, an editor with debugging, extensions and tool integration for Windows, macOS and Linux. For developers wh…
oven-sh · Kit
The all-in-one toolkit for JavaScript and TypeScript apps. One executable holds a Node.js-compatible runtime, a package manager, a test runner and a bundler. T…
usememos · Kit
A free, MIT-licensed note-taking app that you host yourself, where short thoughts and longer Markdown notes gather in a personal timeline. The setup notes cove…