gitmyhub

my-second-brain1

Svelte ★ 102 updated 4h ago

Turn your Obsidian notes into a public website with built-in tools for running Python code, visualizing neural networks, solving math problems, and browsing how your notes connect to each other, no server needed.

SvelteAstroCloudflare PagesPython (in-browser)Obsidiansetup: hard

This project turns a personal collection of notes written in Obsidian, a popular note-taking app, into a browsable and searchable website. The site is generated as static HTML files at build time and deployed to Cloudflare Pages, so no backend server is required. The README is written in Chinese, with a link to an English version.

Beyond displaying notes, the site includes several interactive tools that run entirely in the browser. There is a Python environment where you can write and run code and see it executed step by step with plain-language explanations of each line, generated from the code structure rather than an AI model. A neural network lab lets you draw handwritten digits and see a trained model classify them in real time, with visualizations of the internal layers. A math tools section handles matrix operations, calculus, discrete math, statistics, and symbolic expression solving, using a Python math library loaded in the browser. A formula OCR tool can recognize a math equation you draw and convert it to formatted notation.

The site also renders a relationship graph showing how notes link to each other, built from the wiki-style double-bracket links Obsidian uses. Notes that exist are shown as blue links; links to notes that have not been written yet appear in red.

The background of the site can be set to a three-dimensional point-cloud scene that was captured using a photogrammetry technique called 3D Gaussian Splatting, giving the site an immersive visual backdrop. The background layer responds to device orientation on mobile and subtle mouse movement on desktop.

The project is technically complex and the README lists a detailed set of prerequisites for anyone who wants to run or modify it locally, covering web development, the Astro and Svelte frameworks, and the individual tools used for each feature module.

Where it fits