:extracted_text:
Image
Taken: 2025-11-27
:EXTRACTED_TEXT:(39 lines)
39 lines·766 charactersCopy
16:42N
2025-11-27
A 56+0)
=
I
Code
code/query all tasks
projects/lifelab 2 blog/lifelab/screenshots
blog/lifelab/what is lifelab
11:47 AM
High-Level Overview
LifeLab is a "quantified self? computational
notebook platform. Think of it as a hybrid
between Jupyter Notebooks (for Python code
execution) and Obsidian/Notion (for structured
note-taking and journaling).
Key Architecture:
Monorepo: Contains all services in one
repository.
Backend: Written in Rust (Axum), handling
API requests, database interactions, and
hook logic.
Database: PostgreSQL stores pages,
blocks, and schemas.
Kernel: A Python service that actually
executes the code blocks found in your
notebooks.
1/ O
Today Search
0
Task
journal/2025-11-27 9
Image
T
Data
Text
projects/lifelab
SO
Settings
:END:
Example coding environment:extracted_text:
Image
Example coding environment
:EXTRACTED_TEXT:(23 lines)
23 lines·543 charactersCopy
code
day one sentiment 
+ Add
code/day one sentiment 3 code/day one ingest
1:56 PM Nov 26
2 Python
def get_journal blocks(nb):
all blocks = nb.query_all(block_type='markdown', metadata={"source": "dayone"})
d??one_bocks  []
for i, block in enumerate(all blocks):
if metadatanot in block:
continue
if block metadata" is None:
continue
if blockI"metadata"]get("source" " "dayone";
=
dayone blocks.append(block)
return dayone_blocks
print('starting
blocks = get journal blocks(nb)
print("getting blocks", len(blocks))
starting
getting blocks 2719
:END:
Current state of lifelab:blog/lifelab/what is lifelab user edition::extracted_text:
Image
Current state of LifeLab
:EXTRACTED_TEXT:(55 lines)
55 lines·1,691 charactersCopy
Todav
17
Add
2 Markdown
 Code
Task
 Data
LifeLab IS a "quantified self" computational notebook platform. Think of it as a hybrid between Jupyter Image
(for Python code execution) and Obsidian/Notion (for structured note-taking and journaling).
Key Architecture:
Monorepo: Contains all services in one repository.
Backend: Written in Rust (Axum), handling APl requests, database interactions.and hook logic.
Database: PostgreSOL stores pages, blocks, and schemas
Kernel: A Python service that actually executes the code blocks found in your notebooks
Frontends:
Neb: A React application (modern UI).
TUI: A Rust Terminal Ul (for keyboard-driven/SSH usage)
Ielegram: A bot for capturing mobile data on the go
MCP. Connect it to Claude. Don't have to pay me any money use your own subscription
Code Map & Directory Breakdown
Backend (/backend)
The core loaic of the application. It connects the Ul to the Database and the Python Kernel.
src/main.rs: Entry point. Starts the server and initializes the database nool
src/routes.rs (Crucial): Contains all REST APl endpoints (GET /pages, POST /ingest, etc.). Modify here to ado
new API features
src/db.rs: Handles raw SOL queries to PostgreSQL.
src/models.rs: Rust structs representing Database tables (e.g., Block, Page). Modify here if you change the
database schema.
2025-11-27
Search
E Browse Pages
ournal/2025-11-273: bloa/lifelab/what is lifelab 2 broiects/lifelah
LAT
JOURNAL (2215)
High-Level Overview
+ New
Pinned pages
 blog
archerv
Bay Area
District Tour
Kims Convenience
lifelab
pkm
[ code
dav one ingest
dav one sentiment
sentiment analysis visualization
silverbullet ingest
m projects
lifelab
[ show
Relationshios S5
tasks
O Settings
:END: