r/ClaudeAI • • Aug 09 '26

Built with Claude My notepad opens almost any file — and when it can't, Claude builds the viewer in a few minutes

Follow-up to my earlier Boards post. Since then boards got the piece that makes them genuinely useful day to day: a board can register itself for a file mask and open as the editor for that file type.

So "what opens this file?" now has three answers in Persephone, the free and open-source dev notepad for Windows I build together with Claude:

1. Built in. Monaco with 50+ languages, JSON/CSV/JSONL grids, Markdown, Mermaid diagrams, SVG and HTML previews, images, audio/video, ZIP/RAR/7z archives (including a look inside .docx/.xlsx), side-by-side diffs, REST client, notebooks, Excalidraw drawings. The clip is just me opening a folder of mixed files, one after another.

2. Installable. A published catalog (persephone-boards) adds Word, Excel, PowerPoint, PDF, draw.io, SQLite and PE/EXE viewers on demand. Open a matching file and the install offer appears right in the editor-switch control; the ZIP is checksum-verified and trusted only after you accept it.

3. Made to order — this is the new part. If nothing opens your format, ask Claude to build the viewer. A board is a folder of plain HTML/JS/CSS (sandboxed, no remote network) plus an optional backend script. Its manifest is what turns it into an editor:

"fileMasks": ["*.drawio"],
"editorName": "DrawIO",
"editorPriority": 100

From then on the board appears in the editor switch for those files. Inside it, persephone.getFilePath() tells the board which file it was opened on, and readFile / writeFile read and save it — so it can be a read-only viewer or a real editor. There is also folderMasks to narrow the claim, e.g. take over DASHBOARD.md only under a tasks/ folder and leave every other DASHBOARD.md to the Markdown preview.

Claude drives that whole loop over MCP: scaffold the board, write the files, open it on a real file, click through it with browser automation, refresh, iterate. A proprietary log format, an internal binary blob, a config nobody ever wrote a viewer for — it stops being a "someday" item and becomes a folder plus a few minutes of agent time.

Free and open source (Windows): https://github.com/andriy-viyatyk/persephone

Happy to answer anything about the board/editor contract or the MCP side.

0 Upvotes

3 comments sorted by

4

u/LostJacket3 Aug 09 '26

geez, what a waste of ressource

1

u/flavordrake Aug 09 '26

In principle I really like the idea - human in the loop, strict notepad interface, it's a good application of users with their own inference to spend to solve their own issues.