The purpose of this repo is to make it easier to copy and paste markdown and rich text from one app into another. The current goal is to support copying between any of:
- Google Docs
- Slack
- Obsidian
Currently I'm focusing on Slack -> Google Docs.
Current usage is a little awkward; I plan to improve this.
To use it at the moment, you should:
- Install it like any Python project, for example:
- Clone the repo
- Make a new
venv
:- Run
python -m venv .venv
- Activate the
venv
withsource .venv/bin/activate
- Run
pip install .
- Run
- Alternatively if you have
poetry
installed you can do:poetry shell
poetry install
- You may encounter some errors installing - if so, use
brew
/apt
to install the missing dependencies. - From inside, that
venv
, runslack-copy
- This will start a loop that checks your clipboard and modifies it if it finds a match to one of the formats it can parse.
- Your clipboard is processed locally using
PyQt5
- You clipboard content is not stored or sent anywhere.
- If the format is not a match, it should leave your clipboard alone.
- Your clipboard is processed locally using
- This will start a loop that checks your clipboard and modifies it if it finds a match to one of the formats it can parse.
- I'd recommend opening a new terminal, activating the
venv
, runningslack-copy
in there, and leaving it open.