enhanced-slack icon indicating copy to clipboard operation
enhanced-slack copied to clipboard

🌴 PoC Slack enhancer/injector

🌴 Enhanced Slack

This is a proof of concept to test the idea of enhancing Slack.app.

Current features:

  • [x] Syntax highlight using highlight.js
  • [x] Double click to edit message

Next up:

  • [ ] Hot code reloading (no need to restart Slack.app)
  • [ ] Make default features configurable
  • [ ] Plugins (inject your own css & js)
  • [ ] Documentation

Feel free to PR/open an issue with suggestions/beautifications! 👌

Install

git clone [email protected]:albinekb/enhanced-slack.git
cd enhanced-slack
yarn
yarn run inject

Running inject will:

  • Backup the original app.asar
  • Extract the app.asar archive
  • Add some js to it
  • Re-pack the app.asar

Restart Slack, you should now see syntax highlighting 💅

Remove

yarn run eject

Running eject will:

  • Restore the original app.asar
  • Cleanup build files