8000 GitHub - jaypyles/obsidian-to-bookstack at 47fa6f36f8bee9ec24a61108cb80f32f24a15871
[go: up one dir, main page]

Skip to content

jaypyles/obsidian-to-bookstack

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Summary

Download remote files from Bookstack instance, that you may not have, along with sending any changes to the remote.

Installing

Run with pipx install . inside the project to install to your machine.

Config

You can use a .env file in the root of your project for the following secrets:

BOOKSTACK_BASE_URL="https://demo.bookstack.com"

BOOKSTACK_TOKEN_ID=<your_bookstack_api_token_id>

BOOKSTACK_TOKEN_SECRET=<your_bookstack_api_token_secret>

or you may choose to use whatever secret manager you want, like Doppler, so long as it sets those environment variables.

Make sure to setup a conf.toml in the root of your project, example:

[wiki]
url = "https://demo.bookstack.com"
path = "/home/user/notes/"

[wiki.excluded]
shelves = ["private"]

Any shelves in wiki.excluded.shelves will not be uploaded to Bookstack.

Structure

The structure of the Obsidian Vault is pretty specific as it mirrors the Bookstack structure to be as in sync as possible.

- shelves
-- books
--- pages.md

I may in the future add extra support for pages with no books, along with more nested structure. Bookstack does currently support "chapters" in Books, but this does not support that currently.

Commands

Sync

Calls local and remote

Local

Pulls down any missing local files

Remote

Pushes up any missing files in the remote

Update

Requires either the --remote or the --local flag. If --remote is specified, any files which have been updated locally will be changed in the remote and vice-versa for --local.

In Progress

  • Add support for pages with no Books

About

Download and upload changes between an Obsidian Vault and a Bookstack instance.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages

0