🎙️

Elixir LiveView Single Binary

Elixir LiveView Single Binary

We had two repos of Elixir, seventy-five LiveView components, five sheets of high-powered Phoenix channels, a saltshaker half-full of SQLite databases, and a whole multicolored collection of Burrito deployables, Tauri binaries, WebView wrappers, hot-reloaders… Also, a quart of WebSockets, a quart of GenServers, a case of Ecto queries, a pint of raw BEAM bytecode, and two dozen supervisors.

The only thing that really worried me was the WebView. There is nothing in the world more helpless and irresponsible and depraved than a developer in the depths of a cross-platform binge, and I knew we’d get into that rotten stuff pretty soon.

Read more →

Connect Livebook to Phoenix on Vps

Connect Livebook to Phoenix on Vps
Livebook is very powerful application which can be used in many different ways with your Phoneix project. I have few apps running on my VPS and sometimes I would like to run some functions without creating interface for them from admin side, such as cache clean up. Perhaps run some analytical queries to the database and much more.
Read more →

Single File Chat in Elixir Phoenix

Single File Chat in Elixir Phoenix

Meet PhonenixPlayground

I found this library on github suggestions and I always wanted to have something simple and quick to test out LiveView prototypes. What can be quicker than opening Livebook and trying something there? Folks behind PhonenixPlayground made both of my wishes come true!

If you would like jump straight into the code:

Run in Livebook

Read more →

Notion Github Backup

Notion Github Backup

Data is expensive

I write around 2-3 important notes a day. And don’t actually worry if my laptop will be stolen, but the data on it..

Since Im heavy notion user I was looking for automated backup solution. Not that I don’t trust notion, trust but verify, right?

Backup

  1. Create a private github repo

create private repo

  1. Go to actions tab and click on set up a workflow yourself ->

set up workflow

Read more →

Flexible Env in Go V2

Flexible Env in Go V2

lalabuy948/genvutils

Motivation

As you probably saw my founding of two nice libraries that allow you beauty and easy abstraction on dot and just environment variables. You can check it there

After some time I decided to create another open-source library for the world and I merged the functionality of packages which you can find in the article above. I started from scratch and you are more than welcome to have look on it on my GitHub -> github.com/lalabuy948/genvutils

Read more →