Skip to content

Modify HTML in the clipboard to make pasting between Slack, Google Docs, and Obsidian easier.

Notifications You must be signed in to change notification settings

naimenz/html-copy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Slack Copy

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.

Usage

Current usage is a little awkward; I plan to improve this.

To use it at the moment, you should:

  1. Install it like any Python project, for example:
    1. Clone the repo
    2. Make a new venv:
      1. Run python -m venv .venv
      2. Activate the venv with source .venv/bin/activate
      3. Run pip install .
    3. Alternatively if you have poetry installed you can do:
      1. poetry shell
      2. poetry install
  2. You may encounter some errors installing - if so, use brew/apt to install the missing dependencies.
  3. From inside, that venv, run slack-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.
  4. I'd recommend opening a new terminal, activating the venv, running slack-copy in there, and leaving it open.

About

Modify HTML in the clipboard to make pasting between Slack, Google Docs, and Obsidian easier.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published