qkd · a native code reader · macOS

qkd

AI writes the code now.
qkd is for reading it.
binary 0MB
idle memory 0MB
cold start 0ms
ai features 0
plugins 0
~/code/qkd · main · read
crates/qkd-buffer/src/lib.rs ln 19 · col 1 · rust ⌘Oopen ⌘⌥Ofolder ⌘Pgoto
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
Language
use std::{
fs, io,
ops::Range,
path::{Path, PathBuf},
};
 
use ropey::Rope;
use tree_sitter::Tree;
 
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash)]
pub enum Language {
Rust,
TypeScript,
Python,
Toml,
Markdown,
Plain,
}
impl Language {
pub fn detect(path: impl AsRef<Path>) -> Self {
match path
.as_ref()
.extension()
01 / manifesto
what qkd is, and isn't.
if it isn't on the left, it isn't in the binary.

qkd is

  • +a code reader
  • +a single native binary
  • +tree-sitter highlighting
  • +fuzzy file / symbol jumper
  • +git diff & blame, inline
  • +keyboard first
  • +quiet

qkd is not

  • an AI assistant
  • a writing-first editor
  • an electron app
  • a plugin host
  • a terminal multiplexer
  • a settings playground
  • a startup
02 / loop · interactive
⌘P, three keys,
you're in the file.
type to filter, ↑↓ to select, ↵ to open. real, not a video.
~/code/qkd · main · goto file
live
crates/qkd-buffer/src/lib.rs ln 19 · col 1 · rust
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
goto file esc · close
    this is the real palette — click it and type. no js framework · single-file worker
    04 / size
    orders of magnitude,
    not percentages.
    install footprint on disk. lower is better.
    qkd native rust · single binary
    0 MB
    a terminal editor curses + treesitter
    0 MB
    a native IDE cocoa + clang
    0 MB
    an electron editor chromium + node
    0 MB
    a JVM IDE jbr + bundled plugins
    0
    install-time on-disk · approximate · macOS 15

    fifteen seconds to install.
    one to uninstall.

    one file. drop in /Applications. to remove, drag to trash. nothing else.

    $ curl -L https://qkd.mings.work/qkd-latest.dmg -o qkd.dmg copy
    $ open qkd.dmg && cp -R /Volumes/qkd/qkd.app /Applications/ copy
    05 / about
    standing on shoulders.
    qkd is GPL-3.0-or-later. built on these libraries.
    06 / questions
    three obvious objections.
    the only ones we hear.
    why can't I write code in it?
    you can. we don't stop you. but qkd doesn't ship completions, snippets, multi-cursor or refactors. use vim / cursor / your terminal for that. qkd is for the after.
    no plugins. really?
    really. plugin systems drift editors toward the average of their plugins. we'd rather ship a small thing that stays small.
    will you stay this small?
    that's the only promise on this page. v1.0 will not exceed 15 MB on disk.