how it works
when you take out a Google Takeout with only chat messages, in a folder called "Space [space id]", there is a messages.json file.
the index.py file processes that file and prints who chatted the most.
the index2.py file also processes the messages.json file but creates a msgs.txt file with the messages. (including system messages)
to use index.py and index2.py, Python 3.10+ is required.
create a new folder called process-gchat-messages in Documents.
put index.py and index2.py with messages.json in process-gchat-messages.
then open a terminal or command line, go to process-gchat-messages.
then run
python index.py
or
python index2.py
!!! make sure that there isnt a file already named msgs.txt in your directory. index2.py will overwrite it. !!!