Chatter: Modern C based Unicode Chat/BBS
Hi, I made a Chatroom/Bulletin Board System that is written in Modern C.
Millennials style, but TUI. Still good either.
https://github.com/gg582/ssh-chatter
ssh username@chat.korokorok.com -p 2222
telnet chat.korokorok.com 2323
This is quite different from many other Modern C rules as it uses context structure to mimic Go language style.
Please join here and post something! I want to hold many posts.
Although it does not mimic traditional OOP, the code is still clear so I can modify each parts.
host.c is separated as many *.inc files to enhance code readability.
There is Boehm GC compatible memory manager so memory leaks can be partially prevented.
Here's SCC(SLOC/CLOC/etc) result:
───────────────────────────────────────────────────────────────────────────────
Language Files Lines Blanks Comments Code Complexity
───────────────────────────────────────────────────────────────────────────────
C 21 49148 5746 147 43255 13789
C Header 18 1568 201 18 1349 18
Shell 10 814 115 55 644 85
Systemd 3 84 13 0 71 0
Markdown 2 584 160 0 424 0
License 1 339 58 0 281 0
Makefile 1 97 13 0 84 0
Plain Text 1 25 0 0 25 0
gitignore 1 13 0 0 13 0
───────────────────────────────────────────────────────────────────────────────
Total 58 52672 6306 220 46146 13892
───────────────────────────────────────────────────────────────────────────────
Estimated Cost to Develop $1,509,857
Estimated Schedule Effort 17.942646 months
Estimated People Required 9.967913
───────────────────────────────────────────────────────────────────────────────
Actual schedule effort: 0.7 month, developed by myself(one person).
Used $20 to do it. It is quite expensive for college student, but Codex was still helpful.
Posted Nov 10, 2025, 12:19 PM UTC