Brailliant

approvedunreviewed

by Matheus Faveri

Turns images into vivid Unicode text art that lives entirely inside your notes.

↓ 3 downloadsUpdated todayMIT

Brailliant

Turn any image into vivid Unicode text art that lives entirely inside your Obsidian notes — no binary image file required.

Brailliant converts PNG/JPG/GIF/BMP/WebP images into dense Braille Unicode (or classic ASCII) art, with real color baked directly into the text if you want it. The result is just plain text: it survives export, sync, grep, version control, and — if you choose — deleting the original image altogether.

⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣀⣴⣾⠿⠛⠉⠁⠀⠀⠀⠀⠀⠀⠀⠀⠈⠉⠛⠿⣷⣦⣀⠀⠀⠀⠀⠀⠀⠀
⠀⠀⠀⠀⠀⠀⠀⠀⣠⣾⠟⠋⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠙⠻⣷⣄⠀⠀⠀⠀⠀
⠀⠀⠀⠀⠀⣰⣿⠋⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠙⣿⣆⠀⠀⠀⠀
⠀⠀⠀⠀⢠⣿⠇⠀⠀⠀⠀⠀⠀⢠⣿⣿⣿⣷⡀⠀⠀⠀⠀⠀⠀⢀⣾⣿⣿⣿⡄⠀⠀⠀⠸⣿⡄⠀⠀⠀
⠀⠀⠀⠀⣿⡇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠉⠉⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠉⠉⠀⠀⠀⠀⠀⠀⢸⣿⠀⠀⠀
⠀⠀⠀⠀⠘⣿⡆⠀⠀⠀⠀⠀⠀⣀⣄⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣠⣀⠀⠀⠀⠀⢰⣿⠃⠀⠀⠀
⠀⠀⠀⠀⠀⠹⣿⣄⠀⠀⠀⠀⠀⠘⢿⣧⣀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣀⣼⡿⠃⠀⠀⠀⣠⣿⠏⠀⠀⠀⠀
⠀⠀⠀⠀⠀⠀⠙⢿⣦⡀⠀⠀⠀⠀⠀⠈⠙⠛⠿⣷⣶⣾⠿⠛⠉⠁⠀⠀⠀⠀⠀⣠⣾⡿⠋⠀⠀⠀⠀⠀
⠀⠀⠀⠀⠀⠀⠀⠀⠈⠙⠿⣶⣤⣀⡀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣀⣠⣴⡿⠟⠋⠁⠀⠀⠀⠀⠀⠀⠀⠀

Why

Images stuck inside notes are a liability: they bloat sync, break on export, don't show up in full-text search, and can silently vanish if a linked file is moved or an attachments folder gets cleaned up. Brailliant turns an image into something a markdown note was always good at — text — while keeping it genuinely recognizable to the eye.

This is step one of a larger idea: lossless-enough PDF/EPUB → Markdown conversion where images never block portability. Brailliant is the image half of that, usable on its own today.

Features

  • Braille or ASCII rendering — Braille packs 8 sub-pixels per character (far denser than classic ASCII ramps); ASCII is available for a more old-school look.
  • Floyd–Steinberg dithering for much better tonal range on real photos, not just line art.
  • Color, baked right into the text — optionally encodes each cell's color (RGB565, ~65k colors) as compact hex digits in the same code block. Turn this on and you can delete the source image entirely; the art stays in full color.
  • Built-in zoom viewer — the reading-view renders the art on a <canvas> with a zoom slider. Counter-intuitively, zooming out often makes dot/pixel art far more legible to the human eye.
  • Context menu integration — right-click an image in the file explorer, or right-click a line with an embedded image in the editor, and convert on the spot. No command palette required.
  • Vault-wide embed replacement — converting a file finds and replaces every ![[image]] / ![alt](image) embed of it across your vault, not just the one you clicked.
  • Optional auto-delete — move the original image to the trash automatically after conversion, but only once color data has actually been baked into the note (a safety check prevents ever losing color data you can't get back).

Installation

Community Plugins (pending review): search for "Brailliant" in Settings → Community plugins once it's listed.

Manual install (works today):

  1. Download main.js and manifest.json from the latest release.
  2. Copy both into <your vault>/.obsidian/plugins/brailliant/.
  3. Reload Obsidian (Ctrl/Cmd+P → "Reload app without saving") and enable Brailliant in Settings → Community plugins.

Via BRAT: add MFaveri/obsidian-brailliant as a beta plugin.

Usage

  • Command palette:
    • "Convert embedded image (cursor line) to text art" — converts the image referenced on the current line.
    • "Convert vault image to text art (pick file)" — pick any image in the vault to convert.
  • Right-click an image file in the file explorer → "Convert to text art (Brailliant)".
  • Right-click a line with an embedded image in the editor → "Convert image to text art".

Both menu entries appear in their own labeled section, separate from the default file actions.

How it works

  1. The source image is drawn to an off-screen <canvas> and downsampled to a grid sized from your chosen column count.
  2. Luminance is extracted and (optionally) run through Floyd–Steinberg dithering before being packed into Braille dot patterns or an ASCII density ramp.
  3. If color baking is on, the average color of each cell is quantized to RGB565 and hex-encoded into a #COLORS# section of the same code block.
  4. In reading view, a registered code-block processor decodes everything synchronously and paints a colored <canvas> with a zoom control — no network, no external image needed.

Everything happens locally in the browser engine Obsidian already runs — no servers, no telemetry, no runtime dependencies.

Settings

SettingWhat it does
ModeBraille (dense) or ASCII (classic)
ColumnsOutput width in characters — more columns = more detail
Invert colorsFor light-on-dark source images
DitheringFloyd–Steinberg; recommended for photos
GammaContrast curve before dithering
Bake colors into blockStore per-cell color as text so the art survives deleting the source image
Delete original after convertAuto-trash the source image post-conversion (only when colors were baked)
Colorize in previewToggle the colored canvas renderer vs. plain monochrome text
Default zoom %Initial zoom level of the viewer
Cell sizeInternal render resolution per character, before zoom

Roadmap

  • PDF/EPUB → Markdown pipeline built on top of this converter, so whole documents can become fully portable, image-free notes.
  • Smarter palette options (adaptive/dithered color) for even better fidelity at the same text size.

Contributing

Issues and PRs welcome. The project is plain TypeScript + esbuild, no framework:

npm install
npm run typecheck
npm run build

License

MIT

For plugin developers

Search results and similarity scores are powered by semantic analysis of your plugin's README. If your plugin isn't appearing for searches you'd expect, try updating your README to clearly describe your plugin's purpose, features, and use cases.