@tereza-tech/zettel
TypeScript icon, indicating that this package has built-in type declarations

0.25.0 • Public • Published

Zettel

Create your own digital garden with Zettel, an open source engine that implements the Zettelkasten method.

Installation

yarn add @tereza-tech/zettel

Quickstart

Create your Zettelkasten notes in a folder, for example notes, then instantiate your Zettelkasten engine:

import { Zettelkasten } from '@tereza-tech/zettel';
import * as path from 'path';

const notesDir = path.join(process.cwd(), 'notes');

const zettelkasten = new Zettelkasten({ notesDir });

(async () => {
  const notes = await zettelkasten.getNotes();

  const blogNote = await zettelkasten.getNotes({ groups: ['blog'] });

  const tags = await zettelkasten.getTags();

  const flashcard = await zettelkasten.getFlashcard();

  const graph = await zettelkasten.getGraphData();
})();

Readme

Keywords

none

Package Sidebar

Install

npm i @tereza-tech/zettel

Weekly Downloads

32

Version

0.25.0

License

MIT

Unpacked Size

98.5 kB

Total Files

20

Last publish

Collaborators

  • pedro-arantes