Markob API lets you highlight text on web pages and save it to Obsidian.
Project description
markob - Web Highlighter for Obsidian
While reading your favorite articles you can highlight your texts and send them to your Obsidian vault and it will automatically create a file with the name of the page. Saving what interests you has never been easier*.
Extension Installation
Firefox
Firefox Browser Addons
- Go to Firefox browser addons
- Install the extension
Manual Installation
- Download the latest version from here
- Open
about:debugging
in Firefox - Click on "This Firefox"
- Click on "Load Temporary Add-on"
- Select the
Install.zip
file
Running the server
Enviorment variables
Variable | Description | Default |
---|---|---|
OBSIDIAN_PATH |
Path to your Obsidian vault | /code/obsi/ |
- Befor running the server make sure you export the
OBSIDIAN_PATH
variable by runningexport OBSIDIAN_PATH=/path/to/your/obsidian/vault
.
PIP
- Install the package
pip install markob
- Run the server
markob
Docker
If you dont have docker installed go here and follow the instructions.
- Pull the image
docker pull ghcr.io/rooyca/markob:main
- Run the image
docker run --rm -p 8888:8888 rooyca/markob:main
Where /home/USER/Documents/Obsidian/Highlights/
is the path to your Obsidian vault. Make sure to create your Highlights
folder in your vault.
It's that simple!
Docker build
If you want to build the docker image yourself you can do it by:
- Clone the repo
git clone https://github.com/Rooyca/MarkOb
- Build the image
docker build -t markob .
- Run the image
docker run --rm -p 8888:8888 markob
Binary
Download the latest binary from the release page, make it executable and run it.
chmod +x markob.bin
./markob
Python (FastAPI Version)
- Clone the repo
git clone https://github.com/Rooyca/MarkOb
- Install the requirements
pip install -r requirements.txt
- Run the api
uvicorn server/server.old:app --bind 8888
Python (http.server Version)
- Clone the repo
git clone https://github.com/Rooyca/MarkOb
- Run the server
python server/server.py
Usage
- Highlight some text
- Right click on the text
- Select the option you want
You can also use the keyboard shortcuts:
ALT + J
to send the highlighted text to Obsidian.ALT + K
to send the highlighted text + Tags.ALT + L
to send the highlighted text + Note.ALT + P
to send the highlighted text + Tags and a note.
Contributing
All contributions are welcome! If you find a bug or have a suggestion please open an issue. If you want to contribute code please open a pull request.
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
Built Distribution
File details
Details for the file markob-0.0.3.tar.gz
.
File metadata
- Download URL: markob-0.0.3.tar.gz
- Upload date:
- Size: 272.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9c926e76e09b2d210a3813a3b32b71526d2e4d3870d84ff8197bb1dd6cc99557 |
|
MD5 | 19ced5f225193043c262abad59f2b06c |
|
BLAKE2b-256 | 9e29700c585e1d8ef0a97812b97e95a6839c1c6bae66117e8bc4af7f8a8454f8 |
File details
Details for the file markob-0.0.3-py3-none-any.whl
.
File metadata
- Download URL: markob-0.0.3-py3-none-any.whl
- Upload date:
- Size: 5.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 02c9124fa3ba410ced2377b5ef79b5267590e180234fa6c6a81a1fc555d8b912 |
|
MD5 | 613bdf8fc46c96ccc6a27bc47622a6ad |
|
BLAKE2b-256 | a7f460dc49816539e049756e7e882fcee3c8f1c34daaf115ee1b0942040c2a37 |