Workspace and notes

Everything about your project in one folder next to the code

Microkoi Bench stores requests, environments, mocks and cases, mock servers, monitors and Markdown notes as plain files in a folder you choose. Keep it in your repository, share it with your team and open it with no cloud and no accounts.

The Microkoi Bench notes section: a tree of notes and folders on the left and a note in reading mode on the right.
Workspace structure inside a repository: what goes into git and what stays on your computer.

Getting started

  1. 1

    Create or open a folder

    ⇧⌘N creates a new workspace, and ⌘O turns any existing folder into one — the root of your repository, for example. The same actions are in the “File” menu.

  2. 2

    Work as usual

    Analyze traffic, save requests and mocks, write notes — everything lands in that folder.

  3. 3

    Commit

    Collections, environments, mocks, cases, mock servers, monitors and notes go into git, while the traffic database is excluded automatically.

A whole project, not a pile of scattered files

A workspace ties together everything that belongs to one API.

  • Plays well with git

    One file per request, mock or note. Changes show up in history and go through review easily.

  • As many workspaces as you need

    Each project has its own folder, its own traffic and its own recording rules. You switch between them from the workspace menu.

  • Markdown notes

    Describe endpoints, test scenarios and team agreements right next to your requests.

  • No cloud, no account

    Your data never leaves your computer. Move or copy the folder as a whole — everything it needs is inside.

  • Opens where you left off

    On launch the app opens the last workspace and restores your request tabs.

  • Everyone has their own

    The selected environment, active case, running mock servers and breakpoints are stored on your computer and don’t get in your teammates’ way.

  • Search across notes

    ⇧⌘F searches the names and text of every note in the workspace and shows matching lines with the match highlighted.

  • Notes for endpoints

    A button on a host in the traffic tree opens a note for that address, and ⇧⌘K inserts a link to a request into a note.

  • Workspace trust

    A workspace from someone else’s repository does not start mock servers, monitors or the proxy on its own until you decide to trust it.

In detail

What’s in the folder

The workspace root holds the collections, environments, mocks, cases, mock-servers, monitors, chaos and notes folders, and the hidden .microkoi folder holds the workspace description, an SQLite database with recorded traffic and send history, and large traffic bodies as files.

  • The workspace description, collections, environments, mocks, cases, mock servers, monitors, chaos profiles and notes go into git
  • The database and traffic bodies are excluded by rules inside .microkoi, so your project’s root .gitignore stays untouched
  • Settings for this machine — the selected environment, active case, running servers, breakpoints — are stored outside the project folder
  • A drive root or your home folder cannot become a workspace, so your whole disk never turns into a project

Notes with reading and editing modes

Notes are plain .md files in the notes folder, and tree folders are subdirectories. ⌘E switches between reading and editing, and saving happens on its own. Relative links to other notes open inside the app, external ones in your browser.

  • Shortcuts: ⌘B and ⌘I for bold and italic, ⌘K for a link, Tab and ⇧Tab to indent and outdent lines
  • Formatting keeps the undo history — ⌘Z brings the text back to how it was before
  • Drag and drop notes between folders
  • Search across all notes with ⇧⌘F and links to collection requests with ⇧⌘K
  • List items with [ ] and [x] show as checkboxes in reading mode and are checked off in editing mode
  • A note for an endpoint is created with a button on a host in the traffic tree and sits in a folder named after the host
  • A mock server’s API description is written to a note with one button and sits in the “Mock servers” folder
  • Markdown is rendered without embedded HTML, so someone else’s note cannot run a script or call outside addresses

Edits from git and other editors are never lost

Bench watches the workspace folder: after a git pull or an edit in another editor, notes, collections, environments and mocks update right away. Other people’s changes are never overwritten — if edits to a note collide, the app asks you to pick a version, and open environment and mock editors keep your draft.

Trusting a workspace from someone else’s repository

A workspace often comes from a repository, and anything in it may have been prepared by someone else. So a folder that has never been opened on this computer opens with the banner “This workspace is opened on this computer for the first time”: mock servers, monitors and the proxy don’t start on their own, but everything works when started manually. The “Trust workspace” button remembers the decision for that folder.

  • Workspace files replaced with symbolic links are neither read nor overwritten
  • The app shows a mock’s body but never opens or runs it

Switching without a restart

A new workspace opens completely before it replaces the current one — if it fails to open, you stay where you were. The proxy keeps running through the switch, and traffic goes straight into the new database.

  • A welcome screen lists up to twenty recent workspaces
  • Quick switching between the last five from the workspace menu
  • Renaming a workspace in Bench does not touch the folder on disk

Questions and answers

Can I keep the workspace inside my project repository?

Yes, that is the recommended setup. Open a folder in the repository with “Open folder…”, and Bench creates the hidden .microkoi folder and excludes the traffic database and local state from git on its own.

Will recorded traffic end up in git?

No. Traffic and send history are stored in the .microkoi/workspace.db database, which is excluded by rules inside the hidden folder. Only what you typed yourself goes into git.

What happens if I edit a note in another editor?

Bench notices the change right away. If the app has no unsaved edits, the note simply updates; if it does, the app asks you to pick a version.

How do I delete a workspace?

“Remove from list” only hides the workspace in Bench and leaves the files alone. To delete the project completely, delete its folder the usual way.

Try it on your own project

The beta is free and needs no sign-up. Download it, pick your project folder and start the proxy — your first requests will show up within minutes.

Version 0.9.6 · macOS, Windows and Linux · no sign-up