Observatory of Research & Brainstorming - A documentation site for academic notes, exam preparation, or even self thought.
ORB Knownrie is a modern documentation website built with Astro, designed to organize academic notes into structured knowledge. It features a clean interface with dark/light mode support, smooth navigation, and a responsive layout optimized for reading and studying.
āāā public/
ā āāā favicon.svg
ā āāā site.webmanifest
āāā src/
ā āāā components/
ā ā āāā Navbar.svelte # Main navigation with theme toggle
ā ā āāā ThemeInit.astro # Prevents FOUC on theme load
ā āāā content/
ā ā āāā academics/ # Academic notes by category
ā ā āāā informatika/ # Computer science notes
ā ā āāā matematika/ # Mathematics notes
ā ā āāā test.md # Example content
ā āāā layouts/
ā ā āāā DocsLayout.astro # Documentation layout with sidebars
ā āāā locales/
ā ā āāā translations.json # i18n translations (ID/EN)
ā āāā pages/
ā ā āāā index.astro # Homepage
ā ā āāā notes/
ā ā āāā index.astro # Notes listing page
ā ā āāā [category]/ # Dynamic category routes
ā āāā styles/
ā ā āāā global.css # Global styles and Tailwind
ā āāā content.config.ts # Content collection configuration
āāā astro.config.mjs # Astro configuration
āāā package.json # Dependencies and scripts
āāā tsconfig.json # TypeScript configuration
npm install
Start the development server:
npm run dev
The site will be available at http://localhost:4321
Build the site for deployment:
npm run build
The output will be in the ./dist/ directory.
Preview the production build locally:
npm run preview
or
npx astro preview
Content is managed through Astro Content Collections. Add markdown files to src/content/academics/ with the following frontmatter:
---
title: "Your Note Title"
excerpt: "Brief description of the content"
date: 2024-01-01
---
informatics/, business/)Maximum is two levels deep.
more than that will not be considered/included in the left sidebar list, will be ignored for the take down only no matter how deep the folder tree is, in the end it will be considered as part of the second level sub folder.
Example :
ā āāā content/ # Content directory Collections
ā ā āāā academics/ # As root notes title
ā ā āāā introduction.md # root markdown (available on left sidebar)
ā ā āāā algebra/ # subfolder notes title
ā ā ā āāā 01-fundamentals.md
ā ā ā āāā 02-formula.md # subfolder markdown (available on left sidebar)
ā ā āāā pythagoras/
ā ā ā āāā 01-fundamentals.md
ā ā ā āāā 01-formula.md
ā ā ā āāā third-folder/
ā ā ā āāā fourth-folder/
ā ā ā āāā fifth-folder/
ā ā ā āāā silly.md # (available) but not considered an independent child path
You might find that the path home / note / .. / ... is there (a nested subfolder path) in the breadcrumb, but when you try to click it, it will produce nothing but an astro error from the developer mode testing side.
Custom colors are defined in the Tailwind configuration. The main theme uses:
orb-dark - Dark color for light modeorb-tan - Light color for dark modeEdit src/locales/translations.json to modify text for both English and Indonesian.
See LICENSE file for details.