functional.cafe is one of the many independent Mastodon servers you can use to participate in the fediverse.
functional.cafe is an instance for people interested in functional programming and languages.

Server stats:

217
active users

@srijan Hi there, I saw your blog post on using org-protocol from inside Slack, and I found it very helpful indeed. Thank you!

I implemented a nix flake for both your work, and the commenter who wrapped the work in a python package to allow for usage in Slack.

My project:
- Packages the python script into a nix package (I called it shlack), as well as its pyChromeDevTools dependency
- Pulls in your JS code as a dependency of shlack and patches it for use with Slack desktop
- Provides an overlay that patches the Slack package, wrapping it in shlack so that you can continue using slack as normal

I might decouple the Python script and your work so that I can allow the user to provide a list of JS scripts to load.

I thought you might find it interesting! You can see what I've done in more detail here: git.sr.ht/~johnhamelink/shlack

Thanks again

Public

Nice work. I've been running it on Mac using the python wrapper provided in the comment + an AppleScript wrapper so that I can run it as an app.
Also, I've merged your PR on https://github.com/srijan/slack_org_protocol_capture and released a new version.

GitHubGitHub - srijan/slack_org_protocol_capture: Userscript to add a button to send a slack message to org-protocolUserscript to add a button to send a slack message to org-protocol - srijan/slack_org_protocol_capture