paulbricman / dual-obsidian-client

A skilled virtual assistant for Obsidian.
https://paulbricman.com/thoughtware/dual
Mozilla Public License 2.0
242 stars 7 forks source link

Add Dual command to start server inside Obsidian #44

Closed onlurking closed 3 years ago

onlurking commented 3 years ago

Add a Dual: Start Server command palette to run python server.py --path [current vault folder] under the hood.

zacKolton commented 3 years ago

Or even further,

Add a custom setting that allows users to input the path of their vault, then when you want to start Dual, just hit a button (I suppose in the settings of Dual) that runs start server command.

I think this would make it more accessible to people who aren't vary familiar with executing commands.

zacKolton commented 3 years ago

I mean honestly,

You could just use Automator to run a command when you open Obsidian. If you're on a Mac. I presume there's other options for other platforms.

Furthering this, within automator you could have a list of paths to choose from if you have multiple vaults in various locations.

paulbricman commented 3 years ago

Given that the pure Python setup is an early hacky way of prototyping, not the final way the backend will be delivered, I don't think we should add a quick command designed to help with the installation from source. When the server thing will be a binary, sure, but right now I think testers and contributors can manage a terminal or a hacky automation. And when both source and binaries will be available, imho only a quick command for the binary makes sense.

But actually my guess is that an on-startup setting will start the server at once with Obsidian.

zacKolton commented 3 years ago

I see, sounds good!