All Projects → theowenyoung → foam-template-gatsby-theme-primer-wiki

theowenyoung / foam-template-gatsby-theme-primer-wiki

Licence: MIT License
Another Foam template that use gatsby-theme-primer-wiki

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to foam-template-gatsby-theme-primer-wiki

obsidian-publish-mkdocs
A Template to Publish Obsidian/Foam Notes on Github Pages (uses MkDocs)
Stars: ✭ 219 (+995%)
Mutual labels:  notes, obsidian, foam, digital-garden
gatsby-theme-primer-wiki
A Gatsby Theme for Wiki/Docs/Knowledge Base, which using Primer style as the UI theme, can work well with Foam or Obsibian or just markdown files.
Stars: ✭ 85 (+325%)
Mutual labels:  notes, knowledge-base, obsidian, foam
hugo-documentation-theme
📖 Project Docs / Knowledge Base template for Hugo Website Builder. 创建项目文档
Stars: ✭ 101 (+405%)
Mutual labels:  knowledge-base, obsidian, digital-garden
Nb
CLI and local web plain text note‑taking, bookmarking, and archiving with linking, tagging, filtering, search, Git versioning & syncing, Pandoc conversion, + more, in a single portable script.
Stars: ✭ 3,846 (+19130%)
Mutual labels:  notes, knowledge-base
Obsidian-JG-Method
A starter kit that follows how I use Obsidian to manage my goals, tasks, notes, and software development knowledge base.
Stars: ✭ 110 (+450%)
Mutual labels:  knowledge-base, obsidian
Kb
A minimalist command line knowledge base manager
Stars: ✭ 2,789 (+13845%)
Mutual labels:  notes, knowledge-base
.com
Digital garden built using Next13, Typescript, and a bunch of goodies
Stars: ✭ 186 (+830%)
Mutual labels:  obsidian, digital-garden
knowledge-base
Personal Wiki
Stars: ✭ 16 (-20%)
Mutual labels:  notes, knowledge-base
foamy-nextjs
Basic Foam + NextJS with MDX starter for building a digital garden
Stars: ✭ 58 (+190%)
Mutual labels:  foam, digital-garden
almanacs
A recipe for everything 🗒️
Stars: ✭ 47 (+135%)
Mutual labels:  knowledge-base, digital-garden
bens-obsidian-boilerplate
An opinionated kit to provide people some inspiration and ideas for their own workflows.
Stars: ✭ 174 (+770%)
Mutual labels:  notes, obsidian
til
Personal Wiki of Interesting things I learn every day at the intersection of software, life & stuff aka my second brain 🧠️
Stars: ✭ 41 (+105%)
Mutual labels:  notes, knowledge-base
digital-garden
당근마켓 공개 지식 저장소
Stars: ✭ 309 (+1445%)
Mutual labels:  knowledge-base, digital-garden
garden
A digital garden prototype - my notes and links are here
Stars: ✭ 23 (+15%)
Mutual labels:  notes, digital-garden
Noted-Android
Noted app for android
Stars: ✭ 78 (+290%)
Mutual labels:  notes
eggheadio-course-notes
Really Good Notes on egghead.io courses 🌱
Stars: ✭ 125 (+525%)
Mutual labels:  notes
obsidian-contextual-typography
No description or website provided.
Stars: ✭ 45 (+125%)
Mutual labels:  obsidian
USTC-CS-Resources
USTC计算机学院 个人学习资料分享
Stars: ✭ 86 (+330%)
Mutual labels:  notes
zNotes
zNotes is a lightweight cross-platform application for notes management.
Stars: ✭ 17 (-15%)
Mutual labels:  notes
subtle-ui
A collection of clever yet understated user interactions found on the web
Stars: ✭ 39 (+95%)
Mutual labels:  gatsbyjs
tags
Readme
Getting-Started

Foam Template for Gatsby Theme Primer Wiki

👋Another Foam template that use gatsby-theme-primer-wiki, Welcome to your new Foam Knowledge Base!

Examples

Features

  • Support Local search, full-text search.
  • Support Graph Visualisation with canvas.
  • Support Tags, Tags First, Generating tag pages, also connecting with graph visualisation.
  • Support Gitbook styled SUMMARY.md for custom sidebar.
  • Support [[WikiLink]], But you'd better use Link Reference Definitions with extensions, "foam.edit.linkReferenceDefinitions": "withExtensions"
  • Support Light/Dark Theme
  • Custom Header Nav Items
  • Nested sidebar
  • Support Google Analytics
  • Support Sitemap/Robot
  • SEO optimization
  • Support path prefix

Principles

Here are my main ideas/principles in designing this theme.

  1. No vendor lock-in. The less vendor features you use, the better you'll be able to migrate. [[Wikilink]] is the only non-markdown feature supported by default, but nonetheless, it is recommended to use the standard markdown syntax, or if you edit with Foam, please use Wikilink with Link Reference Definitions. That give us the capability change our theme, or hosted place.
  2. Use meta data instead of special characters. We should use tags as the document's metadata, not #tag in the plain text.
  3. Use tags instead of categories. Minimal subfolders.

Getting started

For new wiki

This documentation assumes that you have a GitHub account and have Visual Studio Code installed on your Linux/MacOS/Windows machine.

  1. If you haven't yet, browse over to the main Foam documentation to get an idea of what Foam is and how to use it.

  2. Press "Use this template" button at foam-template-gatsby-theme-primer-wiki (that's this repository!) to fork it to your own GitHub account. If you want to keep your thoughts to yourself, remember to set the repository private.

  3. Clone the repository to your local machine and open it in VS Code.

    Open the repository as a folder using the File > Open... menu item.

  4. When prompted to install recommended extensions, click Install all (or Show Recommendations if you want to review and install them one by one)

  5. Delete all .md files you don't need, Change Site settings at .layouts/gatsby-config.js, change your CNAME at .layouts/static/CNAME, change your icon at .layouts/static/logo.png, commit your changes, and push to github, change your page settings at Github, make sure you set the page branch to gh-pages, then when github actions runed, you can visit your site.

After setting up the repository, head to [getting-started] to get familiar with your new knowledge base!

To learn more about how to use Foam, read the Recipes bubbles of the Foam documentation workspace.

And remember that you can always join our Foam community on Discord!

For exist wiki

Exist Wiki

  1. Clone this repo to your local machine
git clone https://github.com/theowenyoung/foam-template-gatsby-theme-primer-wiki.git
  1. Copy .layouts, .github .gitignore to your wiki folder.

Config

See here

Local Preview

cd .layouts
npm i
npm start

Deploy

Deploy to Github Pages, see .github/workflows/deploy.yml,

Path Prefix

If you want deploy your site with prefix path,

  1. change gatsby-config.js with:
module.exports = {
  pathPrefix: `/blog`,
}
  1. set your build script with gatsby build --prefix-paths,

  2. Local Preview with gatsby serve --prefix-paths

Also see the original docs: https://www.gatsbyjs.com/docs/how-to/previews-deploys-hosting/path-prefix/#add-to-gatsby-configjs

Using Foam

We've created a few Bubbles (markdown documents) to get you started.

  • [inbox] - a place to write down quick notes to be categorized later
  • [getting-started] - learn how to use your Foam workspace
  • [todo] - a place to keep track of things to do

In the docs directory you can find everything you need to learn the basics of Foam.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].