Obsidian lab app
Project description
Obsidian lab
Say you have a terrific script in python to:
- Find similar notes to the current one.
- Translate a text.
- Know what was your mood the last three months, just reading your Obsidian vault.
- Whatever wonder you have under the sleeve :D
And you want to see if it's helpful in Obsidian.
Then you can:
- Expose your script with this app
- Try it out with the obsidian lab plugin.
To install
pip install obsidian-lab
Usage:
obsidian-lab <scripts directory>
This will run a mini web server that exposes the scripts of the directory specified.
There are some examples in the ./examples directory, to run do:
obsidian-lab ./examples
After starting, you can list all the available scripts:
{
"scripts": [
"http://127.0.0.1:5000/scripts/hello_world",
"http://127.0.0.1:5000/scripts/random",
"http://127.0.0.1:5000/scripts/to_upper_case"
]
}
To add new scripts, copy them in the scripts directory.
Build
Install the dependencies
pip install -r requirements.txt
try the app
python ./app.py <scripts directory>
Status
This is a proof of concept.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
obsidian_lab-0.2.4.tar.gz
(4.2 kB
view hashes)
Built Distribution
Close
Hashes for obsidian_lab-0.2.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 19abdefa5c8ea953089b3199dc7e935c9c97aa26d91d9e1c8aacf24d711d0a1c |
|
MD5 | 1b971208683a0503357ba40ac7f8af39 |
|
BLAKE2b-256 | dc673e4dafd25f8e1696a26ad35f3edd2072b03fbaffc591057bc7f67963c3ad |