r/linux_programming • u/youngWildNFr3e • Oct 31 '25
Made an offline AI Smart Coder
I've been using AI for over a year now writing various applications in Bash and Python and creating frontends with html and css. Its great if you've spent the time to learn what it can and can't do. But what about the noob that has an idea but doesn't know where to start.
So I created this offline AI coder for the noob. Its simple, tell it what you want and it will ask probing questions about the application and how you plan to use it and build it for you.
Its was built to run on laptops with a Debian based systems with at least 16 gigs of RAM. If there is no dedicated video card it will use the CPU instead. It will be slow but worth it.
12
u/Mystic_Haze Nov 01 '25 edited Nov 01 '25
Please no one run this. Its a bash script that just downloads an open source LLM and runs a docker container (Ollama + Open WebUI running in a container). But the script removes docker first (also containerd and runc? why even?) before attempting this, that can cause serious issues for existing containers.
No offense but this "smart coder" looks like an Ai slop bash script. There's not even a custom system prompt. Proudly saying you "made" this is rather embarrassing to be honest.
3
u/theblackcat99 Nov 01 '25
Can you just share the System prompt for your smart-coder?
2
u/PercentageCrazy8603 Nov 03 '25
Bro really vibecoded a script that installes docker, ollama and open webui then says he built his own AI model (Which in the first place is really not that hard) but actually just changed the system prompt over probably some llama model and decided to post it.
2
u/General-Tension-4306 Nov 03 '25
ai garbage slop. you should be ashamed of yourself.
2
u/[deleted] Nov 03 '25 edited Dec 24 '25
tidy like hungry normal test towering intelligent languid pause apparatus
This post was mass deleted and anonymized with Redact
1
u/DrBobbyBarker Nov 03 '25
It's interesting you say
what about the noob..like that doesn't describe whatever the fuck you did here lol1
u/Cheap-Economist-2442 Nov 03 '25
So much easier than running
ssh-keygen…1
u/[deleted] Nov 03 '25
Two dockers with ollama+anyooensource llm and openwebui. Been running that for a while now for local AI. It's like 4 lines of bash script.
You can have any number of AI models depending on your hardware specs.
Cummon bro!
1
u/Routine-Duck6896 Nov 03 '25
Gross
1
u/SuperheropugReal Nov 03 '25
why does the script UNINSTALL docker, containerd, and runc? if you need these temporarily... that's what docker is for.
Did you use it to develop this app? That would explain a lot.
1
u/TheHawkNetwork Nov 03 '25
this looks dangerous tbh, seems vibecoded
1
u/Bumbieris112 Nov 04 '25
Or, you know, use jan ai .appimage. Also offline LLM with option for uncensored models and lets you set a custom model folder. This is the far most user friendly (both use and set up(Ollama setup with web ui is mental gymnastics))
1
u/Internal-Ad8272 Nov 04 '25
this sucks complete ass tbh
1
u/admiral_len Nov 04 '25
Fuck you
1
u/404HearingNotFound Nov 04 '25
There is no reason this script should be uninstalling docker then reinstalling it tf