Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/agreatfool/dayone2md
Dump all dayone posts to local disk md files
https://github.com/agreatfool/dayone2md
Last synced: 17 days ago
JSON representation
Dump all dayone posts to local disk md files
- Host: GitHub
- URL: https://github.com/agreatfool/dayone2md
- Owner: agreatfool
- License: mit
- Created: 2021-08-26T06:03:03.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2021-09-23T15:59:46.000Z (about 3 years ago)
- Last Synced: 2024-05-14T07:02:02.306Z (7 months ago)
- Language: TypeScript
- Size: 105 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- project-awesome - agreatfool/dayone2md - Dump all dayone posts to local disk md files (TypeScript)
README
# dayone2md
Dump all dayone posts to local disk as md files
## How to use
1 use this tool to generate the slug mapping json file, since some title could not be converted to slug directly:
```bash
$ dayone2md -d ~/Downloads -a mapping
```2 edit the mapping json, fill in all the slugs
3 execute the dump action
```bash
$ dayone2md -d ~/Downloads/your/obsidian/vault -m ~/Downloads/mapping.json -a execute
```## Help
```bash
$ dayone2md -h
Usage: dayone2md [options]Dayone2md application, supports only MacOS & Dayone2
Options:
-V, --version output the version number
-d, --dest directory of output destination
-m, --mapping file path of the post title slug mapping json file
-a, --action which action will be executed: execute | mapping (default: "execute")
-h, --help display help for command
```