This repository contains the source code for a console client that interacts with iomirea.
- View Account Information (E-Mail, Username, User ID)
- Get a list of all channels the user is in
- View messages
- Send messages
This has been tested on Windows (10) and Linux (Raspbian) with Node.js v10.15.3 installed. Travis CI compiles every commit and pull request on Node.js v9, v10 and v11 to check if it's working. Although it should work on old versions it is recommended to use LTS.
- Download the repository
git clone https://github.com/y21/iomirea-client
The following step(s) will only work if you have Node.js installed
- Navigate into the cloned repository and install all required dependencies
cd iomirea-client
npm install
- Install typescript globally if it is not installed on your machine already
npm install typescript -g- Transpile the source code into executable JavaScript code
If this tells you that
tscis not a recognized internal or external command, make suretscis set in the PATH environment variable (should not happen on Linux)
Alternatively, run the transpile script yourself with the path totsc
npm run transpile
- Create a file named
.configif it does not exist already and add the following contents (replacetokenwith your actual access token):
ACCESS_TOKEN=token- Start the application
npm run iomireaYou can easily add your own language by creating a JSON file in the ./languages directory. The filename (without extension) is what you have to place in your .config file as lang.
Feel free to use en.json as template.