Skip to content

Commit

Permalink
vault backup: 2025-01-05 08:49:22
Browse files Browse the repository at this point in the history
Affected files:
.obsidian/workspace.json
fleeting-notes/2025-01-01.md
fleeting-notes/2025-01-05.md
  • Loading branch information
chiubaca committed Jan 5, 2025
1 parent cac027a commit 06e1cbf
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 8 deletions.
13 changes: 6 additions & 7 deletions .obsidian/workspace.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@
"state": {
"type": "markdown",
"state": {
"file": "fleeting-notes/2024-11-15.md",
"file": "fleeting-notes/2025-01-05.md",
"mode": "source",
"source": false
},
"icon": "lucide-file",
"title": "2024-11-15"
"title": "2025-01-05"
}
},
{
Expand Down Expand Up @@ -49,8 +49,7 @@
"title": "2025-01-01"
}
}
],
"currentTab": 2
]
}
],
"direction": "vertical"
Expand Down Expand Up @@ -188,8 +187,10 @@
},
"active": "cdd64a28cc6fe199",
"lastOpenFiles": [
"fleeting-notes/2024-12-23.md",
"fleeting-notes/2025-01-01.md",
"fleeting-notes/2025-01-05.md",
"fleeting-notes/2024-11-15.md",
"fleeting-notes/2024-12-23.md",
"fleeting-notes/2024-12-20.md",
"fleeting-notes/2024-12-07.md",
"fleeting-notes/2024-12-13.md",
Expand All @@ -212,8 +213,6 @@
"fleeting-notes/2024-12-05.md",
"fleeting-notes/2024-12-04.md",
"fleeting-notes/2024-12-03.md",
"fleeting-notes/2024-11-24.md",
"fleeting-notes/2024-11-25.md",
"planning/TikTok Filters.canvas",
"planning/Face Wall Game.canvas",
"planning/Face wall game.canvas",
Expand Down
2 changes: 1 addition & 1 deletion fleeting-notes/2025-01-01.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ Some things on my mind:
- Simplify my notes setup to make it _even_ easier to jot notes and write more essays. I like this guide https://stephango.com/vault
- Finish off my big two game. building it has gotten me wanting to learn more about real time systems. I wanna go deeper into websockets and server sent events.
- building big two has made me want to explore building my own version of pocketbase with better types like convex. Hono.js looks like it could be core pillar to build this.
- I keep want to get better at vim and neovim. I want to build up my dev workflow with thi
- I keep want to get better at vim and neovim. I want to build up my dev workflow with this.
14 changes: 14 additions & 0 deletions fleeting-notes/2025-01-05.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
---
publish_date: 2025-01-05
tags:
- realtime
---


Nerd sniped myself trying to drop pocketbase as my realtime db. A sort of simpler hacky alternative has been to use server sent events. I've gotten something working by combining hono.js , drizzle orm and sqlite. hono.js makes it really easy to create a sse endpoint, drizzle gives me TS QOL and sqllite lite will just make deploying things easier.


1. within my insertion POST hono endpoint i emit an insert event along with the data payload
2. within my sse endpoint, its listening to events in step one
3. when an event is received, the sse endpoint will write to the SSE stream.

0 comments on commit 06e1cbf

Please sign in to comment.