spent way too long on the installer
what was happening:
i had to package the whole installer so it would be more easier for the testers to test and to fight the limitations of windows sandbox.
how i fixed it:
i fixed it by packaging the samaipata zip and packaging the node js functionalitys.
So today ive gave it my all on trying to finish the ui design.
Ive done a couple of things including the:
Its currently in spanish but ill translate it to english on the real frontend.
Thanks for reading.
First i might notice you are reading this without prior context so:
Samaipata is a custom, full-stack, local-first AI client interface. That works using ollama and Hackclub AI.
It took a really long time writing the backend with over 1700 lines of code not counting those long php stuff ive made it.
Now i need to do the Frontend which ive already have planned.
So thats all for today!
Samaipata is a custom, full-stack, local-first AI client interface. That works using ollama and Hackclub AI.
Long time no see was pretty ocupied in my final exams honestly.
So i did atonnnnn of stuff in the past few days heres a some of the stuff i did
Did some marketplace endpoints for integrating a marketplace later on.
Some of them are:
Coded a test using Antigravity Cli and it look that it works good.
Olama skipped but i am sure it works because i was using a trashy laptop.
Samaipata is a custom, full-stack, local-first AI client interface. That works using ollama.
Ive created a diagram to start creating samaipata i have huge hopes for it.
Heres a link so you can see it!:https://excalidraw.com/#json=ec-0OD9R5ERU7_yBQkGyJ,u_8ZsFO1pD2liEvJj992uw
If you are reading this without any prior context, you might be asking:
This project involves turning my portfolio into a full-blown “personal company” platform by adding OAuth and other features.
First, I organized the project into the following directory structure:
|── app/ # Main Frontend
| ├── js/
| ├── css/
| ├── index.html
| └── icon.png
|── auth/ #Frontend for auth
| ├── css/
| ├── js/
| ├── account.html
| └── oauth.html
|── server/ # Main Backend
├── uploads/
├── database.js
├── server.js
├── package.json
├── zero.db
After that, I started creating /app/ and decided that for styling I would use Tailwind CSS because it would be easier and more compact. It will impact compatibility a little bit, but not by that much.
After doing that, I made the account settings and other core pages.
For what I am doing, I am really proud of what I have accomplished right now. After writing this, I will make my README.md, publish it to GitHub and zero.info.bo, and ship it!
Here are some pictures of what I’ve made:
First you may be reading this without knowing the context so you may ask:
This project involves turning my portfolio into a full own “personal company” by adding oauth and other features
I think it is in the title that i finished the backend but if you keep asking i added all of this to my backend
Register (POST /api/auth/register)
Login (POST /api/auth/login)
2FA Login (POST /api/auth/login-2fa)
Logout (POST /api/auth/logout)
Get current user profile (GET /api/auth/me)
Change password with 2FA check (POST /api/user/change-password)
Upload avatar with webp conversion and sharp resizing (POST /api/user/avatar)
Create oauth app (POST /api/oauth/apps)
Get my oauth apps (GET /api/oauth/apps)
Get authorized oauth apps (GET /api/oauth/authorized-apps)
Revoke oauth app authorization (DELETE /api/oauth/authorized-apps/:client_id)
2FA setup and qr generator (POST /api/user/2fa/setup)
2FA verify and activate (POST /api/user/2fa/verify)
2FA disable (POST /api/user/2fa/disable)
Toggle 2FA required on login (POST /api/user/2fa/toggle-login)
OAuth authorize endpoint (GET /oauth/authorize)
OAuth consent endpoint (POST /oauth/consent)
OAuth token exchange endpoint (POST /oauth/token)
OAuth userinfo endpoint (GET /api/userinfo)
So yeah thats it also forgot to add hackclub as a login method ill do that later
So thanks for reading (;
I’ve finished the project also make some ui and logic fixes i am so proud of what i made
Made the windows smoother and also fixed some bugs