Skip to content

🌻[WIP] Gatsby Theme to build your own digital garden 🌻πŸ₯€πŸŒΈ

Notifications You must be signed in to change notification settings

johno/digital-garden

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

🌻 [WIP] Digital Garden

Digital Garden is a content-first project meant to make it easier to write and curate content on the web. This is a project I've built for myself but hope it can be useful for other folks looking to create their own gardens that leverage the open web. You can use components in your content seamlessly using MDX which is rad for writing.

Motivation

I was inspired by numerous posts that struck a chord. At the time of writing this I had roughly 100 WIP blog posts and essays that were sitting, hidden in a local directory: ~nt.

With a nice digital garden, content can be fun again. With MDX you can now write dynamic and immersive content that can show rather than tell. I've found myself writing a lot more, and want to make it easy as hell to share that content with the community. With a digital garden I can share thoughts with folks without having to copy pasta the material to a GitHub Gist.

Installation

Install the libraries that are needed:

yarn add gatsby gatsby-theme-digital-garden react react-dom

Usage

Create a gatsby-config.js that uses the gatsby-theme-digital-garden theme:

// gatsby-config.js
module.exports = {
  plugins: [
    {
      resolve: 'gatsby-theme-digital-garden',
      options: {}
    }
  ]
}

Project structure

site
β”œβ”€β”€ gatsby-config.js
β”œβ”€β”€ package.json
β”œβ”€β”€ pages
β”‚   └── index.md
β”‚   └── contact.md
β”œβ”€β”€ posts
β”‚   └── my-first-post.md
└── wiki
    β”œβ”€β”€ music
    β”‚   └── list.md
    └── thoughts
        β”œβ”€β”€ thoughts-1.md
        └── thoughts-2.md

Ordering your content

⚠️ Not yet implemented

Only the journal feature uses chronological order by default since it's meant to be a long running diary of ideas. The posts and wiki categories default to alphabetical but allow for you to set a priority. The priority key is used to sort. The higher priority number wins.

---
title: My wiki page
priority: 9999
---

πŸ›° Future

This project is nowhere close to completed. There are numerous things on the horizon like:

  • Content ordering
  • Wiki index page
  • Typography theming
  • Layout theming
  • Custom colors
  • Projects section (portfolio)
  • Post archive

Built with

Related

These following posts served as an inspiration to start this project.

About

🌻[WIP] Gatsby Theme to build your own digital garden 🌻πŸ₯€πŸŒΈ

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published