IMPORTANT NOTE FOR THOSE WHO CHECK OUR WORK IN INNOPOLIS: this readme only for brief view of project. All important information for grading you can find in our docs: https://innonymous.rtfd.io
Innonymous is mobile-ready open-source light-weight and anonymous chat. Backend in python FastAPI, client-side in ReastJS, using web-sockets. Persistant storages are postgres and rabbitmq. Backend has anti spam registration using auto-generated CAPTCHA.
Since we have clear and easy documentation (powered by swagger) you can use our backend and create your own client-side application!
You may notice that this repo does not have any source code. We decided to split backend, frontend and main repo. Here you can find all links:
- API Server - https://github.com/innonymous/api-server
- Web Client - https://github.com/innonymous/web-client
- Compose (this repo) - https://github.com/innonymous/compose
Demo of project - here
Desktop version:
Mobile version:
We already pushed Innonymous to production: https://innonymous.tk/ (We DO NOT accept any responsibility for the content of the site. Anyone can write anything)
However you can start your own version of Innonymous! It is as easy as 1-2-3:
-
Install Docker and Docker Compose if you don't have it already
- On Mac and Windows, Docker comes with Docker Compose
- On Linux you need to install Docker Engine and Docker Compose separately
-
Configure
.env
file:
$ cp .env.example .env
env variable | description | example |
---|---|---|
AMQP_PASSWORD | RabbitMQ in docker container will use it, so this password only for infrastructure usage. However you should keep it in secret. | mycoolpassword1 |
DATABASE_PASSWORD | Infra password for postgres | mycoolpassword2 |
API_KEY | 32 bytes in hex, can be generated as openssl rand -hex 32 for backend JWT generation |
12345678901234567890123456789012 |
API_PORT | port for api. can be any free port | 8000 |
WEB_PORT | port of web service (client side app) | 8080 |
- Now start the whole project. You can add
-d
flag to run in daemon mode:
$ docker pull smthngslv/innonymous-web-client
$ docker pull smthngslv/innonymous-api-server
$ docker-compose up
Done! Now go to localhost:8080
and test your chat!
NOTE: after restarting database, you should clear your browser cookies. It is even better to use
Incognito Window
for local testing.
We DO NOT accept any responsibility for the content of the site. Anyone can write anything