Znote
  Get Znote  

⚡ Run code and AI

Getting started: How to start with Znote

 

⚡ Run code and AI

One note, one tool. Your notes don't just store ideas — they run. Hit Run on the block below. No setup, no account, nothing to paste.

✍️ Mostly here to write and organize notes? Open the Welcome note in the sidebar instead.


1. Run your first tool — free, instant

This block calls a real API and drops the result straight into your note. Code execution is free and unlimited — run it all day.

const r = await fetch("https://api.github.com/users/torvalds");
const u = await r.json();
console.log(`${u.name} · ${u.public_repos} repos · ${u.followers} followers`);

▶️ That ran on your machine. Zero credits, no limits. API calls, SQL queries, scripts — all runnable, right inside a note. This is the free core of Znote.


2. Now let the AI decide — not just describe

Code fetched the data. Here the AI does the part a chat tab can't: it reasons over live data, in place, and gives you a call. One click — the tool's already in the note.

async function getReleases(repo) {
  const r = await fetch(`https://api.github.com/repos/${repo}/releases?per_page=5`);
  return (await r.json()).map(x => ({ tag: x.tag_name, date: x.published_at, notes: x.body?.slice(0, 800) }));
}
Look at the last 5 releases of "vercel/next.js". If I'm a few versions behind, what's the single most likely thing to break when I upgrade — yes/no, should I do it now, and one reason.

💡 That's the move: your code fetches, the AI judges. Point that same pattern at your own repo, your DB, your API — and it's answering about your work, not a generic question.


3. Start with something useful

Most people use Znote for one of these:

🌐 Test an API

Call an endpoint and inspect the result without leaving your notes — open the ++Test an API++ template.

🗄 Query a database

Run SQL against your project database and keep the results beside your notes — open ++Database Query++.

📄 Analyze a file

Copy a file from your explorer (PDF, screenshot, meeting transcript, spec) and paste it below — Znote fills in the path and reads it as context:

Summarize this file in 3 bullets, then flag the one thing most likely to bite me.
@file:///👉-paste-your-file-here.txt

🎤 Record a meeting

Hit record, talk (or play any audio), and Znote writes structured minutes into your note — decisions, action items, key points. Then Shift+Ctrl+C copies them as formatted text for Teams or Confluence (Ctrl+C for the raw Markdown).

🎤 Try it: record 30 seconds on what you're shipping this week. This is the one people come back to.

👉 Open the gallery and choose a template.

💡 Ctrl+H runs AI on the note you're already in — analyse, rephrase, rewrite on the fly.


The deal

  • Plain .md files on your disk. No cloud, no account.
  • Code runs free, forever. AI is the reasoning layer on top — 20 requests to start.
  • Want unlimited AI? Plug your own key (OpenAI, Ollama, OpenRouter). One-time unlock, you pay the provider a few cents, and your key and notes never leave your machine.

👉 Make it yours: Ctrl+N for a blank note, or open the gallery.

Related recipes