ReeTui

ReeTui Used AI

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

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

Yoid

6 months ago

Yoid Covers 4 devlogs and 23h 54m
Yoid
Yoid
1h 13m 6 months ago

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:

Yoid Yoid 5 months ago
aw, thx a lot :3
Arun George Saji Arun George Saji 5 months ago
One of the best projects in SoM imo… Good job on the journey of building it till here…
Yoid
Yoid
10h 50m 6 months ago

E, added ENIMETION, and FIXED BUGS

Yoid
Yoid
9h 54m 6 months ago

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

Update attachment
Yoid
Yoid
2h 46m 6 months ago

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

Yoid

6 months ago

Yoid Covers 36 devlogs and 230h 38m
Yoid
Yoid
3h 13m 6 months ago

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
Frog Frog 6 months ago
amazing page
Frog Frog 6 months ago
ship
Frog Frog 6 months ago
peak again
Frog Frog 6 months ago
Peak
Yoid Yoid 6 months ago
brroooo
Hat Dealer Hat Dealer 6 months ago
When are you adding support for FreeBSD?
GB114 GB114 6 months ago
Ship
Yoid
Yoid
5h 25m 6 months ago

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
Yoid
Yoid
6h 53m 6 months ago

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
Yoid Yoid 6 months ago
yo, thx :D
oodlia ju oodlia ju 6 months ago
yo this looks really cool (I don’t understand much though lol, maybe I’ll look into it!!) keep goin :D
oodlia ju oodlia ju 6 months ago
yo this looks really cool (I don’t understand much though lol, maybe I’ll look into it!!) keep goin :D
Yoid
Yoid
3h 27m 6 months ago

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
Yoid
Yoid
10h 34m 6 months ago

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
Yoid
Yoid
10h 21m 6 months ago

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

Yoid
Yoid
11h 16m 6 months ago

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 >:]

Yoid Yoid 6 months ago
:orpheus-smirk:
Yoid Yoid 6 months ago
orpheus is also driving a cat
yehor yehor 6 months ago
where did the beer car drive guy go
Yoid
Yoid
10h 56m 6 months ago

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
Yoid Yoid 6 months ago
please understand that this caused a lot of emotional damage :heavysob:
Yoid
Yoid
10h 45m 6 months ago

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 6 months ago
damn that’s so :fire:
Yoid Yoid 6 months ago
why :heavysob:
Advick Advick 6 months ago
No
Advick Advick 6 months ago
No
Yoid
Yoid
9h 12m 6 months ago

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 6 months ago
YESSSS YEESSASDASFDJADJFPKAD YEAAAA!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! I LVOE TEHIIDSSISISISSSS
Yoid
Yoid
3h 31m 7 months ago

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 6 months ago
damn this was worth over 100h I would say
Yoid
Yoid
2h 32m 7 months ago

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

Yoid
Yoid
9h 23m 7 months ago

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
Yoid
Yoid
7h 49m 7 months ago

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 ("=-=)

Yoid
Yoid
4h 21m 7 months ago

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

Yoid
Yoid
9h 21m 7 months ago

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

Yoid Yoid 7 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 7 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
Yoid
Yoid
7h 35m 7 months ago

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

Yoid Yoid 7 months ago
since tha app is only using the cpu, not the gpu
Yoid Yoid 7 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 7 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 7 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?
Yoid
Yoid
7h 37m 7 months ago

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
Yoid
Yoid
27h 7m 7 months ago

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
Yoid
Yoid
8h 34m 7 months ago

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
Yoid
Yoid
1h 22m 7 months ago

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
Yoid
Yoid
6h 22m 7 months ago

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

Update attachment
Yoid
Yoid
6h 32m 7 months ago

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 -_-

Yoid
Yoid
3h 46m 7 months ago

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

Yoid
Yoid
3h 23m 7 months ago

ReeWriting this thing

Yoid
Yoid
5h 52m 8 months ago

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 ?

Yoid
Yoid
4h 13m 8 months ago

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" }

Yoid Yoid 8 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 8 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

Yoid
Yoid
1h 40m 8 months ago

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

Yoid
Yoid
4h 25m 8 months ago

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

Yoid Yoid 8 months ago

meaw

Koei Koei 8 months ago

meow

Koei Koei 8 months ago

meow

Yoid
Yoid
4h 25m 8 months ago

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

Yoid
Yoid
5h 45m 8 months ago

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

Yoid Yoid 8 months ago

i mean test

Yoid
Yoid
5h 11m 8 months ago

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

Yoid
Yoid
4h 10m 8 months ago

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