[LLM for Code] Super-comma-nix: nix shell and run helper with multiverse support, sandboxing and more

Hi All

super-comma is an ultra-fast, zero-dependency Nix command runner helper written in Rust and powered directly by nixpkgs-multiverse. It is inspired by the project comma nix. But my project is loaded with batteries and much more DX(Developer eXperience). You’ll love it.

This project makes the consumption easier for nix shell, nix run commands and versions list all with simple handy commands like ,(nix run) ,s(nix shell) ,v(versions checking) .

The project have some cool flags and also integrations like nix-output-monitor and landrun for sandboxing all with just few flags. Dont want to type these nom and sandboxing flags verbose? U can add it to env variable for session or globally as like config. Go read the README, you’ll love it.
Though plenty of features, I sticked to this principle: Simple by default and powerful when needed
So learn as u go.
Want more integrations? Please feel free to raise an issue

Sandboxing is pretty cool, u want to try a software but dont want it to connect to inernet?

This project enables some real adhoc shell environments and with the sandboxing etc figure out the possibilities for everyday usage, CI etc

The project has zero dependencies for rust. Coz this project just makes u type short commands and the program just does some splitting and joining of strings. So please feel free to unslop some logic written by the LLM there if u think it can be simplified. Skeptic coz LLM(though it’ll change in future)? just use the program with -o flag and u can just use the program to give you the final command without running.

The Github README is carefully crafted to explain all the features, so take your time there.

I’m a nix and nixos user since 2024, so I know some nix and the project design and integration of nom and landrun etc purely my design and idea and instructed the llm with my knowledge. But i’m not having good rust knowledge, so that part is covered by LLM.
I wanted to write it with PF languages like haskell etc, but I wanted to quickly bring the idea to fruition with my brainstorm of features. Code maybe slop, but the ideas, design choices aren’t.
I cant be rude enough to ask real programmers to review the code, but please feel free to suggest anything in the issues.

Thank You
Vivekanandan KS
A passionate Nix and NixOS user :heart:

2 Likes

I don’t mean to be a buzzkil and I’d hate to discourage you from having fun, but the unseriousness of this “announcement” compared to your indifference to the code itself makes me think you have just asked your chatbot for something, took one look at the output, and decided to dump it in our timeline. Now I have very little stake in this entire ordeal, but I’d like to ask you to at least show a little bit of respect to people and either write coherently (so that we at least think you care) and with the intent of communicating or don’t announce total slop, hoping we fix it for you.. At the very least, thank you for disclosing.

7 Likes

Thanks for replying.

Idk what u mean unserioushere​:smiling_face_with_tear:

As I mentioned, this project is aimed to improve the UX and features addition for consuming nix shell and run commands in an easy way.

The language I chose is rust, coz of it’s memory safety at compile time. But I’m not a rust person, so with the help of AI I created the code.

But since it’s a string manipulation project, I read stuff like the final command it’s showing in output. Also why I created the -o flag too

Also as I mentioned, I’m trying to learn rust and will read and verify the whole code including the logic etc not just output commands wise.

The design idea is what I wanted to convey via this project so that it might help others to understand the design not the code itself.

I’ll be happy to clarify u more if u have any more too.:handshake:

Postings on this forum tend to pass a certain self-review threshold. That holds for the resources that they advertise, as well.

Announcing a project and that you “will” in the future read and verify the code does not meet the expectations of many participants in this forum. And some will bother telling you that.

6 Likes

Got it. I thought we allow LLM built projects here if I mention it.

If I can show vibe coded projects, any standards for it?

Anyway gonna learn rust to verify or change the code to make it more valid. Thanks for the input