frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Show HN: FELF – AppImage-like single binaries without FUSE, root, or a runtime

https://github.com/Rucadi/FELF
3•Rucadi•12h ago
Hello HN!

I've always had a bad time redistributing programs that use shared libraries, AppImage in my opinion does too much, and a container is an overkill - not always integrates smoothly.

I've moved to nix since long ago, but redistributing between nix and other distros or vice versa it's still a pain in the ass, more so if you want to run an alien app in nix or a nix app without the package manger in any other distro.

For that, with the help of Claude, I've implemented a format that deduces at pack-time all the shared libraries a program needs, puts them, together with its own glibc and a patched dynamic linker into a single executable.

This means that you don't actually need a runtime nor any special capability, it can run inside a FROM SCRATCH docker, alpine linux etc... And it also supports coreutils-like multiple programs accessible via symlinks, so it is a good fit for that purpose.

You can just use:

> felf pack $(which git) --output git.felf

and you'll have already a git binary that works everywhere, no matter which distro you are building this from. This only packs the binary and their dependencies.

Essentially, the effect is similar as if you LD_PRELOAD's all the libraries that it requires.

In the end, we have been fighting these demons since long long ago, chroots/docker/appimage/flatpack/nix etc...

So this xkcd applies: https://xkcd.com/927/

I'm happy to share the project, I hope it inspires new discoveries/tools in this regard!

Comments

Imustaskforhelp•10h ago
This is really beautiful from first glance.

I had built appseed[0] inspired by zapps.app (curious what you think about that)

and although, I could get some apps like bun and others to work statically using that. I struggled to make it work on things like OBS studio and it certainly had a lot of limitations with how it worked.

It had a different approach of working where instead of pushing everything into a single binary, you had the .so file outside in an external filesystem of binary, could something like this work within FELF as well theoretically (for de-duplication purposes perhaps)?

It seems that your experiment can work for almost every app including OBS and other complicated applications. I am rather really impressed by it and I will try to try it!

I wonder if games can now be FELF'd as well and we can have containerized games into single binaries maybe, where I can just "run" games.

What do you personally think could be the largest benefits of this approach and if there are any further things that you are pursuing in this area?

This is really impressive work and thank you for releasing it! Have a nice day :-D

[0]: https://github.com/serJaimeLannister/appseed

Show HN: JavaScript web apps with WASM layout and GPU rendering in 280 KB

https://github.com/rkaehn/uniform
18•rkaehn•2d ago•4 comments

Show HN: clap.cpp – Audio embedding inference in C++ (GGML)

https://github.com/gorse-io/clap.cpp
2•lutun•1h ago•0 comments

Show HN: Flide: Make Jev-like decision models up to 9.5x faster

https://github.com/OmniJev/Flide
2•unikcc•1h ago•0 comments

Show HN: Vegetable Gardening for Engineers

https://jrcpl.us/contrib/2020/gardening-for-engineers/
185•jrcplus•4d ago•39 comments

Show HN: Coldframe, a honeypot that poses as a supermarket fridge controller

https://github.com/hedgerow-dev/coldframe
280•hedgerow-dev•1d ago•64 comments

Show HN: Jot – Select text anywhere on macOS, tap Shift twice, get Markdown

https://sayjot.xyz/
4•mohakbajaj•3h ago•1 comments

Show HN: SafeScript, a safe version of JavaScript for executing untrusted code

https://github.com/SafeScript/safescript
11•EGreg•8h ago•10 comments

Show HN: Replay your Claude Code logs to count parallel session collisions

https://github.com/dooly6276/claude-bulkhead
2•dooly6276•4h ago•0 comments

Show HN: Velorki - open-source bike navigation that works with just your phone

https://velorki.com
3•morrk0r•6h ago•0 comments

Show HN: Where Were We

https://wherewerewe.app/
53•zkiihne•1d ago•19 comments

Show HN: We compressed a 31B video+audio diffusion model to 14B, 6 steps, INT8

https://github.com/Video-Rebirth/hyperflow-h3-flash
79•jiant•1d ago•14 comments

Show HN:Free Web Tools

https://nyneon.net/tools/
3•Munayem•7h ago•4 comments

Show HN: My first project, an AI-powered financial news analyzer

https://github.com/lamarcol/NotBot
2•lamarcol•7h ago•0 comments

Show HN: Remedy – Prompt stuff out of your feeds

https://getremedyapp.com
4•armatav•7h ago•1 comments

Show HN: Notekpr – An open-source, E2EE alternative to Notion and Obsidian

https://notekpr.md
3•coolapso•11h ago•2 comments

Show HN: An offline desktop companion to help maintain a healthy blink rhythm

https://eyesrhythm.com/
38•prnysoni•1d ago•23 comments

Show HN: Maple – Sub-2-BPW Moe Pruning to Run Gemma 4 26B at 45 TPS on a 6GB GPU

https://github.com/AmSach/maple
20•AmSach•1d ago•5 comments

Show HN: Spindle – a full-featured, type-safe web framework for OCaml 5

https://github.com/hyphatech/spindle
62•zaiev•3d ago•9 comments

Show HN: Bulk-harden all your GitHub repos' settings without an API token

https://gist.github.com/1ch4k/ba726954db1cc509c2071d54f93b5304
2•1ch4k•9h ago•1 comments

Show HN: APC Playground – Stop AI agents from modifying your API tool calls

https://playground.alephapc.com/
2•apcaleph•9h ago•0 comments

Show HN: Waymark – A workflow engine that compiles jobs instead of replaying

https://github.com/piercefreeman/waymark
85•icyfox•3d ago•46 comments

Show HN: Ghanaian street games you can play in the browser

https://www.ghanastreetgames.com/
4•samuelaidoo45•14h ago•0 comments

Show HN: LLM weight editing tool made by a 15-year-old

https://github.com/Miyamoto-Renya/LaplacesScissors
13•032renya•1d ago•2 comments

Show HN: Nexjoin – A C++ remote desktop alternative (Windows XP+, macOS 10.13)

https://nexjoin.io/README.html
2•szigand•10h ago•1 comments

Show HN: Elo Ratings for Tests, ODIs, and T20Is

https://outside-edge.github.io/side_order/
3•neehao•11h ago•2 comments

Show HN: Build a PC in 3D in the Browser

https://www.buildcores.com
3•ozaiworld•12h ago•3 comments

Show HN: FELF – AppImage-like single binaries without FUSE, root, or a runtime

https://github.com/Rucadi/FELF
3•Rucadi•12h ago•1 comments

Show HN: Maple – Run Gemma 4 26B on a 6GB Laptop GPU at 45 TPS (Sub-2-BPW)

https://amsach.github.io/maple/
4•AmSach•12h ago•0 comments

Show HN: Green tests are not proof – verifier for C/C++ and firmware fixes

https://unfix.dev/
15•u-pump•3d ago•2 comments

Show HN: Recalc – Spreadsheet where cells can be Claude Code or Codex terminals

https://github.com/sshah03/recalc
3•sshah03•14h ago•2 comments