WARNING!
These instructions are not accurate and may not be future-proof! Plus, they don't even work at this moment.
This is the backend for IONiz. (this will eventually probably be recoded in Rust or C++ for better speed)
You may use this according to the MIT license. Don't use this for bad pls.
Note: In order to use this backend, you must have your clients add it by configuring it in the app settings.
This backend is the part of IONiz, which handles IONiz accounts and proxying to different servers.
You do not need to create a new account in this system to make use of it! You can configure it in such a way that IONiz automatically considers it as an extension, rather than as a replacement for the backend as a whole. Simply have this entry in the config:
{
"network_settings": {
"use_as_extension": true
}
}
By default, this will practically be useless. You can further configure it to allow you to host files and etc. Example:
{
"network_settings": {
"use_as_extension": true,
"extension_settings": {
"file_host": true,
"proxy": true,
"groups": true
}
}
}
Note:
extension_settings
is only taken into account if you haveuse_as_extension
set totrue
!
"file_host": true
Allows file hosting on the backend."proxy": true
Allows proxying honeycomb connections, so honeycomb hosts cannot see your IP address."groups": true
Allows making IONiz groups.
Requirements:
- HTTPS connection
- Port-forwarded accessible URL for the server
- NodeJS, ideally latest or at least LTS
- A working PostgreSQL database
- Simply make sure all dependencies are installed. If you have yarn, just do
yarn
, if you use NPM, donpm install
. - Now run
yarn start
(for yarn) ornpm start
(for NPM). You can also add the--debug
flag for debugging like so:yarn start --debug
ornpm start --debug
.-d
,-debug
and--d
also work. - You should be up and running, so long as everything is configured and set up correctly.