https://github.com/xyflow/fathom-discord-roundup
Sends weekly Fathom Analytics reports to a Discord channel.
https://github.com/xyflow/fathom-discord-roundup
Last synced: about 1 month ago
JSON representation
Sends weekly Fathom Analytics reports to a Discord channel.
- Host: GitHub
- URL: https://github.com/xyflow/fathom-discord-roundup
- Owner: xyflow
- Created: 2025-03-24T14:39:00.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2026-02-18T12:53:46.000Z (5 months ago)
- Last Synced: 2026-02-18T16:57:42.000Z (5 months ago)
- Language: JavaScript
- Homepage:
- Size: 9.77 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Fathom Analytics Reporting for Discord
This project sends weekly Fathom Analytics reports to a Discord channel.
## Installation
1. Clone the repository:
```bash
gh repo clone xyflow/fathom-discord-roundup
```
2. Navigate to the project directory:
```bash
cd fathom-discord-roundup
```
3. Install dependencies:
```bash
pnpm install
```
Or, if using npm:
```bash
npm install
```
## Configuration
Create a `.env` file in the project root directory and add your credentials:
```env
DISCORD_WEBHOOK_URL=your_discord_webhook
FATHOM_API_TOKEN=your_fathom_api_token
FATHOM_SITE_ID=your_fathom_site_id
```
## Creating a Discord Webhook
1. Open Discord and navigate to the channel where you want to post the report.
2. Click the settings icon (gear) next to the channel name.
3. Select **Integrations**, then click on **Webhooks**.
4. Click **New Webhook** and give it a name (e.g., "Fathom Report Bot").
5. Copy the **Webhook URL** and paste it into your `.env` file as the `DISCORD_WEBHOOK_URL`.
6. Save the changes.
## Usage
Run the script manually by executing:
```bash
node index.js
```