An IRC-style chat room built for Reticulum NomadNet, optimized for MeshChat v2.1+. Made By F.
Screenshot from MeshChat index.mu page interface:
Experience the chatroom in action via the official NomadNet page:
NomadNet Page Link (MeshChat v2.1+ Optimized): d251bfd8e30540b5bd219bbbfcc3afc5:/page/index.mu
Welcome to THE CHATROOM β v2.00 by F.
The first Reticulum/Nomadnet IRC-style chatroom, optimized for Nomadnet and Meshchat v2.x+.
Born on v1 (beta) the 10 of August 2025. Enjoy!
Stable v2.00 update: 01/10/2025
This is a Python-based Nomadnet page script that creates a ready-to-run IRC-style chatroom.
Just copy all files from this GitHub release into your ./nomadnetwork/storage/pages/ folder,
make nomadnet.mu and meshchat.muexecutable with chmod +x, and launch your Nomadnet node.
Detailed installation info below.
- π Decentralized mesh-based communication based on NomadNetwork
- π§βπ» No registration requiredβjust choose a nickname and start chatting
- π¨ Nicknames are randomly colorized and persist across sessions (user settings personalization is coming soon!)
- π Nickname to LXMF address binding, using the Fingerprint in Meshchat v2+ to save and recover the nickname across sessions (THANKS TO: THOMAS)
- π οΈ Built with Python and Micron components, JSON and SQL DBs for chat, topic and nickname persistency
- π Official chat script is Hosted on a VPS for stable uptime
Live Demo: d251bfd8e30540b5bd219bbbfcc3afc5:/page/index.mu
Official GitHub: https://github.com/fr33n0w/thechatroom
Welcome to the Help section! This guide outlines all the modules required to run this project,
along with setup instructions to get you started smoothly.
This project uses a combination of Pythonβs built-in modules and third-party libraries.
These come bundled with Python and require no additional setup:
| Module | Purpose |
|---|---|
os |
Interacts with the operating system (e.g., file paths, environment vars) |
sys |
Accesses system-specific parameters and functions |
json |
Parses and manipulates JSON data |
time |
Handles time-based operations (e.g., delays, timestamps) |
random |
Generates random values and selections |
re |
Performs pattern matching with regular expressions |
shutil |
Performs high-level file operations (e.g., copying, moving files) |
collections |
Provides specialized data structures like Counter |
datetime |
Manages date and time objects |
These must be installed manually:
| Package | Purpose |
|---|---|
pytz |
Timezone definitions and conversions |
requests |
Simplified HTTP requests and API calls (needed for /meteo command only) |
geopy |
Geolocation services (e.g., address lookup via Nominatim, as above) |
sqlite3 |
Manages local SQLite database storage for Nickname to LXMF binding |
To install them, run:
pip install pytz requests geopy sqlite3and of course, you need to install and configure NomadNet to host the page:
pip install nomadnetTested and 100% working also with rns_server_pages by SebastianObi: https://github.com/SebastianObi/RNS-Tools/tree/main/rns_server_page
Ready to deploy THE CHATROOM on your NomadNet node? Follow these steps to get it running in minutes:
Clone the repository or download the ZIP:
git clone https://github.com/fr33n0w/thechatroom.gitcp -r thechatroom/* ~/.nomadnetwork/storage/pages/
chmod +x ~/.nomadnetwork/storage/pages/nomadnet.mu
chmod +x ~/.nomadnetwork/storage/pages/meshchat.mu
chmod +x ~/.nomadnetwork/storage/pages/fullchat.mu
chmod +x ~/.nomadnetwork/storage/pages/last100.muAlso make sure your user has read and write permission for the json and db files to be correctly written and saved!
Install and configure Nomadnet (or other nomadnet hosting page servers), after configuration:
nomadnetNote: TheChatRoom has been created and run on root user machines, probably you need to be root to run it, let me know if you encounter some difficulties!
Here are some important details about how THE CHATROOM works and what to expect:
- π The chatroom does not auto-refresh due to Micron limitations
β Use the Reload buttons that you find in the bottom menubar to view new messages - π§ Nicknames can be stored using MeshChatβs Fingerprint binding
- Usage: press fingerprint button, set a nickname and reload the page. Nick is saved. β This allows nickname persistence across sessions (thanks to Thomas!)
- To recover the nickname on lost session cache, press fingerprint again and it will reappear automatically
- π The main chat view shows the last 30 messages to fit MeshChat browser windows, you cn adjust the limit in the script β Full logs are available via the View Logs button on the bottom menΓΉ
- π§ͺ The
/meteocommand uses external APIs
β Requiresrequestsandgeopyto be installed - π§± Built with Python and Micron components
β Compatible with MeshChat v2.1+ and pure NomadNet client! - π§ͺ More Features will come soon! Stay Tuned!
Hereβs the full list of available commands in THE CHATROOM, grouped by category for easy reference:
| Command | Description |
|---|---|
/info |
Show chatroom information, usage, and disclaimer |
/cmd |
Display all available user commands |
/stats |
Show chatroom statistics, including Top 5 Chatters |
/users |
List all active chatroom users |
/version |
Show script version, latest updates, and news |
| Command | Description |
|---|---|
/lastseen <nickname> |
Show last seen info and latest message from a user |
/topic or /topic <text> |
View or change the current room topic |
/search <keyword(s)> |
Search for keywords in the full chat log |
/time |
Show current server time (UTC) and your local time |
/ping |
Reply with PONG! to confirm chat system is active |
/meteo <city> |
Get weather info for a city (requires internet + API) |
| Command | Description |
|---|---|
/e |
Send randomized emojis from the internal emoji list |
/c <message> |
Send a colored message with randomized background and font colors |
@nickname |
Mention a user with a colored highlight |
$e |
Insert a random emoticon anywhere in your message |
/welcome or /welcome <nickname> |
Send a welcome message to the room or a specific user |
| Command | Description |
|---|---|
/hi, /bye, /brb, /lol, /exit, /quit, /away, /back, /notice |
Send status updates or reactions |
| Example | /hi Hello World! β syntax works for all status commands |
Only available to system administrators via
/admincmd
| Command | Description |
|---|---|
/clear |
Delete the last message permanently |
/clear N |
Delete the last N messages, e.g. /clear 3 |
/clear user <nickname> |
Delete all messages from a specific user |
/clearall |
Clear the entire chat log and database (irreversible) |
/backup |
Create a full chat_log.json backup in the script folder |
β οΈ Some commands require internet access or third-party libraries (requests,geopy).
π Admin commands are protected and only executable by authorized users. (Edit SYSADMIN nickname in the script!!)
The ChatRoom! includes already a good list of antispam filters, based on single words or combined phrases. Add your own or remove the unwanted blocked words to make it less strict in spam_patterns lines section of the script.
The UI is fixed in place with DISPLAY_LIMIT var, limited to ~28 messages to fit the MeshChat 2.0+ Browser window. Same for the Nomadnet page with simpler approach to limit lines to ~36 Note: Long user messages are split into multiple lines and it can vary the size of the final rendered UI.
Automatically color the user nickname for better readability, keeps it persistant for any message or command, same nick, same color, you can edit the default colors in the script.
Pressing the Fingerprint button on meshchat v2.1+ , you send your lxmf to the chat and the script will automatically bind the nickname and the lxmf address like a sort of autologin. on rejoining the chat, nickname will be automatically recovered. if the meshchat os variables are missing (in case of reboot for example), just press fingerprint again and based on your lxmf, your nickname will reappear again automatically. Nickname and corresponding LXMF address is saved in a sql db to be recovered.
On longer messages, they will automatically be split in multiple lines to keep persistant ui layout and format.
Show chat statistics, top chatters, total sent message per user, total users in chat (commands: /stats or /users)
(eg. set your nickname color preferences, possibility to click nickname to share your lxmf address for private chat, remove your nick and lxmf binding, chat theme selection, ecc.)
(eg. Add or Remove multiple Administrators)


