ReeTui

ReeTui Used AI

40 devlogs
276h 26m
•  Ship certified
Created by Youssef

a chat app that run in the terminal bc 2030 is the year we're not going to use desktop env

Timeline

Ship 2

1 payout of shell 475.0 shells

Youssef

about 1 month ago

Youssef Covers 4 devlogs and 23h 54m

added save things , removed some features like when a message with a certain name is sent in the chat (was just a feature for fun lol), and fixed the input bar in the chat, so now it trigger every user input, like arrow and stuff like that :thumbup:

Youssef Youssef 25 days ago
aw, thx a lot :3
Arun George Saji Arun George Saji 25 days ago
One of the best projects in SoM imo… Good job on the journey of building it till here…

E, added ENIMETION, and FIXED BUGS

made the help page, now its working, but still some tweak and stuff like that, but its gud enough for sleep (-w-)

Update attachment

made the image quality better, and do some bug fixing in both client and server (ง🔥ロ🔥)ง

Update attachment

Ship 1

1 payout of shell 3676.0 shells

Youssef

about 1 month ago

Youssef Covers 36 devlogs and 230h 38m

my mentality is in 0%, gonna ship, vibe coded the website sadly, bc i will travel tmr so, and fixed al ot of things, make the server never crash, and action, omg, action was very very very ver yv eyv eryv ervy eveeryv veryv eyrv very painful

Update attachment
amazing page
peak again
Youssef Youssef about 1 month ago
brroooo
Hat Dealer Hat Dealer about 1 month ago
When are you adding support for FreeBSD?
GB114 GB114 about 1 month ago
Ship

fixed the gif flickering, it happens when my potato run in 900 mhz (eco mode), and fixed the freaking issue that happen when u create a new channel and to see the messages u have to reload the load freaking channel •v•

Update attachment

so yeah, i fixed a memory leak (ง🔥ロ🔥)ง, that was very very difficult, i found out that i was creating new uuid for messages in every loop, and adding it to the message list, so to fix this i made another variable in the broadcast struct with a client_id so we don't regenerate an uuid, we just use one that we already have 

Update attachment
Youssef Youssef about 1 month ago
yo, thx :D
julia do julia do about 1 month ago
yo this looks really cool (I don’t understand much though lol, maybe I’ll look into it!!) keep goin :D
julia do julia do about 1 month ago
yo this looks really cool (I don’t understand much though lol, maybe I’ll look into it!!) keep goin :D

losed my sanity to solve this bug, just to find out that its actually an id bug :heavysob:, but now its fixed, i used uuid for messages :randomheavysob:

Update attachment

so i reworked the message layout styling, better performance, some enhancement etc, now just some work on the server, and ill make a website very woopy fast, and ill ship it yay

Update attachment

so i fixed a bug, where when the img is a square, it takes the whole screen, and fixed the emoji search, and spent some times working on the folder and bin ascii >:], and fixed the size of the file manager (-_-)=b

so yeah, its been a while, ive made the image not have more widht when reached the max widht, and have more height when he don't have a lot of widht, and made the notification manager, fully working , now im gonna enhance the other things, so w'll have a fully working chat app >:]

Youssef Youssef about 2 months ago
:orpheus-smirk:
Youssef Youssef about 2 months ago
orpheus is also driving a cat
yehor yehor about 2 months ago
where did the beer car drive guy go

the chat app still doesn't work, i shouldn't have done the rewrite if what i have already work, now im very very stressed, anyway, now im gonna work on the old one, the working one, and gonna apply all the changes, to make it the best >:]

Update attachment
Youssef Youssef about 2 months ago
please understand that this caused a lot of emotional damage :heavysob:

yay, now im rewriting it, for the whatever how many time, and i wrote a very good notification thing, now im gonna rewrite the chat, and everythings gonna be :fire:

HQ2000 HQ2000 about 2 months ago
damn that’s so :fire:
Youssef Youssef about 2 months ago
why :heavysob:
Advick Advick about 2 months ago
No
Advick Advick about 2 months ago
No

so i tried a lot of time to implement ratatui-image in this app, but after @MHanak tried my app, he helped me and recommended me the good practices, and i realized that the image preview isn't the real problem i have, now im rewrting it, and thx for @MHanak for his help :)

Update attachment

updated te layout of a box msg, and also now where using ratatui image, but bc im still implementing it(144 errors 35 warnings >:3), thats an screen shot ive made 4h earlier

Update attachment
Jakov Jakov about 2 months ago
YESSSS YEESSASDASFDJADJFPKAD YEAAAA!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! I LVOE TEHIIDSSISISISSSS

finally fixed the damn file manager, i think now its good, ive even added a metadata section, to see duration, resolution, if its too big to send, and that kind of things, now im gonna improve other things, idk, maybe the propose channel pop up, idk

HQ2000 HQ2000 about 2 months ago
damn this was worth over 100h I would say

sooo, yeah, i rewrited the file manager, and i makae it better ig, so, its not a lot, i will tmr work on a better preview and that stuff

omg how i can tell that, i was having issue with the previewer, ive changed smt that made him crash, so i git restore . , but i forgot that i haven't commited the changes yesterday, so now i lost everything, but im trying to rewrite the file manager again, also the pic is unrelated

Update attachment

so i fixed the bug, where when we open the settings ,and then go out of it, the chat pgae reconnect and that stuff, also worked on the file manager, there is a lot of bugs, like the image preview not working and that stuff, but working partially, and fixed the scroll bc uh, it was really buggy ("=-=)

yay, the perf is way better, its a lil buggy after opening the settings, its because it reconnect to the ws and those stuff, but its good d=(-v-)=b

so yeah, ive changed the setting pop up by a settings module, beter ig, but still, we can't interact with the chat page, maybe a tokio think i forgot todo, but everythings good for now

Youssef Youssef 2 months ago
thats the old one lol, im now rewriting it in another folder, but need this one to copy paste some code, i might push it to the repo til i don’t need the old version, and no thats not btop themes
MHanak MHanak 2 months ago
are those btop themes? nice. also one thing: i had a look at the repo and you might want to add log.log to .gitignore

uh, the originael version took a lot of cpu usage, so i decided to optimize it, and use tokio instead of rusts std async, for now, i ReeWritted the home and auth tui page, and its using 2% less than the original version :yay: (< why :heavysob:), tommoroy ill reewrite the chat tui ofc, AND MAYBE AN AUDIO PLAYER idk

Youssef Youssef 2 months ago
since tha app is only using the cpu, not the gpu
Youssef Youssef 2 months ago
yeah, thats what im trying todo, and im also planning to add smt that track if the app is used, and if not it slow donw the delay, like 60 fps if used, and 24 if not
MHanak MHanak 2 months ago
Have you tried profiling the app? my guess is that the GIFs rerendering take a lot of compute forcing the entire app to rerender, maybe try to only render the gifs in a separate thread if possible?
MHanak MHanak 2 months ago
Have you tried profiling the app? my guess is that the GIFs rerendering take a lot of compute forcing the entire app to rerender, maybe try to only render the gifs in a separate thread if possible?

now we can see gifs, and i have updated the ui, also it was a lil slow so i managed to use multithreading for that ;-; but its atleast working, but the files are gettings, big, i also modularized the home and auth tuis code

sooo, i tried to make the gif wrok ,but bruh, i fixed the bug where the image aren't rendered when its come from the history , and fixed the scroll, but for some reason, it crashes at random moment, prob download thing or whatever, gonna fixx it tommoroy ('°-°)

Update attachment

made some server optimization, now we can download a 255% of a file in less than 0.5s, added image handling, but still gif need work, then ill do some tui tweaks, and a .conf file for personalising the colors and custom themes, i think ill also enhance the settings etc, but bruh it seems a lot of wrok tbh

Update attachment

uh, do some tweaks, added a file manager, made a file manager to upload file, we can also download files too, and added some themes for fun

Update attachment

Major code Ree Arrangement , especially in the chat tui code, do some tweaks, still some bugs, and started implementing the file upload, will need some time

Update attachment

we got now notif and mentions, still in beta (some minor bugs, like still seing the mention pop up even if its empty and those kinds of bugs)

Update attachment

added emoji selector when typing ':', tried to add notif and mention, soone ill add friends discussion and file upload

Update attachment

the thinkpad is dead, i am very cooked, there still a lot of bugs, sis laptop sucks, and i don't f remember what ive done, and widnwos sucks, he just recorded the one windows -_-

uh, the Reechat TUI, just still need some work, especially a bug that make it crash, im gonna work for it this night >:]

ReeWriting this thing

uh, screwed the client, and forgot to commit for a while lol
also i worked on the new auth page (1000 lines fr), and themes ?

uh, added the channel feature, but oh man i get this error for some reason:WebSocket error: ColumnDecode { index: \id\", source:mismatched types; Rust type alloc::string::String (as SQL type TEXT) is not compatible with SQL type BLOB" }

Youssef Youssef 3 months ago

sqlx = { version = "0.8.6", features = ["runtime-tokio", "sqlite", "macros", "uuid"] } thats the code import, btw if u see a lot of these message, thats bc i don’t see it when i send it

MHanak MHanak 3 months ago

i second @Your local wobbler, whatever database library you are using should have a crate feature for converting uuids to SQL types

Are you using UUIDs as your ID's? If so, those are internally stored as binary data in postgres and such. You might wanna use the uuid crate and export as binary to sql

FINALLY HOSTED THIS SERVER
also i spent 5 hours, why hackatime show only 30min
ive make the chat a lil more modular in code, and make some optimization, added the blink cursor too

:3, everything is in the video, my hands are just hurting me at this point

Youssef Youssef 3 months ago

meaw

Koei Koei 3 months ago

meow

Koei Koei 3 months ago

meow

now, it working, my hands hurt again, here is a vi

BREAKING CHANGE!
switched to Rocket and Reddis (was reading the docs and doing some text last night)
now we have real time for real
we removed the tui because it is not complatible with the older one
gonna rewrite it
more secure, when registering, we receive a token that is used to talk with the websocket
Forgot to say we added websocket
my hand hurts so here is a vid

Youssef Youssef 3 months ago

i mean test

well, i added the auth tui chat tui (just a prototype) , and also a net debuger to see what the client and the server are talking about , well, the app is quite usable, just some things like sending new messages to others and add a checker to check if the message can be sended to others or have some bad words that shouldnt be sent

made the server side, now its just receiving data, and the client send it, here u can see how it actually works