Firewood Progress

  • Register
    POST /api/register

  • Login
    POST /api/login

  • Modify User
    PATCH /api/user

  • Delete Session
    DELETE /api/revoke

  • Get projects
    GET /api/projects

  • Modify Project
    PATCH /api/projects

  • Delete project
    DELETE /api/project

  • Launch Editor
    POST /api/editor

  • Start Project
    POST /api/project/start

Other things:

  • keepAlive API endpoint
    Internal API (keeps the project from suspending)

  • NGINX
    Subdomain configuration. When the container spins up, it should update NGINX configuration and reload it.

  • Alpine and Fedora support
    It’s not hard, may take like 20 minutes, just it’s on a back burner

  • Cron Jobs
    I.e session expiration and project suspension

  • Emails verification
    Email verification is very important

5 Likes

Do not modify the contents of this post!

(/srs!)

3 Likes

oh mb I did it by accident, reverted it.

why do you trust us with this, lol

3 Likes

I want to share the development of something useful with everyone.

4 Likes

nice I like the api docs

3 Likes

Looks awesome! Is there a Github repo?

4 Likes

what is firewood?

2 Likes

A replit clone

1 Like

Not yet, I wanna get a somewhat working prototype working first, and get everything dockerized. Currently it’s a mess of code that I need to sort out.

3 Likes

Why is session expiration in a cron job? Shouldn’t it be checked in a middleware if it is valid?

where is the api docs?

ooohh la la i see Rust?

1 Like

Nope, fully written in Node.JS.

4 Likes

It is but it will automatically remove it on a cron job as well. Say I login to a chromebook on Jan 1st, and it expires in March 1st, well, it will still show your session in the “sessions” page, and if the session is invalid, why keep it there?

3 Likes

Can I please test it :face_holding_back_tears:

1 Like

Sorry, there’s really nothing to test yet!

Once I add the editor and proxy I’ll start beta testing!

You can’t do anything if there’s no reverse proxy to send your content, and you can’t upload anything without the editor.

4 Likes

cool! sign me up for it, I’m excited.

1 Like

typescript?

Node.JS.​​​

you can use nodejs to run typescript, but you need to use tsx package in npm

1 Like