Open Source · MIT License

Read code.
Without the IDE.

A beautiful, read-only code viewer that ships as a single Go binary. Point it at any folder — your browser opens instantly with Monaco, Git history, search, and more.

Install View on GitHub
$ curl -sSL https://raw.githubusercontent.com/Ucok23/vidian/main/install.sh | bash
localhost:8080
vidian
cmd
frontend
internal
main.go
go.mod
README.md
main.go
README.md
1// Vidian — single binary code viewer
2
3package main
4
5import (
6  "embed"
7  "net/http"
8)
9
10//go:embed frontend/dist
11var assets embed.FS
12
13func main() {
14  srv := NewServer(assets)
15  http.ListenAndServe(":8080", srv)
16}
vidian
Synchronized
Ln 13, Col 1 UTF-8 Go
< 15 MB
RAM at idle
100+
languages highlighted
1
binary, zero deps
Features

Everything you need to read code.

No extensions, no language servers, no workspace setup. Just open a folder and go.

Monaco Editor

The same engine that powers VS Code. Syntax highlighting for 100+ languages, with proper tokenization — not regex hacks.

Git Integration

Browse full commit history, side-by-side diffs for any changed file, working tree changes, and branch switching — all in the browser.

Global Search

Full-text content search across every file in the project. Hit Ctrl+Shift+F and type.

CSV & SQLite Viewer

Open data files and browse them as a table — no spreadsheet app required. SQLite databases open directly in the browser.

Markdown Preview

Markdown files open as rendered HTML by default, with a "View Raw" toggle to see the source in Monaco.

Media Player

Video and audio files play directly in the browser. Images render inline. Binary files show a metadata card.

Install

Three ways in.

All roads lead to vidian .

# Download and install the latest release
curl -sSL https://raw.githubusercontent.com/Ucok23/vidian/main/install.sh | bash

# Then open any folder
vidian .
vidian ~/projects/myapp
# Requires Go 1.21+
go install github.com/Ucok23/vidian/cmd/vidian@latest

# Make sure $GOPATH/bin is in your PATH
export PATH="$PATH:$(go env GOPATH)/bin"

vidian .
git clone https://github.com/Ucok23/vidian.git
cd vidian
make install   # builds frontend + binary, copies to /usr/local/bin

vidian .
Usage flags
-port 9000Custom port (default: 8080) -dir /pathDirectory to open (default: current) Ctrl+PQuick Open — jump to any file Ctrl+BToggle sidebar

Free and open source.

Vidian is MIT licensed. The core tool is and always will be free. Star it, fork it, ship it.

Star on GitHub Report an issue