Code Monkey home page Code Monkey logo

obsidian-to-bookstack's Introduction

Hey, I'm Jayden Pyles ๐Ÿ‘‹

๐Ÿ’ป All my projects can be found here on Github

๐Ÿ I am a Fullstack Developer focusing in Backend Development (but am trying to improve my Frontend skills on my site)

โš› I am currently learning Typescript and Rust

obsidian-to-bookstack's People

Contributors

jaypyles avatar useahawk avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

obsidian-to-bookstack's Issues

Script breaks when there's a / in any title

I have books, shelves etc which have a '/' in the title.
The script breaks, since it's trying to build a path from that.
I consider that a bad practice myself and have changed all the titles.
Maybe titles should be escaped or theres a better way to avoid breaking the script.

Thx for your work!

data folder

Depending from where I run the script, a new datafolder is created at the location.
I think the datafolder should reside in a fixed location.

Required to run from project folder

Issue

Currently the conf.toml is loaded like:

def load_toml():
    """Try to load config"""
    cwd = os.getcwd()
    conf_path = os.path.join(cwd, "conf.toml")

    try:
        with open(conf_path, "r") as t:
            return toml.load(t)
    except:
        print("Couldn't load 'conf.toml'")

Which requires the project to be ran from the project directory.

To Resolve

Load from ~/.config and allow multiple configs for multiple vaults

Error with installation

Hi.

I attempted to run pip3 install . after cloning the repo, but this was the output that I received.

Processing /home/[user]/obsidian-to-bookstack
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing metadata (pyproject.toml) ... done
Building wheels for collected packages: UNKNOWN
  Building wheel for UNKNOWN (pyproject.toml) ... done
  Created wheel for UNKNOWN: filename=UNKNOWN-0.0.0-py3-none-any.whl size=1791 sha256=f67ed898358c271c49644b364075f741bba7813a9fec14e6773353e2b8fb43b8
  Stored in directory: /root/.cache/pip/wheels/33/14/94/5d56d8845a81dd20d28226f5d4c214057f9eb5cf5277783f8d
Successfully built UNKNOWN
Installing collected packages: UNKNOWN
  Attempting uninstall: UNKNOWN
    Found existing installation: UNKNOWN 0.0.0
    Uninstalling UNKNOWN-0.0.0:
      Successfully uninstalled UNKNOWN-0.0.0
Successfully installed UNKNOWN-0.0.0

Is this expected output? After which I tried to run any of the commands (sync, update etc. ) but none of them worked.

I'm trying out this program alongside Bookstack for the first time so I'm unsure if I'm just running the commands wrongly.

Thanks in advance.

dev_conf.toml

Instead of reading from ~/.config/obsidian_to_bookstack/conf.toml as described in the documentation, the script tries to read from ~/.config/obsidian_to_bookstack/dev_conf.toml

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.