Skip to content

Just Chat

darkmash-org

A simple open source site hosted via github pages
And via random people contributing a chat room .
Here you can talk to random people with common
Interests, Ideologies, and so on.


You can log into any chat room which you will be interested from
The site "https://justct.github.io/". Here you can explore and
Filture out rooms which you would be interested in and so on.

The chat site have a basic Interface.
It only provides you a temp username,
Note : Only one person with a
username can join a specific room.

And only 3 people can join from the
same IP at a time, on to the same
chat room.

Official API Url : `https://backendjustchat.darkmash.repl.co`

How to - Host a chatroom ?

Requirements - python3 , pip3/pip , git

Note : If hosting on replit use something like uptimebot to keep it alive

git clone https://github.com/Justct/Chatroom.git
cd Chatroom

If on replit use this instead :

git clone https://github.com/Justct/Chatroom-replit.git && sed -i 's|entrypoint = "main.py"|entrypoint = "Chatroom-replit/main.py"|' .replit
cd Chatroom-replit 
pip install -r requirements.txt

Use python/python3 to run the Chatroom, If on replit use the 'run' button!

python main.py

After doing this register your Room here : https://justct.github.io/creation.html

How to - Use the offical API ?

API url : https://justct.pythonanywhere.com/

Uses GET :

/find/<room name>

  • Get API Url of the room in return

/get/int:page/int:results_per_page

  • Get the rooms
  • Returns : JSON List of rooms + details
  • Example return : [ {"name":"chat room 1", "description": ".....", "api_url": "https://......"} ]

/search/string:search_query

  • Search for rooms-
  • Returns : JSON List of rooms + details
  • Example return : [ {"name":"chat room 1", "description": ".....", "api_url": "https://......"} ]

Uses POST :

/new

  • Creates A new chat room
  • Headers should contain valid name and api_url and description
  • Returns -
    • "n" if the api url not working
    • "x" if a room with same name exists
    • "s" if it was a success

Note
  • Right now, if you wanna take your room down you have to join our discord and request for removal
Discord server

Join our discord server to talk about the
project and for giving us suggestions.
Join Server

Project owned and managed by darkmash-org

Popular repositories Loading

  1. justct.github.io justct.github.io Public

    Home Page

    HTML 3

  2. Chatroom Chatroom Public

    Create a chatroom

    Python 1

  3. Chatroom-replit Chatroom-replit Public

    Make chatroom with replit

    Python 1

  4. .github .github Public

    Readme and Stuff

  5. Backend Backend Public

    Python

Repositories

Showing 5 of 5 repositories
  • .github Public

    Readme and Stuff

    Justct/.github’s past year of commit activity
    0 MIT 0 0 0 Updated Jun 9, 2024
  • Chatroom Public

    Create a chatroom

    Justct/Chatroom’s past year of commit activity
    Python 1 GPL-3.0 0 0 0 Updated Jun 9, 2024
  • justct.github.io Public

    Home Page

    Justct/justct.github.io’s past year of commit activity
    HTML 3 GPL-3.0 0 0 0 Updated Jun 9, 2024
  • Backend Public
    Justct/Backend’s past year of commit activity
    Python 0 MIT 0 0 0 Updated Jun 26, 2023
  • Chatroom-replit Public

    Make chatroom with replit

    Justct/Chatroom-replit’s past year of commit activity
    Python 1 GPL-3.0 0 0 0 Updated Jun 18, 2023

Top languages

Loading…

Most used topics

Loading…