Тёмный

Make a GUI Task Management App in pure C (no bloat required) 

Cococry
Подписаться 6 тыс.
Просмотров 106 тыс.
50% 1

I'm gonna show you how you can make a fully featured UI Task Management
application in pure C with libleif for the UI frontend.
This project will certainly look great on any portfolio :)
The UI Library on GitHub (give it a star :P) - github.com/cococry/leif
The Source Code of the application: - github.com/cococry/todo

Наука

Опубликовано:

 

28 май 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 260   
@friedrichmyers
@friedrichmyers 29 дней назад
These are the kind of videos that teach you how a professional thinks.
@olgierd245
@olgierd245 15 дней назад
Adding your channel to the "need to watch every video of this guy" playlist. Will come back here soon
@itskittyme
@itskittyme 12 дней назад
also don't forget to write code yourself because only watching someone code is not an excuse for not doing your job !!
@konstantinrebrov675
@konstantinrebrov675 29 дней назад
I've been a C programmer for about 5 years now, and I didn't know you could do something like this! I learn something new about programming every single day, haha. It's good.
@bossysmaxx3327
@bossysmaxx3327 28 дней назад
have you heard abou ncurses?
@TheKillerninga
@TheKillerninga 27 дней назад
You can do anything possible in math anything in physics can be simulated in any programming lang en.wikipedia.org/wiki/Lambda_calculus
@konstantinrebrov675
@konstantinrebrov675 27 дней назад
@@bossysmaxx3327 What's that?
@konstantinrebrov675
@konstantinrebrov675 27 дней назад
@@TheKillerninga Sounds cool, I don't see how that's relevant to this video though.
@raaaawrh9675
@raaaawrh9675 27 дней назад
@@konstantinrebrov675 This is relevant only in the broadest sense (maybe even philosophical) - you can simulate any mathematical system on a computer using a programming language. It should be noted, however, that the programming language must be Turing complete.
@Spiderfffun
@Spiderfffun 17 дней назад
dude this type of content looks awesome (as well as the whole video, from going thru it a bit) i will definitely sit down and watch this when i got the time
@Zeni-th.
@Zeni-th. 29 дней назад
Nice, subbed Please keep making vids like these, nice thumbnail, no bloat, just good stuff, with a nice topic
@vindecode5837
@vindecode5837 23 дня назад
I like the way you explain every time you write a code, I'm currently learning c this channel is the best, you deserve a million of subscribers bro❤
@nsfnd
@nsfnd 16 дней назад
When i first started C this video helped me a lot. ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-443UNeGrFoM.html
@noki9930
@noki9930 28 дней назад
I like your way of speaking, subscribed!
@vipulkumar2845
@vipulkumar2845 17 дней назад
amazing man!, loved your setup and neovim and the UI of the app is really cool 🤟
@fuzzy-02
@fuzzy-02 28 дней назад
This is great! I studied C so hard in university and wanted to build something
@ryonagana
@ryonagana 25 дней назад
you're like Eskil Steenberg creating every UI just using opengl nice one subbed
@zephaniahqamer
@zephaniahqamer 18 дней назад
Man I wish I was this efficient. I wasn't a vim beleiver but now it's on my list of things to learn.
@billy.n2813
@billy.n2813 23 дня назад
This is so COOL! Thanks for sharing this!
@tech-nomade
@tech-nomade 2 часа назад
Endlich normale Leute :D Subscribed 1 minute into the vid! Arch, nice rofi style, NeoVim as IDE, nice looking C based GUI. Obviously a man with a fine taste.
@623135465
@623135465 25 дней назад
love u, man, great job
@TheAndiKurz
@TheAndiKurz 10 дней назад
I legit, thought you are going to make a task manager, like for processes running XD But this video is also very good, keep up the pace man!!
@magframed
@magframed 27 дней назад
Great Video! Straight to the point with a great explanation! Could you also make a video for your nvim setup?
@Gangbuster74
@Gangbuster74 27 дней назад
I subscribed in the first min of video awesome work🎉
@cod3ddy74
@cod3ddy74 19 дней назад
i've wanted to create my own task manager app in c. my first version, wacky version was console based lol. i'm going to learn more from this.. thank you
@rednibcoding3412
@rednibcoding3412 21 день назад
Nice Video and awesome ui library. Please make more videos about leif. I gave it a star and subscribed for more videos about leif :)
@BekBrace
@BekBrace 29 дней назад
Great job my friend
@pradyumnabilagi7661
@pradyumnabilagi7661 2 дня назад
love these kind of videos. THE G.O.A.T.😁😁
@jorgegomes83
@jorgegomes83 29 дней назад
22:58 It seems a useful feature to this would be something like a mode where the cursor moves right to left. But probably it is easier said than done.
@TheoParis
@TheoParis 29 дней назад
Nice video, starred and subscribed :D
@prasannadeshpande4435
@prasannadeshpande4435 28 дней назад
I see C, I subscribe.
@venilc
@venilc 27 дней назад
Why do I always watch videos that make me feel bad about my current skillset, apparently you're like 8-9 years younger than me and can already do like way more than I ever could lol bruder, you will do great in life.
@paulywalnutz5855
@paulywalnutz5855 26 дней назад
this is awesome i am totallly doing this
@GamingClips-ww8fu
@GamingClips-ww8fu 17 дней назад
I fcking love ur setup man!
@etfstrategy-vb2eo
@etfstrategy-vb2eo 27 дней назад
How does this compare to Raylib? I started playing with it recently. Although it comes with a GUI tool, I have not tried that yet.
@hayatu3378
@hayatu3378 25 дней назад
i have never used neovim, but i got quite interested about it after watching this. Could make a video going through your configuration?
@bobby9568
@bobby9568 12 дней назад
more videos like this please, from scratch
@shankarr4276
@shankarr4276 29 дней назад
The work and dedication put in executing this is amazing to me! Keep it up and I hope you make the best out of it. Also That’s a really beautiful nvim setup! I’d really appreciate it if you can share basic changes / references needed to create the same, if it’s not too much of a hassle? Thanks!
@cococry
@cococry 29 дней назад
thank you for the great works man. i am just using nvchad for the neovim setup :) its really not hard to configure
@shankarr4276
@shankarr4276 28 дней назад
@@cococry Okay I’ll check it thanks :)
@its_code
@its_code 29 дней назад
❤❤❤amazing 👏
@ThePandaGuitar
@ThePandaGuitar 29 дней назад
subbed because C.
@TheKillerninga
@TheKillerninga 27 дней назад
Impressive
@D1g1talAli3n
@D1g1talAli3n 11 дней назад
I'm super interested in your neovim configuration. How did you get it to look like that?
@user-sw2zs8zb6o
@user-sw2zs8zb6o 6 дней назад
is there a tutorial about how to achive this terminal look? it looks very smooth! btw loved the video
@unsuspiciousinternetuser
@unsuspiciousinternetuser 13 дней назад
ich liebe es wenn man mal die deutschen youtuber findet bei denen man sich nicht schämt wenn sie englisch reden, gutes ding!
@dav1dtv847
@dav1dtv847 9 дней назад
what is that ide you are using im new in programing i learned c and i look at this video and its fire
@mm64
@mm64 27 дней назад
No Bloat Required - install glfw
@steftrando
@steftrando 13 дней назад
I would have preferred a video where you try to reimplement glfw from scratch in pure C
@SystemGlitch
@SystemGlitch 14 дней назад
Hey there! I was writing up a little minesweeper game with your Leif library. It worked on my pc, but on my laptop after installing it my vscode stopped being able to launch. It was something to do with the mesa library not being able to load properly. Think you could give me some tips?
@kakun7238
@kakun7238 27 дней назад
man how you know all the methods given by the library jsut so cool
@jackmortem4557
@jackmortem4557 10 дней назад
Damn right, granny get the high priority.
@dewmi4403
@dewmi4403 27 дней назад
Beautiiiful
@amarzbar_
@amarzbar_ 29 дней назад
Hey boss, good stuff. Do you have dotfiles for your vim setup? Cheers!
@dkkogmaw1311
@dkkogmaw1311 29 дней назад
looks like basic nvchad but setup of someone else won’t improve your programming / productivity skills… I legit read this comment on every vid where ppl are using nvim x) don’t waste your with nvim configs just get nvchad, lunar, astro or lazy, cfg them once and stick to it
@cococry
@cococry 29 дней назад
@@dkkogmaw1311 yes i am just using nvchad with just the default config.
@charankamalsingh3860
@charankamalsingh3860 15 дней назад
hey @Cococry what is your zsh theme? Love the video
@andreas_tech
@andreas_tech 26 дней назад
Would be great to add sticky feature. Make something stick at top. And even better, have the possibility toqhave folder/files (notes). For different projects.
@dryspace5709
@dryspace5709 28 дней назад
Your vim config is fire 🔥 Can you share it?
@ldevcxv
@ldevcxv 28 дней назад
LOL! "Okay what the F" :D Subbed!!!
@mania20
@mania20 25 дней назад
what text editor is this atom? could you please tell me about your setup because this is looking so good
@cococry
@cococry 25 дней назад
im using ragnar with neovim and nvchad
@brawnie3969
@brawnie3969 25 дней назад
Good video :D
@jordonfrancisco9270
@jordonfrancisco9270 14 дней назад
Hi! Maybe you can make a video of how you set up your IDE/text editor - in your case, your personal NVChad
@AAAA3
@AAAA3 12 дней назад
How did you configure autocompletion on your neovim dotfiles so that it actually complete things like GLFW functions? I have been trying to do that for months and can't find a way for it to work. Mine only suggests completions with texts that are already in the file.
@Jeremy-rg9ug
@Jeremy-rg9ug 13 часов назад
I really want to know the answer to this as well
@ephraim9332
@ephraim9332 12 дней назад
Do you have a video on your neovim setup/config?
@lav-m4a138
@lav-m4a138 9 дней назад
Can you make a video about your development environment? Your working environment is clean❤
@mrlubia
@mrlubia 8 дней назад
these called tiling window managers as (sway, hyperland, i3) with code editors like (Emacs, neovim , vim) that's what I know. and Allah knows the best
@zxGHOSTr
@zxGHOSTr 23 дня назад
Only thing your repo lacks is a proper documentation. Besides that I like it. Keep going!
@theevilcottonball
@theevilcottonball 29 дней назад
Is this better than nuklear, nakst luigi2, dear cimgui, or something like raygui? Have you tried them, what are the differences. Maybe I will layer an immediate mode UI on top of sokol someday, than I can have an app running on android, linux, windows and the web. I really like your library in the video, because it requires little work to hook it up to a rendering pipeline, most immediate UI libraries are more backend agnostic so the library user has to tell the UI library how to digest input and how to render stuff. (Well, I haven't tried making a UI in C in yet (nor have I used an immediate UI library), but if I made a UI library it would just be a single header, no installing of GLFW or other dependencies, no hooking it up to a backend, just something I can include and use rightaway with everything already in the header, maybe that is because I am on windows with no package manager and haven't bothered to learn cmake yet (although I compiled GLFW with cmake once))
@nsfnd
@nsfnd 16 дней назад
There is this c++ library called RmlUi. It uses html and css. For scripting, instead of javascript it uses lua. I managed to cook a c binding for it and its working quite nice atm. Altough it was really hard to set it up with glfw inputs and vulkan as render backend. Before that i combined cimgui and facebook/yoga (flex layout library). Made some custom buttons and such with cimgui. Indeed it was working fine as well, but it was way too much code for simple ui pages. Like for a game settings menu, couple hundred lines of code was needed. With RmlUi I create an html file with css includes, load that with a couple lines of code on c side and overlay it on top of the game world. I want to check out raygui as well, but i dunno if i can integrate it into my vulkan renderer.
@zweitekonto9654
@zweitekonto9654 27 дней назад
Cool rice bruv
@-abhinab
@-abhinab 29 дней назад
Why do C/C++ Dev are So COOOOL....❤
@zhifuchen1432
@zhifuchen1432 13 дней назад
Hello, what is your editor? Is it neovim + cmp?
@ptb_dante
@ptb_dante 29 дней назад
badlion client junge geil
@omojjegomosc8211
@omojjegomosc8211 24 дня назад
What keyboard and switches do you use?
@vatsalrajchauhan2983
@vatsalrajchauhan2983 28 дней назад
What font are you using?
@colly6022
@colly6022 20 дней назад
i could not imagine the pain of having to make and maintain an entire application like this lol i use rust on arch btw
@hunterxx6744
@hunterxx6744 28 дней назад
brother can you show your nvim setup ?
@erickarias7619
@erickarias7619 25 дней назад
Good day... How can I do it on a MacOS? What would the code be like? Can you explain me?
@einfachso92
@einfachso92 26 дней назад
Sorry to ask, but is there a documentation for leif?
@muizzyranking
@muizzyranking 25 дней назад
ah, here we go.
@p99chan99
@p99chan99 20 дней назад
"No bloat required" absolutely based, is it Windows cross-compatible?
@PyczekFromPoland
@PyczekFromPoland Месяц назад
Erm what the sigma!?
@devinlauderdale9635
@devinlauderdale9635 29 дней назад
This video is a certified rizzler ohio classic! it's wednesday my dudes BRUHHHH oh HEEELLLL NOOOOOOO
@puppetbirds
@puppetbirds 28 дней назад
this is what politicians are gonna sound like in 10 years
@Konym
@Konym 28 дней назад
@@puppetbirds killing myself in 10 years
@rootwayder77
@rootwayder77 28 дней назад
hella rizz
@monsieurLDN
@monsieurLDN 28 дней назад
Why the wait? Join me in 4 years ​@@Konym
@djordjeostojic95
@djordjeostojic95 День назад
what operating system are you using?
@ulrich-tonmoy
@ulrich-tonmoy 29 дней назад
When i saw GUI task manager in c not even for a moment i thought its a todo app(like every web devs first project) I thought its something like windows task manager
@krikayassine340
@krikayassine340 11 дней назад
what display manager do you use ?
@CzMatt
@CzMatt 16 дней назад
What is that Linux distro please?
@69bruh
@69bruh 16 дней назад
i love your nvim configuration. what is it?
@cococry
@cococry 16 дней назад
nvchad
@abrarmasumabir3809
@abrarmasumabir3809 21 день назад
It's stupid to ask but how do I start writing my own UI library.
@EXTRA---LARGE---FARVA
@EXTRA---LARGE---FARVA 10 дней назад
Hey, I love your work. I'm a satellite communications instructor in the Department of Defense. I'm currently working on a small project that's bringing DoD software resources to Linux. Currently, the focus is native CAC (smartcard) support, satellite modem integrating, native Microsoft product support, and UI. RagnarWM and your UI framework looks like a perfect starting point for an interface with an extremely small resource footprint, for shitty government laptops. What's the best way to contact you?
@cococry
@cococry 10 дней назад
by email: richtigerluca123@gmail.com
@cococry
@cococry 10 дней назад
this is a joke right?
@EXTRA---LARGE---FARVA
@EXTRA---LARGE---FARVA 10 дней назад
@@cococry Not at all.
@hasirciogli
@hasirciogli 27 дней назад
what sis your os ?
@jomo_sh
@jomo_sh 28 дней назад
37:13 what happened here, why is it black for a few minutes.
@callmekelvin
@callmekelvin 4 дня назад
i saw that too, almost thought my laptop was freaking out, probably had a gap while editiing the video.
@Black56f
@Black56f 29 дней назад
fuck it im gonna learn c because you use it
@DevilMan-km2rr
@DevilMan-km2rr 29 дней назад
Please close that vim file manager at the left side. Thanks for your awesome content. IDEA: dragon but in leif, this is a program to drag and drop files from/to terminal that uses gtk.
@Nvaeplay
@Nvaeplay 4 дня назад
I'm following through, with wsl2 (ubuntu) but every time i try running the ./install script, it says my OpenGL driver need to be updated to version 4.5 or higher, does anyone know if this can be done in wsl?
@gt05t45
@gt05t45 27 дней назад
Hello i am very interested in this graphics library. Is there a way to create cross platform apps(windows, android, iphone also)?
@heavy0119
@heavy0119 26 дней назад
GLFW only works on Windows and Linux. For macOS and iOS you should use the Metal API and for Android, you should use OpenGL ES which means you'll probably also want to learn Swift and Kotlin for iOS and Android respectively
@pierogifoods5612
@pierogifoods5612 15 дней назад
I want to rust version of this.
@Arch-Propagandist-Sage
@Arch-Propagandist-Sage 28 дней назад
"No bloat required" Brother GUI is bloat (joking).
@madanbajgai
@madanbajgai 26 дней назад
how to bring terminal panel on bottom half of neovim?
@flacjunkie5553
@flacjunkie5553 27 дней назад
Is it just me or is there a 2 mins black screen in the video around the 40 minute mark?
@eobardthawnemcoc
@eobardthawnemcoc 28 дней назад
Your desktop setup dot files pls? 😅
@ayoubelmhamdi7920
@ayoubelmhamdi7920 27 дней назад
I like your VODs; they could be the only ones that simulate the Tsoding VODs. But Tsoding does not code something that he memorized; he starts from scratch and thinks step by step, and many people follow his channel.
@ayoubelmhamdi7920
@ayoubelmhamdi7920 27 дней назад
The cool things about Tsoding, Muraty, and Jonathan Blow… it’s not using diagnostics on every saved file.
@andy_lamax
@andy_lamax 26 дней назад
Man said no bloat, the proceeded to install like a tone of dependencies 😆.
@whannabi
@whannabi 26 дней назад
You could get Raylib and do the same. Very cool for that too.
@rojka-_-
@rojka-_- 12 дней назад
Crazy that i failed National IT exam which included test, ms word, excel and two c++ tasks and i forgot how to use c++ then i got errors and i didnt do shit
@notdeus3834
@notdeus3834 29 дней назад
How would i go about making the leif lib work on windows? Im a complete beginner. And how did you learn to make your own ui library? Do you have a resource i can learn from?
@cococry
@cococry 29 дней назад
windows builds are correctly not supported yet but you can try building yourself with mingw w64 and build libclipboard and cglm from source for windows. Also, you can download prebuilt glfw binaries for windows from their website and link with them.
@notdeus3834
@notdeus3834 29 дней назад
I see, thank you. I'm going to switch to neovim tomorrow. How do I set it up like yours. I love how it looks ​@@cococry
@cococry
@cococry 29 дней назад
@@notdeus3834 just install nvchad, thats my config. i did not change anything important
@notdeus3834
@notdeus3834 29 дней назад
@@cococry alright, thanks for the help, cherrs
@harshsrivastava2588
@harshsrivastava2588 24 дня назад
what are the prerequisites please?
@Mishanrajshah
@Mishanrajshah 18 дней назад
if this level of C was taught in my university, then I would have become 10x better developer. by the way which Linux distro are you using.😄
@nsfnd
@nsfnd 16 дней назад
he is using arch linux, neovim with nvchad.
@danielfagbohunlu5626
@danielfagbohunlu5626 27 дней назад
What linux distro is this?
@abo1428
@abo1428 26 дней назад
Would also like to know. Looks beautiful, clean and fast!
@barrientosvctorr
@barrientosvctorr 29 дней назад
I like your font, which is it?
@cococry
@cococry 29 дней назад
in the bar its victor mono and in the terminal ots roboto mono
@borntoravez
@borntoravez 26 дней назад
Hello there, The font code used in the nvim is Cascadia Code (a variation of medium or semi-bold/bold)! @cococry can you confirm this?
@-rate6326
@-rate6326 29 дней назад
Whats this windowing manager and dotfiles (if they are public)
@cococry
@cococry 29 дней назад
github.com/cococry/ragnar is the window manager.
@TempCrap-nn4cm
@TempCrap-nn4cm 10 дней назад
Wow, can we really make apps like these, without using Electron?
@cococry
@cococry 10 дней назад
Yeah, just use Leif like a real chad
@systemcrashed6782
@systemcrashed6782 17 дней назад
Can you make your library(leif) to be available for Windows?
@cococry
@cococry 17 дней назад
yeah i will work on a port in a while
@systemcrashed6782
@systemcrashed6782 17 дней назад
@@cococry thanks a lot.
@wollypolly
@wollypolly 28 дней назад
Im a newbie to linux distros, but what distro is that?
@wollypolly
@wollypolly 28 дней назад
It looks like there is arch symbol at the top, so that is what i am thinking
@cococry
@cococry 28 дней назад
@@wollypolly yes it is arch
Далее
The 3 Laws of Writing Readable Code
5:28
Просмотров 298 тыс.
ВСЕ СЕКРЕТЫ КОТА В ВР ( I Am Cat VR )
22:46
POV: Spain vs Italia
00:11
Просмотров 327 тыс.
The Linux Experience
31:00
Просмотров 329 тыс.
Why I Love Being a Software Engineer
8:53
Просмотров 768 тыс.
Gtk vs Qt | GUI tool kits | Which is Better?
7:06
Просмотров 32 тыс.
4 Months of Game Programming With My Own Engine
21:30
Просмотров 407 тыс.
I Made a Neural Network with just Redstone!
17:23
Просмотров 657 тыс.
Teaching myself C so I can build a particle simulation
11:52
I Bought a $5000 PC in a Random Asian Tech Mall
22:12
Самый СТРАННЫЙ смартфон!
0:57
Просмотров 31 тыс.
Неразрушаемый смартфон
1:00
Просмотров 1,8 млн
Телефон в воде 🤯
0:28
Просмотров 1,2 млн