Skip to content

pycontw/hackmd-archive-worker

Repository files navigation

hackmd-archive-worker

A worker that helps us archive discussion is recorded in HackMD periodically. The detailed working flow is as follows:

  1. (Prerequisite) Define the storing directories mapping in directory_hierarchy.yaml for the documents according to the tags.

  2. Download all the documents from HackMD through HackMD API.

  3. For each downloaded document, parse its tags and move it to the current directory following the definition in directory_hierarchy.yaml.

  4. After arranging the documents, push the documents to the new branch for archiving.

Installation and Usage

Install Dependencies

For running the app, you need to install the following dependencies by following command:

pipenv install -d

Usage

  • Crawling all the notes
pipenv run sync_all_notes

About

No description, website, or topics provided.

Resources

Code of conduct

Stars

Watchers

Forks