Installing the command-line executable
Assuming you have Rust/Cargo installed , run this command in a terminal:
cargo install groupme-rust-stats
It will make the groupme-rust-stats
command available in your PATH
if you"ve allowed the PATH
to be modified when installing Rust . cargo uninstall groupme-rust-stats
uninstalls.
Back to the crate overview .
Readme
A Tool to download all history of a GroupMe chat room
and runs a few stats on each user"s messages in the group:
Prerequisites:
Create an application api key for GroupMe API
Go to https://dev.groupme.com/applications
Login with your account
Click "Create Application"
Set callback to "localhost"
Click save
Copy the value at < user name> "s Access Token
This will be used in the settings file as the < Groupme_Api_Key>
Get the group chat id:
Output:url
Two folders will be created when run:
raw_output:
This holds all the raw JSON from the groupme API, file names are the timestamp range for the file"s messages
results:
How To Run:
Option 1: (use Rust runtime)
Install Rust runtime time from here:
Clone repository
Change Settings.default.toml to Settings.toml and add the following information:
group_ids = < Groupme_Chat_Ids>
api_key = " <Groupme_Api_Key>"
output_folder = " <Relative_Path_Loction_For_Output_Folder>"
results_folder = " <Relative_Path_Location_For_Results_Folder>"
Use command:
On complete you should see an output like the one below:
Option 2: (use binary file and run from command line/terminal)
Download binary from the releases (supports windows and linux [compiled on ubuntu 20.04]):
Create a folder, add the downloaded binary to it
Create a Settings.toml in the same folder as the binary
Add the following information to the settings file:
group_ids = < Groupme_Chat_Ids>
api_key = " <Groupme_Api_Key>"
output_folder = " <Relative_Path_Loction_For_Output_Folder>"
results_folder = " <Relative_Path_Location_For_Results_Folder>"
Open command-line/terminal, navigate to folder that holds the binary
Run the following command:
On complete you should see an output like the one below:
Option 3: (install from cargo package manager)
Have rust runtime installed on machine
Run cargo install groupme-rust-stats
Add a Settings.toml file, in current folder, with the following details:
group_ids = < Groupme_Chat_Ids>
api_key = " <Groupme_Api_Key>"
output_folder = " <Relative_Path_Loction_For_Output_Folder>"
results_folder = " <Relative_Path_Location_For_Results_Folder>"
Run package with ~/.cargo/bin/groupme-rust-stats