A Node.js script to search groups.io archives.
npm installYou can configure the app in two ways:
Copy the .env.template file to .env and fill in your credentials:
cp .env.template .env
# Edit the .env file with your informationnode index.js --email "your.email@example.com" --password "your-password" --query "search term" --id 12345Or using short options:
node index.js -e "your.email@example.com" -p "your-password" -q "search term" -i 12345You must specify either a group ID or a group name (but not both):
--idor-i: Specify the group ID--group-nameor-g: Specify the group name
--queryor-q: The search term to look for
--formator-f: Output format (default: body-only)body-only: Only show message contentfull: Show all message detailssummary: Show condensed summary of each message
--outputor-o: Optional file path to save results- If not specified, results are displayed on the console
Basic search with console output:
node index.js -e "your.email@example.com" -p "your-password" -q "search term" -i 12345Search with a specific format:
node index.js -q "search term" -g "group-name" -f summarySearch and save to file:
node index.js -q "search term" -i 12345 -o results.jsonWith configuration in .env file:
node index.js -q "search term" -f fullIt's recommended to not include your password directly in the command line. Use the .env file instead.