uogbuji / rpan_chat_archive Goto Github PK
View Code? Open in Web Editor NEWThis project forked from sorcerykid/rpan_chat_archive
Parse the RPAN chatlog and output messages in various formats
License: Other
This project forked from sorcerykid/rpan_chat_archive
Parse the RPAN chatlog and output messages in various formats
License: Other
RPAN Chat Archive v3.0 By Leslie E. Krause RPAN Chat Archive parses the RPAN chatlog from Old Reddit and generates a report in the specified file format (e.g. txt, json, html, etc.). The report can optionally include member activity and award history with the default 'debug' format. The package consists of the following files: /rpan_chat_archive |- README.txt |- LICENSE.txt |- /tools |- chat_archive_wizard.html |- convert.csh |- convert.bat |- /bin |- parse_chatlog (binary for Linux) |- parse_chatlog.exe (binary for Windows) |- /src |- parse_chatlog.lua |- main_win32.lua (wrapper script for Windows binary) |- main_linux.lua (wrapper script for Linux binary) |- /lib |- chatlib.lua |- cmdlib.lua If you have the Lua interpreter on your system, then you can run the script directly from the 'src' directory. Otherwise, standalone binaries for Windows and Linux are available under the 'bin' directory. The examples below assume a Linux installation. The binaries were generated using Enceladus: https://github.com/ToxicFrog/Enceladus Note: For convenience, you may wish to copy 'bin/parse_chatlog' into '/usr/local/bin' for global use rather than working within the project directory. Be sure to set the execute permissions for the standalone binary. To run the script directly: % lua src/parse_chatlog.lua ~/rpan/yp9heq.html To run the standalone binary: % bin/parse_chatlog ~/rpan/yp9heq.html % cat ~/rpan/yp9heq.html | bin/parse_chatlog For complete instructions and usage examples: % bin/parse_chatlog --help % bin/parse_chatlog --example The chatlog must be supplied either as piped input or from an HTML file, as shown above. To simplify the process of downloading the chatlogs from Old Reddit, a JavaScript-based wizard is included in the 'tools' subdirectory. It can be opened in your web browser. For bulk conversions, a Windows batch file and a Linux shell script are both included in the 'tools' subdirectory. You can drag-and-drop the chatlogs in Windows Explorer and they will be exported to the 'output' directory under the project. In Linux, simply pass the list of chatlogs to be converted: % cd tools % ./convert.csh ~/rpan/*.html You can change the variables at the head of the batch file and shell script to customize the output filename, output filetype, and timezone offset as well.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.