feng19
Elixir Data Viewer - A web viewer for Elixir data structures
Elixir Data Viewer
A read-only web viewer for Elixir data structures with syntax highlighting, code folding, line numbers, and a Tokyo Night theme.
Built with vanilla TypeScript + DOM — no CodeMirror, no React — powered by lezer-elixir for accurate parsing.
Features
-
Syntax Highlighting — Accurate Elixir syntax coloring via
lezer-elixirparser, matching Tokyo Night theme -
Code Folding — Collapse/expand maps, lists, tuples, keyword lists, bitstrings, and multi-line strings
-
Line Numbers — Gutter with line numbers and fold indicators
-
Floating Toolbar — Per-viewer toolbar (appears on hover) with:
-
⊟ Fold All
-
⊞ Unfold All
-
Word Wrap toggle -
⎘ Copy to clipboard
-
⧩ Filter by key
-
-
Key Filtering — Hide specific key-value pairs by key name (e.g. filter out
socket,secret_key_base) -
Multiple Viewers — Support multiple independent viewer instances on the same page
-
Configurable Toolbar — Show/hide individual toolbar buttons via options or HTML
data-*attributes -
Word Wrap — Toggle word wrap for long lines
-
Zero Dependencies — Only peer dependencies on
lezer-elixirand@lezer/common/@lezer/highlight
Visit the website directly and try out the online demo.
Most Liked
dimitarvp
feng19
Last Post!
feng19
Popular in Announcing
Other popular topics
Categories:
Sub Categories:
Forums
Popular Tags
- #ecto
- #liveview
- #troubleshooting
- #learning-elixir
- #deployment
- #library
- #erlang
- #testing
- #genserver
- #mix
- #absinthe
- #remote-other
- #otp
- #plug
- #how-to-question
- #macros
- #postgres
- #channels
- #elixirconf
- #exunit
- #discussion
- #code-sync
- #javascript
- #podcasts
- #onsite
- #dialyzer
- #docker
- #authentication
- #umbrella
- #full-time-contract
- #podcasts-by-brainlid
- #ecto-query
- #elixir-ls
- #phoenix_html
- #iex
- #blog-post
- #graphql
- #genstage
- #ai
- #websockets
- #supervisor
- #elixirconf-us
- #advent-of-code
- #distillery
- #processes
- #api
- #forms
- #metaprogramming
- #security
- #hex










