bartblast

bartblast

Creator of Hologram

Hey Elixir community! :waving_hand:

First, I owe you all an apology. There’s a running joke among my friends that Hologram is like nuclear fusion or fully autonomous Tesla cars - always “coming very soon™” :sweat_smile:. While I’ve been telling many of you earlier dates, life had other plans.

I want to be transparent with you - the past two years have been incredibly challenging for me health-wise. I went through three surgeries, and from January to July, I was bedridden and unable to walk. It completely turned my life and work upside down. But I’m back now, stronger than ever, and ready to finally share Hologram with you!

What’s Hologram?

Hologram is an isomorphic web framework that runs as your frontend layer in Elixir projects. While it requires Phoenix to run, you can use it with other backend solutions like Ash (HASH stack, anyone? :wink:). What makes it special? I’ve rebuilt it from the ground up with the ambitious goal of supporting 100% of Elixir syntax eventually.

Current Requirements

  • Elixir 1.13.4 - 1.17.3
  • OTP 22.3 - 27.1

(Other versions might work too, but they haven’t been tested yet)

Let’s Talk About the Current State

I want to be upfront about some current limitations and quirks:

  1. While we don’t have 100% Elixir syntax coverage yet, what’s implemented lets you fully experience Hologram’s programming model.
  2. Live reloading is a bit moody right now - if you run into issues, try restarting the server or deleting the _build directory.
  3. Bundle sizes are currently larger than they’ll eventually be. The transpiled code is intentionally verbose for easier debugging.
  4. Compilation is taking its time because everything recompiles on any change. We had incremental compilation before, but I temporarily removed it for better debugging.
  5. Rendering is currently slower than planned due to full page rerenders on component state changes and a temporary bitstring implementation (yes, we’re using integer arrays for bits right now :sweat_smile:).

What’s Next?

I’m working on Hologram full-time for the next couple of months, focusing on:

  • Addressing all the limitations mentioned above
  • Implementing cookies and session support
  • Porting the remaining Erlang functions to JS
  • Adding tons of optimizations

I believe we’ll be production-ready in a few months. I’ve spent the past months sharpening the saw, and now I’m all in!

How Can You Help?

The best help right now would be:

  • Play with Hologram and report any bugs you find
  • Share your feedback and experiences
  • Stay tuned for coding tasks if you’d like to contribute directly

Got questions? Create a topic in our Hologram Forum - I’m there daily, and your questions will help shape the documentation!

New Website! :artist_palette:

Check out the new Hologram website! (Desktop users, you might want to disable f.lux or similar tools for an hour to get the full experience :wink:)

Special Thanks :heart:

A massive thank you to everyone who reached out, showed interest, and cheered me on during this journey. And the most special thanks goes to Emilia :purple_heart: - without you, I don’t know how I would have made it through those bedridden months. You’re amazing!

Spread the Word!

If you’re excited about Hologram, please share this announcement with your network! Let’s get more eyes on this project and build something amazing together.

Let’s make web development in Elixir even more awesome! :rocket:


P.S. Remember, this is just the beginning. The current quirks will be resolved soon, and I can’t wait to see what you’ll build with Hologram!


GitHub repo: GitHub - bartblast/hologram: Full stack Elixir web framework that intelligently compiles Elixir client-side code to JavaScript · GitHub

Website: https://hologram.page/

First 10 of 20 Posts Switch mode

AstonJ

AstonJ

Congrats on the launch Bart! :partying_face:

It’s great to see the Elixir ecosystem expanding, and in a way where new tools like Hologram are designed to work with stalwarts like Phoenix :smiley:

Btw a quick easy way to link to the Hologram forum is forum.elixirforum.com/hologram :023:

I’m also sorry to hear you’ve been poorly, I wish you a continued speedy recovery and you and Hologram all the very best for 2025!

ken-kost

ken-kost

I got a hobby project in Ash, I will try it on there. Will post impressions. From the looks of it looks promising! :call_me_hand:

venkatd

venkatd

This is exciting stuff! In particular I’m excited about the ability to write Elixir on the full stack :slight_smile:

bartblast

bartblast OP

Creator of Hologram

Sounds good! Let me know in case you need help! More documentation and guides are in progress!

zachdaniel

zachdaniel

Creator of Ash

needs an igniter installer :wink:

EDIT: me shortly:

mix igniter.new hash --with phx.new --install ash,hologram

With an igniter installer that sets up hologram you could have a one liner setup :partying_face:

Excited to tinker.

bartblast

bartblast OP

Creator of Hologram

nice! :star_struck:

zachdaniel

zachdaniel

Creator of Ash

Setup was easy, seems pretty clear how one might leverage Ash inside of commands :slight_smile:

No notes really :smile: Wish I had a bit more time to tinker, but I don’t see any challenges to folks using Ash with Hologram as it stands now.

At some point I think a super power might be declarative modeling data sources for pages, and how commands affect that data. I’ve got some ideas for a “data pipeline” concept that might slot well into Hologram some day :smile:

jam

jam

Congrats Bart! Hologram looks awesome. Looking forward to seeing where you take it. Also great to hear that you’re doing better health wise.

A few initial thoughts:

  1. Curious how the actions and commands work for a real world scenario. Looks like those areas are wip in the docs so looking forward to reading more when they’re ready.

  2. A couple of simple app examples (e.g. todo app or basic chat) would also be really helpful to see recommended ways of structuring an app.

  3. It looks like all state hangs off a component. Is it possible to have a global store that any component could access?

  4. Would also be great to see how you might approach working with browser based APIs, e.g. localStorage and indexedDB and if it’s possible to use an npm package like idb.

sreyansjain

sreyansjain

Congratulations Bart. I wish you all the success (and good health).
I would tinker with hologram and can’t wait to use it in future projects.

dli

dli

Wow, this effort is insane! Congrats on the release.

At first glance, the JavaScript transpiler would be a great standalone product as well. :exploding_head:

Where Next? Top

Trending in News & Updates Top

kip
I’m a bit excited to announce that Localize and friends are now at release 1.0. Even though it’s a 1.0 release, it stands on 8 years of w...
New
bartblast
After building Hologram and sharing updates across various places, I’ve realized there’s a lot happening that doesn’t always make it to t...
New
bartblast
Hologram v0.11 is out! Two headline features this release. First, Elixir regexes now run in the browser. They were server-only until now,...
New
nseaSeb
Just published search_ash 0.5.0 (with search_core 0.4.0) on Hex. What’s new: synonyms You can now declare a synonym dictionary per lang...
New
mudasobwa
After years of struggling I made StreamData dependency optional. Finitomata.ExUnit got testing primitives for Persistence. Full back co...
New
mudasobwa
MdexMultilineCells is an MDEx plugin enabling multi-line cells in Markdown tables with full inline/block Markdown rendering and automati...
New
sullyMusty
ActiveMemory 0.8.0 — in-memory tables that speak Ecto ActiveMemory 0.8.0 is now on Hex. ActiveMemory is an in-memory store built on ETS ...
New

Other Trending Topics Top

JesseHerrick
Hey, I’m Jesse and I’m the main contributor behind Dexter, a full-featured, lightning-fast Elixir LSP optimized for large codebases. It s...
New
jimsynz
Beam Bots (or just BB for short) is a framework for building fault-tolerant robotics applications in Elixir using familiar OTP patterns. ...
New
mcass19
ExRatatui lets you cook up rich terminal UIs in Elixir, powered by Rust’s ratatui via Rustler NIFs. Build interactive terminal applicatio...
New
Damirados
Hello everyone. After busy few months I am happy to announce v0.1.0 of Emerge & Solve. They are GUI (Emerge) and State management (S...
New
netoum
Corex is an accessible, unstyled UI component library for Phoenix that integrates Zag.js state machines using Vanilla JavaScript and Live...
New
ausimian
Emily is an Elixir library that runs Nx computations on Apple’s MLX. Install it as the default Nx backend and Nx, defn, Axon, Nx.Serving,...
New

We're in Beta

About us Mission Statement