Security News
Research
Supply Chain Attack on Rspack npm Packages Injects Cryptojacking Malware
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
ackee-report
Advanced tools
CLI tool to generate performance reports of websites using the self-hosted analytics tool Ackee.
CLI tool to generate performance reports of websites using the self-hosted analytics tool Ackee.
ackee-report lets you create monthly website performance reports using your Ackee analytics data and deliver them to multiple recipients via email. It uses Ackee's Graphql API and can be configured to send multiple reports for different websites and recipients.
Install ackee-report via npm:
npm install ackee-report
On the first run ackee-report will ask you to input a few values:
The configuration will be stored in your home directory: ~/.config/configstore/ackee-report.json
Usage: ackee-report generate [options]
Generates report and sends it via specified service
Options:
-d, --domain <titles...> specify domains by title
-i, --id <ids...> specify domains by id
-t, --to <recipient...> to whom the report should be sent (when using email)
-o, --output <file> path to output file (when using json)
-s, --service <name> service to use (default: "email")
-h, --help display help for command
Run:
ackee-report generate -d example.com -t hello@example.com
to generate a report for the domain example.com
and send it via email to hello@example.com
.
To do this every month, create a cron job:
0 0 1 * * ackee-report generate -d example.com -t hello@example.com >> /tmp/ackee-report.log 2>&1
You can also specify mulitple domains and recipients:
ackee-report generate -d example.com example2.com -t hello@example.com hey@example2.com
To send multiple reports to different people, add them all as seperate cron jobs.
You can also save the report in a JSON file instead of sending it via email:
ackee-report generate -s json -d example.com -o report.json
If you want to send your report via email, you have to specify your email providers SMTP server and credentials, aswell as the from option:
smtp.example.com
465
username@example.com
password
username@example.com
or Ackee <username@example.com>
Enter the values on the first run of ackee-report or change them later in the config file: ~/.config/configstore/ackee-report.json
Common providers:
smtp.gmail.com
465
smtp.sendgrid.net
465
apikey
(everyone's username is apiKey)smtp.mailgun.org
465
postmaster@yourdomain.name
Issues and PRs are very welcome!
Run yarn lint
or npm run lint
to use eslint.
Please check out the contributing guide before you start.
This project adheres to Semantic Versioning. To see differences with previous versions refer to the CHANGELOG.
This library is an extension to the awesome privacy focused analytics tool Ackee.
Ackee was developed by @electerious, if you want to support him and the development of Ackee visit the Donate section on the Ackee repository.
Copyright 2020 Maximilian Schiller
This project is licensed under the MIT License - see the LICENSE file for details.
FAQs
CLI tool to generate performance reports of websites using the self-hosted analytics tool Ackee.
The npm package ackee-report receives a total of 1 weekly downloads. As such, ackee-report popularity was classified as not popular.
We found that ackee-report demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.
Security News
Sonar’s acquisition of Tidelift highlights a growing industry shift toward sustainable open source funding, addressing maintainer burnout and critical software dependencies.