{"id":19416839,"url":"https://github.com/ethanc/bluebird","last_synced_at":"2025-04-24T13:33:06.725Z","repository":{"id":238199370,"uuid":"766715498","full_name":"EthanC/Bluebird","owner":"EthanC","description":"Monitor users on X (Twitter) and notify about post activity.","archived":false,"fork":false,"pushed_at":"2025-03-11T07:50:21.000Z","size":87,"stargazers_count":18,"open_issues_count":0,"forks_count":4,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-03T05:41:30.639Z","etag":null,"topics":["bot","discord","docker","docker-compose","monitor","notification","notifications","notifier","notify","post","python","reply","repost","retweet","script","tweet","twitter","watcher","webhook","x"],"latest_commit_sha":null,"homepage":"https://hub.docker.com/repository/docker/ethanchrisp/bluebird","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/EthanC.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yaml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"custom":["https://cash.app/$EthanChrisp","https://venmo.com/u/Mxtive"]}},"created_at":"2024-03-04T01:31:16.000Z","updated_at":"2025-03-17T01:46:45.000Z","dependencies_parsed_at":"2024-05-04T22:30:52.793Z","dependency_job_id":"3781cf68-0762-42f0-b8a7-71aa59044773","html_url":"https://github.com/EthanC/Bluebird","commit_stats":null,"previous_names":["ethanc/bluebird"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EthanC%2FBluebird","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EthanC%2FBluebird/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EthanC%2FBluebird/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EthanC%2FBluebird/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/EthanC","download_url":"https://codeload.github.com/EthanC/Bluebird/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250636235,"owners_count":21463034,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bot","discord","docker","docker-compose","monitor","notification","notifications","notifier","notify","post","python","reply","repost","retweet","script","tweet","twitter","watcher","webhook","x"],"created_at":"2024-11-10T13:05:46.446Z","updated_at":"2025-04-24T13:33:06.432Z","avatar_url":"https://github.com/EthanC.png","language":"Python","readme":"# Bluebird\n\n![GitHub Workflow Status](https://img.shields.io/github/actions/workflow/status/EthanC/Bluebird/ci.yaml?branch=main) ![Docker Pulls](https://img.shields.io/docker/pulls/ethanchrisp/bluebird?label=Docker%20Pulls) ![Docker Image Size (tag)](https://img.shields.io/docker/image-size/ethanchrisp/bluebird/latest?label=Docker%20Image%20Size)\n\nBluebird monitors users on X and reports new posts via Discord.\n\n\u003cp align=\"center\"\u003e\n    \u003cimg src=\"https://i.imgur.com/7r4eMLt.png\" draggable=\"false\"\u003e\n\u003c/p\u003e\n\n## Setup\n\nAlthough not required, a [Discord Webhook](https://support.discord.com/hc/en-us/articles/228383668-Intro-to-Webhooks) is recommended for notifications.\n\nAn X account is required. It is recommended to use a throwaway account due to use of the internal API.\n\n**Environment Variables:**\n\n-   `LOG_LEVEL`: [Loguru](https://loguru.readthedocs.io/en/stable/api/logger.html) severity level to write to the console.\n-   `LOG_DISCORD_WEBHOOK_URL`: [Discord Webhook](https://support.discord.com/hc/en-us/articles/228383668-Intro-to-Webhooks) URL to receive log events.\n-   `LOG_DISCORD_WEBHOOK_LEVEL`: Minimum [Loguru](https://loguru.readthedocs.io/en/stable/api/logger.html) severity level to forward to Discord.\n-   `USERS_ALL`: Comma-separated list of [X](https://x.com/) usernames to monitor for all posts.\n-   `USERS_TOP`: Comma-separated list of [X](https://x.com/) usernames to monitor for top-level posts only.\n-   `USERS_MEDIA`: Comma-separated list of [X](https://x.com/) usernames to monitor for media posts only.\n-   `COOLDOWN_MIN_TIME`: Minimum randomized cooldown time between checking for new posts (default is 60).\n-   `COOLDOWN_MAX_TIME`: Maximum randomized cooldown time between checking for new posts (default is 300).\n-   `X_CSRF_TOKEN`: CSRF Token obtained via request inspection on [X](https://x.com/).\n-   `X_AUTH_TOKEN`: Cookie Auth Token obtained via request inspection on [X](https://x.com/).\n-   `X_BEARER_TOKEN`: Authentication Bearer Token obtained via request inspection on [X](https://x.com/).\n-   `DISCORD_WEBHOOK_URL`: [Discord Webhook](https://support.discord.com/hc/en-us/articles/228383668-Intro-to-Webhooks) URL to receive new post notifications.\n\n### Docker (Recommended)\n\nModify the following `compose.yaml` example file, then run `docker compose up`.\n\n```yml\nservices:\n  bluebird:\n    container_name: bluebird\n    image: ethanchrisp/bluebird:latest\n    environment:\n      LOG_LEVEL: INFO\n      LOG_DISCORD_WEBHOOK_URL: https://discord.com/api/webhooks/YYYYYYYY/YYYYYYYY\n      LOG_DISCORD_WEBHOOK_LEVEL: WARNING\n      USERS_ALL: Mxtive,spectatorindex,Breaking911\n      USERS_TOP: X,XData\n      USERS_MEDIA: archillect\n      COOLDOWN_MIN_TIME: 60\n      COOLDOWN_MAX_TIME: 300\n      X_CSRF_TOKEN: XXXXXXXX\n      X_AUTH_TOKEN: XXXXXXXX\n      X_BEARER_TOKEN: XXXXXXXX\n      DISCORD_WEBHOOK_URL: https://discord.com/api/webhooks/XXXXXXXX/XXXXXXXX\n    restart: unless-stopped\n```\n\n### Standalone\n\nBluebird is built for [Python 3.12](https://www.python.org/) or greater.\n\n1. Install required dependencies using [uv](https://github.com/astral-sh/uv): `uv sync`\n2. Rename `.env.example` to `.env`, then provide the environment variables.\n3. Start Bluebird: `python bluebird.py`\n","funding_links":["https://cash.app/$EthanChrisp","https://venmo.com/u/Mxtive"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fethanc%2Fbluebird","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fethanc%2Fbluebird","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fethanc%2Fbluebird/lists"}