Note
Work-In-Progress (WIP).
InfoWarehouse — a modern information "warehouse" in the form of a wiki.
This project is part of my Personal Knowledge Management (PKM).
The public wiki contains "raw materials" (resources) for writing. The resources and lists link to the original full-text source.
I am sharing them in the hope that they would be useful to you as well.
The wiki is available on:
- Website: https://wiki.cedricchee.com
- Github: https://github.com/cedrickchee/src
The initial content in this wiki was migrated from My Knowledge Wiki (GitBook):
- Notes from courses (educational materials) that I've study. (mostly for fast.ai and Coursera)
- Notes on various programming (technical) topics.
- Notes from books and other interesting things that I've read.
[WIP] This wiki also aggregates some of my lists:
- Awesome Rust
- https://github.com/cedrickchee/awesome-transformer-nlp
- https://github.com/cedrickchee/chatgpt-universe
- https://github.com/cedrickchee/awesome-ml-model-compression
- https://github.com/cedrickchee/awesome-wireguard
- https://github.com/cedrickchee/book-notes
- The order of items in sidebar is alphabetical except notes from courses.
- I will rearrange and rename at any time with no notice.
- This is a public wiki - Terms of use: [TODO]
I design my note taking system based on a few ideas. One of them is progressive summarization1.
I "capture" information from a wide variety of sources into Shiori (a bookmarks manager). Next, I move selected bookmarks to src
.
The 5 layers of summarization2:
- 0: Original full-text source, raw information (i.e.: books, articles, papers, references)
- 1: Notes (i.e.: notes from projects that I've work on, notes from interesting things that I've read)
- 2: Highlighted passages
- 3: Bold passages
- 4: Mini summary (i.e.: notes from books I've read)
- 5: Remix (i.e.: writings, blog posts, micro posts/Tweets)
InfoWarehouse is in layer 0.
Once the raw info is processed, it will flow to my digital garden3 (built with Obsidian).
This project is a Turborepo monorepo setup.
The setup was based on an official pnpm starter turborepo.
I created this turborepo by following the tutorial here.
This turborepo uses pnpm as a package manager. It includes the following packages/apps:
wiki
: a Docusaurus appdocs
: a Next.js appweb
: another Next.js appui
: a stub React component library shared by bothweb
anddocs
applicationseslint-config-custom
:eslint
configurations (includeseslint-config-next
andeslint-config-prettier
)tsconfig
:tsconfig.json
s used throughout the monorepo
Each package/app is 100% TypeScript.
This turborepo has some additional tools already setup for you:
- TypeScript for static type checking
- ESLint for code linting
- Prettier for code formatting
We use pnpm as the package manager. At the root of the repository, run pnpm i
to install the monorepo dependencies.
cd src
pnpm i
To build all apps and packages, run the following command:
cd src
pnpm run build
To develop all apps and packages, run the following command:
cd src
pnpm run dev
Running dev
on only one workspace at a time:
By default, pnpm run dev
will run dev
on all workspaces at once. But sometimes, we might only want to choose one workspace.
To handle this, we can add a --filter
flag to our command. This --filter
gets passed to the turbo
CLI.
pnpm run dev --filter wiki
Alternatively, run:
pnpm run dev:wiki
On every commit, Vercel that is hooked up to the GitHub repo runs Docusaurus and new version of wiki is published.
Please read "Using Monorepos with Vercel dashboard" docs if you would like to learn how I set up all this.
Learn more
Turborepo can use a technique known as Remote Caching to share cache artifacts across machines, enabling you to share build caches with your team and CI/CD pipelines.
By default, Turborepo will cache locally. To enable Remote Caching you will need an account with Vercel. If you don't have an account you can create one, then enter the following commands:
cd src
pnpm dlx turbo login
This will authenticate the Turborepo CLI with your Vercel account.
Next, you can link your Turborepo to your Remote Cache by running the following command from the root of your turborepo:
pnpm dlx turbo link
Learn more about the power of Turborepo:
View
I am providing code and resources in this repository to you under an open source license. Because this is my personal repository, the license you receive to my code and resources is from me and not my employer.
- Code: MIT Copyright Cedric Chee
- Text content: Creative Commons Attribution-ShareAlike 4.0 International (CC BY-SA 4.0)