Inject custom css / javascript to Slack app !
The process includes a Python script, src/main.py
, which injects src/injected-script.ts
into the Slack app.
Before building the application, ensure you have the following installed:
Follow the steps below to build the application:
-
Clone the repository:
git clone https://github.com/AirOne-dev/SlackMod.git cd SlackMod
-
Install Node.js dependencies:
npm i
-
Install Python dependencies:
pip3 install -r requirements.txt
or
python3 -m pip3 install -r requirements.txt
-
Run the app:
npm run dev
or
python3 src/main.py
-
Dev - Run the app with file change watcher:
npm run dev-watch
When you update
src/injected-script.ts
, it will restart Slack for you -
Build the app:
MacOS only :
npm run build
, build SlackMod.app indist
folder