Onium - Inject hebrew support into a slack desktop app
Onium is a small utility to inject Hebrew support (automatic RTL) into Slack’s desktop app. Onium does this by modifying Slack’s app.asar (Slack application code) and changes the Slack app itself.
What is Onium?
Onium fixes one of Slack’s most glaring issues for users in countries whose script is written Right-to-left. It does so by injecting code into Slack that modifies the displayed text to correctly show Right-to-left words.
The Slack app is built using Electron, which essentially wraps a Chromium browser and a Node.js server together. Onium modifies the HTML displayed by the Chromium browser to properly support Hebrew (and RTL) languages.
Onium does this by modifying Slack’s internal code (creating a “Fixed” solution), until Slack adds a new update.
You need Python 2.7 or 3.5 or later to run Onium. Onium should work on Windows, Mac and Linux.
Onium can be installed using pip:
$ python -m pip install onium
As long as python’s scripts folder is in your path, simply run
Onium supports various command line parameters
usage: onium [-h] [-l LOCATION] [--no-kill] [--no-start] [-b BACKUP] [-f] [-d] Inject hebrew support plugin into Slack's tab inside an electron app. This program injects the Chrome's hebrew_slack plugin into any electron (desktop) version of the slack app optional arguments: -h, --help show this help message and exit -l LOCATION, --location LOCATION Location of application to run, or auto, local (Windows only), store (Windows only) [default: auto] --no-kill Do not attempt to kill original application before starting --no-start Do not attempt to start application (assume already running) -b BACKUP, --backup BACKUP Name to use save original slack app backup. This will never overwrite an existing backup file. Fails if file already exists and not used with -f [default: app.asar.orig] -f, --force Proceed even if backup file already exists [default: False] -d, --debug Pass --remote-debugging-port=9222 to enable rendered debugger with chrome
Contribute / Join the conversation
Please report issues here
Onium is licensed under the terms of the MIT License (see the file LICENSE.txt).
Release history Release notifications
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|Filename, size||File type||Python version||Upload date||Hashes|
|Filename, size onium-0.7.4-py2.py3-none-any.whl (11.9 kB)||File type Wheel||Python version py2.py3||Upload date||Hashes View hashes|
|Filename, size onium-0.7.4.tar.gz (14.6 kB)||File type Source||Python version None||Upload date||Hashes View hashes|
Hashes for onium-0.7.4-py2.py3-none-any.whl