You are browsing as a guest. Sign up (or log in) to start making projects!

uv

@uv

Joined May 31st, 2026

  • 32Devlogs
  • 5Projects
  • 1Ships
  • 15Votes
Open comments for this post

1h 20m 58s logged

Feature: Load existing on services on start + async container manager

I added an endpoint to the platform API (GET /api/services) that returns all of the clients services.

On start, the virtual server will request services to run, and start them one concurrently using golangs channel features (containers to run are added to a queue where up to five containers are handled at a time)


  1. Add async container manager
  2. Add API endpoint and start containers on virtual server start
0
0
3
Open comments for this post

1h 11m 31s logged

Feature: Run docker images

I implemented the very basics of running a docker container, and added a logs endpoint

Definitely need to improve the UI for the service page, and make a tabs component. Also need to make stuff async so I don’t wait for the image to pull :isob:


Commit

0
0
5
Open comments for this post

42m 55s logged

Feature: Configuration groups

I added the ability to set configuration groups. These are purely visual. A virtual server may set whether the options are visible by default. For example to hide addons or advanced config options


Commit

0
0
4
Open comments for this post

3h 30m 10s logged

Feature: Order services

I implemented the backend for ordering a service.

Diagram explaining flow
Text scored with red has not been implemented yet

It works by

  1. Storing the service and configuration in a database
  2. Sending a request to the virtual server to run the service (signing the message so the virtual server can trust it)

This setup is pretty complicated but it allows for virtual servers to run virtually anything and have configuration options for all of it.

I have yet to implement:

  1. Per addon pricing (e.g +1 credit for +1 GB RAM)
  2. Configuration groups, which would allow for sections of configuration (e.g simple, advanced, and addons)
  3. Advanced options (required, selects etc)
  4. A proper virtual server that actually runs stuff
  5. A good service page

  1. Implement service orders
  2. Disable spinners on number inputs
0
0
1
Open comments for this post

45m 2s logged

WIP Feature: Get service modal

I implemented a modal that loads on click, and has all the addons/options of the service.

I need to style number inputs better, and make it so servers can set min/max values and lengths


Commit

0
0
2
Open comments for this post

2h 27m 8s logged

Feature: Programmatic services

You can now add services through an API, using a generated client id and secret.

A server would call the API, passing a list of products to sync. You pass a name, description, unique code, a price and a pricing schedule (per hour, day, or month). You can also add addons with options, currently only text or numbers (e.g for additional RAM).

I also added a page to view all available services.

Next I’ll implement “getting” the service


  1. Add services API + page
  2. Show credit price
0
0
5
Open comments for this post

37m 20s logged

Feature: Disable email verification

Added an env variable (MAIL_ENABLE) that will disable any email sending and functions like verification. With this enabled, signing up will automatically mark the account as verified and sign them in, skipping the verify step.

Did this so I can develop entirely locally and without internet, I’m on holiday in the Outer Hebrides where internet isn’t great. Writing this on a 7 hour ferry 🫩

Also changed the flags field from bigint -> integer to save space, I won’t need 64 bits)


  1. Disable Email Verification
  2. Fix silliness
1
0
3
Open comments for this post

25m 33s logged

Feature: API client secret regeneration

You can now regenerate the client secret.

Mostly copied code from the confirm deletion, tweaked to show the new secret after.

Also improved error handling so now it should show an error message if something fails instead of sending the error into the void


Commit

0
0
2
Open comments for this post

49m 49s logged

Feature: API Client creation + Copy Button

I added a page to view, manage and create API clients. This is what the past couple of devlogs have been leading up to, there was a lot of interactivity required for this.

These will be used to programmatically set up “virtual servers”, which will be able to register “products” to the platform, and receive services to deploy, and they manage where to deploy them, for example on the current server, or provision a VPS, or to GKE, or a docker swarm. I’m designing it to be as flexible as possible.

I also added a copy button component

Need to implement actions next, probably just delete


  1. Copy button
  2. Fix issue where close modal buttons would submit form
  3. Add copy button to kitchen sink (UI demo)
  4. Add API clients
0
0
2
Open comments for this post

1h 47m 5s logged

Feature: Tables + Modals

I added tables and modals to my UI library. I needed these for my next platform update.

Tables were more annoying to implement than you’d expect, the browser makes them pretty hard to style.

Modals on the other hand were pretty quick to implement, I just used my existing card component.

My UI library is coming together pretty quickly, I’ve now implemented most of the components you’d need for a interactive website!


  1. Tables
  2. Modals
0
0
2
Open comments for this post

58m 13s logged

Feature: Sign Out + Alerts

I added the ability to sign out, added a favicon, created a standard layout component.

I also added four types of alerts to my UI library, and the associated colours. I’ve designed everything to be themeable.

I needed this for my next update


  1. Add Sign Out
  2. Disable logging of read config
  3. Add layout component and favicon
  4. Added alerts and colours
  5. Disable text wrapping in sidebar
0
0
2
Open comments for this post

28m 3s logged

Feature: Account page

I added the account page that shows after sign in/up.

Sign out is not implemented yet.

I also updated the sidebar styling, adding a gap between links and differentiating between active and inactive links.


Commit

0
0
1
Open comments for this post

44m 9s logged

Feature: Sign In

I added a sign in page, implemented session tokens, and fixed a few bugs

I also made it so you are automatically signed in after verifying your account. This is secure because a verification session is only made after signing in or creating an account.

Honestly I thought this would take longer to implement, but I have done this a million times before.

Next I’ll implement the account page.


  1. Implement sign in and sessions
  2. Make the code input required
  3. Fix error message when entering wrong code
  4. Make verification sign you in
  5. Cleanup/remove verification session after use
0
0
2
Open comments for this post

1h 43m 41s logged

Feature: Verification emails

When you create an account, an email with the verification code gets sent.

You are redirected to a verification page, where you can enter the code, submit and your account gets marked as verified.

The page after verification is not implemented.

To do this, I:

  1. Added a hidden input to the code input that contains the actual value
  2. Set up mail sending using AWS SES (over SMTP)
  3. Added a flags column to users, and created a flagset with a verified and admin flag
  4. Created verification sessions, which store the code, an expiry date and a unique identifier

Next, I’ll implement signing in (with sessions)


0
0
2
Open comments for this post

51m 5s logged

Feature: Code input + Verify Page

I built a verification page (server side stuff not implemented yet) and to do this I build a custom code input.

It automatically focusses the next input when typing, or the previous when backspacing.

I also added support for pasting codes. In the video demo, after pasting the focus doesn’t go to the last input but I have since fixed this.

Next up, I’ll set up SMTP with AWS SES and get verification working on the server side.


0
0
2
Open comments for this post

1h 16m 36s logged

Feature: Sign up!

There a fair bit of set up involved with this.

I had to:

  • Add config with environment variables
  • Set up postgres database (automatic schema migration)
  • Restructure again

So now you can create an account. You can’t do anything yet, and I need to implement the next step of the flow, which is to verify your email.


0
0
1
Open comments for this post

45m 47s logged

Inputs

I added inputs to my UI library and added fields to my sign up form

Probably won’t keep the background but its fun.

Second attachment is one of my mockups from a long time ago that I might try make the UI look like.


Commit

1
0
5
Open comments for this post

36m 58s logged

Start work on platform

I’m starting work on the Runik platform interface.

To do this I restructured the code, added a “Full Page Card” component and created a basic sign up page

0
0
1
Loading more…

Followers

Loading…