chara banner

chara

20 devlogs
127h 25m 9s

what is supposed to be an airtable alt!

This project uses AI

i did used copilot/gemini for research and stuff, and vibe coded the src/test/mod.rs and src/core/service/error/mod.rs, the rest of the code is entirly writed by hand (or copied from stack overflow /silly)
I USED AI IS SOME PART OF THE WEBSITE BC I HAD TO SHIP ASAP :pf:

Demo Repository

Loading README...

Y0usaf3

what, was staying up till 2 am to make an ui heavysob and used a lot of AI?! yeah sadly i gotta do this so i can have a demo for it, i worked a lot on the backend side and the frontend side is PAIN noooo but heh, its done, time to deploy…

Attachment
0
Y0usaf3

worked on the table part, but now it can only show data without being able to modify anything, so im making an api for this bc i spent too long on this heavysob

Attachment
0
Y0usaf3

so i finally fixed the table service, now everything is worki (u can see the benchmarks here benchmarks.txt ) and yeah now ima finish the ui so i can finally ship smt that is usable, there is a lot of stuff that gotta be reworked for security reasons, especially how we check for permissions , but for now i gotta make a demo for this pf

Attachment
1

Comments

Y0usaf3
Y0usaf3 8 days ago

and in the list latency its 300 not 10

Y0usaf3

ooh yeah we’re back working on the backend!
but uh, surrealdb disabled scripting 😿 BUUUT, they added surrealism which is a way to make custom surrealdb functions which is SUPER handy, i wrote some functions for bit wise ops pf and then i worked on the table service, i did some surql mistake but fixed it after, and i think ill only make a ‘cli’ that runs in the web to interact with the backend bc i think the frontend will take a lot of time, so yeah, good thing i did stuff, slowly but surely!

Attachment
0
Y0usaf3

enforced some rules in the service layer and also the db schema, and made sure the ui is perfect so i can start working on the next step, which is table management and then fields and all those yada yada (literally the important stuff), ill start with the service layer XD

0
Y0usaf3

FRONTEND, omg that was so HARD to make ;-; especially after what happened today, well, i made the dashboard page, next ill work on some backend stuff that i have to fix lol

Attachment
Attachment
0
Y0usaf3

made the dashboard yay
it can create bases, and refresh, ig, but hey
bc im rusty, my functions are blazingly fast hehe 3-youssef

Attachment
Attachment
0
Y0usaf3

fixed the redirect btn! (bc before it used leptos’s /auth instead of axums)
also used private cookies instead of public cookies as well for session tokens, and also used sha512 instead of argon2 bc silly me, argon2 has constant time duh

Attachment
0
Y0usaf3

finally fixed the login button, and i realised how much of a skill issue i am especially at byts->String part, i was using some weird methods but then switched to base 64, oh and also some silly stuff lol, but yeah, it IS WORKING WOOOOOOHOOOOOO

Attachment
0
Y0usaf3

worked on the ui! its still basic, but i worked on the ui, cookies login, and stuff like that, i use a rust ui library (wow there is a ui lib in rust), i used it and its pretty great, also rate the epic art

Attachment
0
Y0usaf3

i just fixed a bug where core replaced rust’s core pf, had to replace with libc

Attachment
1

Comments

Adi
Adi about 1 month ago

Nice

Y0usaf3

so bc im silly, i had to rewrite the project again bc i didnt started planing for what ui framework im going to use, i chosen leptos wich give fine grained reactivity that i needed (yeah im parano hehe), now i can start on the ui, i also added tailwindcss, now the only thing i have to do is to start making a figma and then make the ui hehe

Attachment
0
Y0usaf3

reworked the db architecture, now there is no need for a workspace and a workspace user! i started working on the functions to interact with the base and the tables, and soon ill start a ui! (that was late ;-;)

Attachment
0
Y0usaf3

was working on the service layer, i did some functions and enhanced error handling, and also did some benchmarks and its pretty gud for now

Attachment
0
Y0usaf3

added user register and user update functions

Attachment
Attachment
Attachment
0
Y0usaf3

worked on the service part and also migrated to surrealdb 3.0.0 (that was a hard work) but yeah now we have login, im gonna work on register and those other function :pf:, for now it only auth the user using a hc id or a session token , in this example we had to use ip, user_agent and token to authentify the user

Attachment
0
Y0usaf3

well, gonna work again on this, for now i worked on the models part, a bit of planing for the service part (the part that interacts with the db and has the security measures) and yeah, also wrote some surql but i dont think it got hackatimed since i logged off hc ¯_(ツ)_/¯

Attachment
0
Y0usaf3

alr, so i worked on the models, there is all the models needed, im rn working on the service part, wich is a set of functions to create/delete/update/read tables but using strong types so everything should be secure, i might also make some idiomatic permissions if my brain let me do it but now, the step one is done

Attachment
0
Y0usaf3

so i finished the auth part, might make everything more secure using more types, but now ill finally start the real stuff, ima start working on the DATA part, and try to make it modular so i can easly make an automation part etc

Attachment
1

Comments

toponerld
toponerld 4 months ago

damnn

Y0usaf3

forgot to make a devlog lol, so i defined the tables, started learning surrealdb, and uh, im using axum this time, now im working on the auth part, using hca ofc, but there is still a bug related to cookies that im trying to fix sob

Attachment
0