Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/chat-apropo/unrealircd-history-logger
A unrealircd module that provides a per user and per channel message history backlog
https://github.com/chat-apropo/unrealircd-history-logger
backlog chat log unrealircd
Last synced: 9 days ago
JSON representation
A unrealircd module that provides a per user and per channel message history backlog
- Host: GitHub
- URL: https://github.com/chat-apropo/unrealircd-history-logger
- Owner: chat-apropo
- License: other
- Created: 2022-07-22T02:49:01.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2022-07-25T22:42:59.000Z (over 2 years ago)
- Last Synced: 2024-11-14T00:20:30.422Z (2 months ago)
- Topics: backlog, chat, log, unrealircd
- Language: C
- Homepage:
- Size: 11.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Work in progress
# Chat History logger
Per user chat history. Only retrieve the history of what you missed in certain channel. Only allow registered users to have this feature. This module will store the history in a separated database.
## Building
Copy `loggerhistory.c` into unrealircd's `src/module/thirdy/loggerhistory.c` and build it with something like:
```bash
make && make install && chown -R irc /home/irc/unrealircd
```## Configuring
Add this to your unrealircd.conf:
```config
loadmodule "third/loggerhistory";set {
histlogger {
whitelist {}; /* If set to any will only allow these channels to have hisotry */
blacklist {}; /* If set to any those channels wont have any history */
dbpath "/home/irc/histlog.db"; /* Database to store messages and other info for the module */
regonly 1; /* Allow registered users only to use this feature */
maxlength 1000; /* Max backlog size to send to a client */
}
}```
Then run `/rehash` as an oper on the irc server. No need for restart!