r/coolgithubprojects
•
u/UcanTosbaBruh
•
2d ago
•
1
I've been building my own non-Linux operating system for 10 months — it now runs KDE Hyprland Steam and Proton
Hey everyone i have been working on AvoryOS, an independent operating system with its own kernel, for around 9 or 10 months as a hobby project.
It's not based on Linux, but it has a compatibility layer that allows it to run Linux applications and drivers.
Some of the things it currently supports:
- AMDGPU Drivers, Nouveau Nvidia Drivers and Realtek Ethernet drivers through LinuxKPI (i got the idea from FreeBSD)
- Hardware-accelerated graphics on real hardware
- KDE Plasma 6, XFCE, Cinnamon, Hyprland, Sway and DWM
- Steam, Proton, Wine, Firefox, LibreWolf and Chromium
- KVM and AMD-V virtualization
- Its own package manager, Axon
- EXT4, FAT32 and exFAT filesystems
Theres still a lot of work to do, but Im happy with how far the project has come.
I do love to hear your thoughts and feedback!
GitHub: https://github.com/Hidotu-Labs/AvoryOS
If you find the project interesting a star would be greatly appreciated!
9
u/TheUruz 1d ago
what part was more critical to develop (even for the AI)? did you learn something new by doing this? does doijg this improved your trust in what AI can do?
3
u/UcanTosbaBruh 1d ago
Well idsay its probably memory management and file systems because there can be a lot of corruption if i wasnt careful about directing ai or fixing things with my own hand i learned a lot about how operating systems work for example how interrupts work or how scheduling works also in most things it improved my trust in AI like nowadays it can write a code that is 90% safe
9
u/rcampbel3 1d ago
Ok... some questions... I love retrocomputing and have worked on and supported more UNIX variants than 99.9% of the population could even name.
For decades, I've maintained through emulation and virtualzation, the ability to run a lot of legacy OSes and I've even built out maximally configured/patched OS versions with applications for a ton of old platforms like Solaris, IRIX, Next, Amiga, old MacOS versions, OS/2, BeOS, old DOS versions, old windows versions,...
and I was one of the very early linux evangelists when big corporations thought linux was trash and when they actively campaigned against and ridiculed it as being "open sores" and having "no throat to choke"
so, I get nostalgia. I get the excitement of being able to us AI coding agents to go back in time and add or fix things that I always wanted to have or things that bothered me. If you've led software developmnet teams in the past, right now is kind of a golden age of software development.
So, I totally get the uses of using AI to scratch a personal itch. I totally get using AI to fix somethjing old and otherwise dead to keep it alive longer. I totally get the excitement of learning something new about something old. I get the excitement of suddenly being able to do things that you didn 't have the skills or time to do.
But... building a new OS? It's most likely not really new... it's a remix of 90% opensource. I've thought a lot about this... most of my career, a decent fraction of my 'value' was that I knew opensouce intimately, and I could choose the 5 projects or tools that got me to an 80% solution faster than 95% of the other people out there. That's a large fraction of what AI is doing now that amazes people... it's an expert at picking the existing opensource software and tools that solve the majority of the problem and then writing the missing code.
Great. I get that too.
But, what is YOUR motivation, impetus, and need for writing a new OS? What is your project's value proposition? What does it do that Linux doesn't do? Why didn't you simply improve part of Linux? Why should anyone else care or use your code? Who will support it and fix the bugs? What leverage or value does it provide?
3
u/UcanTosbaBruh 16h ago
I just enjoy building operating systems and wanted to see how far I could take my own kernel while maintaining Linux compatibility. Im not trying to replace Linux or claim that AvoryOS is better. Its a hobby project that I maintain myself. I think building something out of curiosity is a good enough reason on its own.
6
u/autra1 1d ago
Cool, did you use a LLM and if yes how?
2
u/UcanTosbaBruh 1d ago
Yeah i used LLM for most of the part i did the planning for what to add would that be long term and when LLM couldnt fix it i would fix it myself
3
3
u/an-italian-shotgun 1d ago
So this is actually Linux copy-paste from LLM in most of its part. But if it works.. Still cool.
(Linux copy-paste because Linux is open-source, therefore LLM have its code in database).
2
u/UcanTosbaBruh 1d ago
Well LLM might have inspired from linux but at some parts its faster than linux soo i think that counts too?
5
4
u/Artistic_Milk_6616 1d ago
Looks pretty cool, but is it vibecoded?
4
u/UcanTosbaBruh 1d ago
I do use AI to assist with development but I wouldn't call it entirely vibe coded I have spent around 10 months developing, debugging and testing the OS on real hardware.
0
4
u/309_Electronics 1d ago
Did you use Any LLM tools? If yes, is it fully vibecoded or only AI assisted? Not trying to be negative, but i just have seen too much kiddos vibecode new crappy slop stuff thats basically a glorified slop browser or webapp, that I just have to ask. No hate though.
I am all in for using AI to assist with big projects (I also largely use AI for some big projects I can't do as a single Dev myself) but there is a difference between using AI to assist and using AI to generate quick slop.
1
u/UcanTosbaBruh 1d ago
Yeah its AI assisted, not fully vibe coded. I handle the architecture, debugging and testing myself.
3
u/309_Electronics 1d ago
For me thats in the AI assisted field but for some people thats already too much, but for me its fine. I also largely used AI to help with my new Music kiosk project as I could not do it myself as a single developer, or atleast not without spending years.
1
u/Gwalenn 1d ago
No offence and I don’t really care nor am here to judge but aren’t you describing a fully vibe coded app? Sounds like beyond the architecture the whole code is written by AI. If that’s not vibe coded then what is vibe coded?
1
u/Nidrax1309 1d ago
Vibe coded is when the project owner has none to almost none programming knowledge, so they trust the AI code blindly and just use-test the output. If you're an actual dev with years of experience and use AI as your coding slave but actually create the architecture first, do a proper code review and tell AI when its code is shit, then it's not vibe coded.
1
u/WalkMaximum 1d ago
Yeah if you actually review all the code, agree, but this is not what OP said
1
u/Nidrax1309 22h ago
Technically... yeah, they didn't say they write and review any of the code and given they describe themselves as a web dev with rather small portfolio on GitHub, one can make their mind on the matter.
1
u/309_Electronics 1d ago
Yeah kind of what i meant. I know quite a bit about code and use the Clankers to do a part of the bulk coding for me but I always review and suggest changes and don't just mindlessly and blindly command the clanker. I dont have a coding degree but I do know the basics and more than that. For me OP's subject is also on the edge of being AI assisted and I ended up choosing for it to be in the AI assisted thingy but thats also because I did not bother looking through OP's code. Atleast OP did say they used AI and not try to sweep it under the rug like other vibe kiddies are doing these days.
10
3
2
u/spiderman1993 1d ago
Does it run crysis 3?
1
u/UcanTosbaBruh 1d ago
Well i didnt try crysis but it would probably run cuz SEUM, Dark souls remastered minecraft Java and rust all of them works
2
2
2
u/hargreaves1992 1d ago
Minimum specs to run?
1
2
u/Choice-Appearance379 1d ago
really interesting, but what's the goal or just for fun
1
u/UcanTosbaBruh 16h ago
Well it was only for fun at the start and now my goal is switching to Avory myself
2
2
u/Unsharded1 19h ago
How long did this take? Do you have experience with low level development like this? What was the level of control you used if you orchestrated AI agents to build this?
1
u/UcanTosbaBruh 16h ago
Around 9 or 10 months I have learned a lot along the way AI assists me with development, but I guide the architecture and implementation.
2
u/toshio-tamura 14h ago
This is very impressive! Can I run the ISO in the release in a Virtual Machine?
1
2
u/NoInside3418 10h ago
Holy a shit, it's a "i built my own os" post that isn't just running a linux kernel!!! I am impressed. Very cool work
1
2
u/MasterOfTheWind1 10h ago
Linux is the Kernel. So you are building a Kernel.
Tell your LLM to give you better context and descriptions for advertising. You only made a kernel and a package manager, the rest is not your work. You are far from being able to claim you "worked on a OS". Seems that you don't even have the concept right.
1
u/UcanTosbaBruh 9h ago
An operating system doesnt require every component to be written from scratch Avory has its own kernel package manager and Linux compatibility layer. Integrating existing software doesn't make it any less of an OS. I have never claimed to have written the third-party software myself.
1
u/MasterOfTheWind1 9h ago
And Linux folks don't claim to release an OS as well. You shouldn't, because yours is not an OS.
1
u/UcanTosbaBruh 9h ago
Dude Linux is distributed as a kernel while Avory is distributed as a bootable and installable operating system. It uses its own kernel alongside existing GNU userland components or other softwares such as KDE Plasma. Reusing existing software doesnt disqualify it from being an OS.
1
u/FewBrief7059 2h ago
"the rest is not your work" sure. If we assume this is a kernel.. then how about you make a posix compliant kernel that can run KDE plasma and you'd realise how hard it is. That's if you even touched OSDev in your life since you clearly didn't. So let me correct you. If it can hand off to ring 3 and execute programs in the userspace and comes with a userland. It's an operating system regardless of circumstances. Which i believe you would not know because you wrote this comment probably because you see too much ai slop or because you are projecting your capabilities on someone else's work.
1
u/MasterOfTheWind1 2h ago
Oh, some random internet guy is telling me that I know nothing and I'm projecting.
For sure I will not get to sleep tonight.
1
u/FewBrief7059 2h ago
I am not telling you that you know nothing. Im telling you that what you are saying is wrong. But sure. Have it your way :P.
2
2
u/MrHaxx1 2d ago
Cool, but does it do anything that Linux doesn't?
8
u/UcanTosbaBruh 2d ago
Hmm well currently its only better at some cases than linux like syscall latency or syscall cpu usage. Because im still fixing bugs and expanding hardware support before doing some serious optimizations or implementing new ideas.
1
u/Mwrp86 1d ago
Great as a Personal Project. But if it needs to run KDE hyperland and Proton That's effectively a Linux operating system
1
u/UcanTosbaBruh 1d ago
Linux compatibility doesnt make it Linux. AvoryOS has its own kernel, and KDE, Hyprland and Proton are just applications running on top of it.
1
u/Tasio_ 1d ago
Given how quickly AI-assisted development is progressing, I'm curious: what subscription plan were you using, and were you constantly running out of usage?
Now that AI can build or modify operating systems, I wonder whether it would be feasible to create a purpose-built OS for a specific use case, such as gaming or running a local LLM, and make it run faster than Linux.
1
1
u/Best_Committee6249 9h ago
So you ask a LLM trained on OpenSource Code like Linux to build a Linux clone
-2
u/Still_Tomatillo_2608 1d ago
More vibeslop Nobody needs or wants. Just stop it, you're wasting a lot of environmental resources
-13
u/Mundane-Tiger-2374 2d ago
Why?
16
u/UcanTosbaBruh 2d ago
Hmm well it was just a hobby project i just started back then i just had a fake fastfetch on kernel and a VESA GUI then i started liking developing it soo here we are
11
0
u/Mean-Atmosphere-3122 15h ago
Whether it used AI or not, I hope it was a good learning experience.
Feel most people take for granted everything that actually goes into an OS such as Windows, MacOS, Linux, BSD, etc.
1
u/francisc00arauj0 10h ago
Watching genuinely interesting projects built by genuinely intelligent people get killed because of AI. Using AI to build hobbyist operating systems is the dumbest thing I’ve ever seen.




12
u/lowrck 1d ago
how harsh is the license for it. do i need to worry about anything if i just want to play around with it?