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/

Showing Posts 1 to 10

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

sorenone
Today we’re releasing Oban for Python. Not an Oban client in Python. Not a pythonx wrapper embedded in Elixir. Nope, it’s a fully operati...
New
bartblast
I’ll be using this thread to share Hologram patch release announcements. Minor releases will continue to get dedicated threads with blog ...
New
sorenone
This release unifies configuration for queues, repos, and services, swaps opaque timing integers for readable durations, and backports pe...
New
pcharbon
:heart::heart::heart::heart::heart::heart::heart::heart::heart::heart::heart::heart::heart::heart::heart::heart::heart::heart::heart::hea...
New
jvoegele
Bond brings Design by Contract to Elixir: preconditions, postconditions and invariants as executable specifications, checked at runtime a...
New
webofbits
Aludel 0.7.0 is released :tada: Since 0.5.0, Aludel has grown into a much more complete LLM evaluation toolkit for Elixir and Phoenix app...
New

Other Trending Topics Top

mudasobwa
I am happy to introduce the very α version of the new programming language compiled to BEAM. Welcome Cure. It has literally three kille...
New
garrison
Hobbes is a low-level distributed database for the Elixir programming language. Hobbes provides a simple, safe, and scalable storage lay...
New
marciok
Hi there! We created Gust: A task orchestrator inspired by Airflow. For those who have never heard about Aiflow, it’s a Python-based wor...
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
Dmk
Xamal is a deployment tool for Elixir apps that deploys native releases to bare metal servers over SSH. It’s a port of GitHub - basecamp/...
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

We're in Beta

About us Mission Statement

Options

Thread Display Mode




Thread Preview

Skip Thread Previews