1
0
Fork
You've already forked Mycelium-Server
0
Server for the Mycelium app
  • Nim 100%
Find a file
2023年11月09日 00:07:25 +00:00
.gitignore trying some stuff 2023年11月03日 23:03:16 +01:00
config.ini.default trying some stuff 2023年11月03日 23:03:16 +01:00
database.nim return messages on update in order 2023年11月09日 00:55:46 +01:00
LICENSE some administrative stuff 2023年11月01日 22:32:44 +01:00
main.nim adding something 2023年11月09日 00:58:07 +01:00
README.md trying some stuff 2023年11月03日 23:03:16 +01:00

Mycelium Server

These are the serverside files for the Mycelium messenger app. They are not to fancy right now but they will do for the moment and I might improve them some time soon.

Setup

To get the server running you will need a postgres instance running. Create a database, I like to call mine "mycelium", copy the config.ini.default to config.ini and fill in you data.

If you are planning to use it outside of your home network you also need to set up port-forwarding on your router to make the port you filled in in the config accessible.

Compiling

To compile, you'll need Nim, your distro should provide a package for it, or you can get it from the official website.

The dependancies for now are

  • db_connector
  • uuids

Once you are set run

nim c -d:release main.nim

and just start the executable.

Your hostname for the app will just be http:// plus whatever you wrote in the config.ini.