Socials Daily
Fetch recent posts from public social media accounts and generate a daily summary.
Quick Start
pip install socials-daily
Create accounts.json:
{
"bluesky": {
"accounts": [{"handle": "bsky.app"}]
},
"instagram": {
"accounts": [{"handle": "natgeo"}]
}
}
Run the scraper:
python -m socials_daily scrape
Output:
output/daily-summary-YYYY-MM-DD.md # Markdown summary
output/daily-summary-YYYY-MM-DD.json # JSON for programmatic use
Usage
Scrape
# Default: Bluesky (free, no auth needed)
python -m socials_daily scrape
# Instagram (free, rate-limited)
python -m socials_daily scrape --backend instaloader
# HikerAPI (pay-per-request, ~$0.0006/request)
python -m socials_daily scrape --backend hikerapi --api-key YOUR_KEY
# Xpoz (pre-indexed data, free tier available)
python -m socials_daily scrape --backend xpoz --api-key YOUR_KEY
Add Accounts
# Bluesky (default)
python -m socials_daily add bsky.app
# Instagram
python -m socials_daily add natgeo --platform instagram
# With custom limit
python -m socials_daily add atmos.bsky.social --platform bluesky --limit 20
# Set platform backend
python -m socials_daily add natgeo --platform instagram --backend hikerapi
Configuration
accounts.json
Accounts are grouped by platform. Each account can have a custom limit:
{
"bluesky": {
"accounts": [
{"handle": "bsky.app"},
{"handle": "atmos.bsky.social", "limit": 20}
]
},
"instagram": {
"accounts": [
{"handle": "natgeo"}
]
}
}
Each platform can override the scraper backend:
{
"instagram": {
"backend": "hikerapi",
"accounts": [
{"handle": "natgeo"}
]
}
}
Backend resolution (highest to lowest priority):
- CLI
--backendflag (overrides everything) - Platform
backendinaccounts.json - Default mapping (
instagram→instaloader,bluesky→bluesky, etc.)
API Keys
API keys are stored in .socials_daily.config.json (gitignored). Keys are resolved in order:
- CLI
--api-keyflag .socials_daily.config.json- Environment variables (
HIKERAPI_TOKEN,XPOZ_API_KEY)
Backends
| Backend | Cost | Setup | Best For |
|---|---|---|---|
bluesky |
Free | None | Public Bluesky accounts |
instaloader |
Free | None | 1-5 Instagram accounts, low volume |
reddit |
Free | None | Subreddit posts |
rss |
Free | None | Any RSS/Atom feed |
youtube |
Free | pip install "socials-daily[youtube]" |
YouTube channel videos |
hikerapi |
~$0.0006/request | API key | Reliable, high volume |
xpoz |
Free tier available | API key | Pre-indexed data, multi-platform |
Bluesky
Uses Bluesky's public AT Protocol API. No authentication required.
python -m socials_daily scrape --backend bluesky
Instaloader
Free, open-source Instagram scraper. Rate-limited by Instagram.
HikerAPI
REST API with 100+ endpoints. No blocks, no rate limits.
export HIKERAPI_TOKEN=your-key
python -m socials_daily scrape --backend hikerapi
Xpoz
Pre-indexed social data API. Supports Instagram, Twitter, TikTok, Reddit.
export XPOZ_API_KEY=your-key
python -m socials_daily scrape --backend xpoz
YouTube
Fetches recent videos from YouTube channels. Requires optional yt-dlp dependency.
# Install YouTube support
pip install "socials-daily[youtube]"
# Add a channel (handle or name)
python -m socials_daily add mkbhd --platform youtube
# Scrape
python -m socials_daily scrape
Fetches recent posts from public subreddits via Reddit's JSON API. No authentication required.
# Add a subreddit
python -m socials_daily add programming --platform reddit
# Scrape
python -m socials_daily scrape
RSS
Scrapes any RSS/Atom feed. The handle field holds the feed URL.
# Add an RSS feed
python -m socials_daily add https://www.reddit.com/r/programming/.rss --platform rss
# Scrape
python -m socials_daily scrape
Development
Setup
uv sync
Optional backends:
uv sync -E hikerapi -E xpoz -E youtube
Project Structure
accounts.json # Accounts grouped by platform (with optional backend config)
src/socials_daily/ # Source code
├── __main__.py # Entry point
├── providers/ # Third-party service providers (require API keys)
│ ├── hikerapi.py
│ └── xpoz.py
└── scrapers/ # Direct scraping (no third-party services)
├── base.py # Abstract interface
├── bluesky.py
├── instaloader.py
├── reddit.py
├── rss.py
└── youtube.py
output/ # Generated daily summaries
pyproject.toml # Project config (uv)
Architecture
See ARCHITECTURE.md for a detailed breakdown of the scraper layer, config resolution, deduplication system, and data flow.
License
MIT — Copyright 2026 Bartlomiej Cieszkowski
Metadata
Release files for socials-daily 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| socials_daily-0.2.0.tar.gz | 13.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| socials_daily-0.2.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 34.6 kB
Release files / socials_daily-0.2.0.tar.gz
How to use checksums
22fbcd6b183f28e8a05aa04d52e35f199b3d6a1575c9f8102b7789a492d286e3How to use checksums
534423f9ccbca54a8830ee6afdaa9e99ccf2d51929fad2883af2eda2dc49c717What is trusted publishing?
twine/7.0.0 CPython/3.13.14Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 7, 2026.
Transparency logIdentity
Workflow
Artifact
socials_daily-0.2.0.tar.gz22fbcd6b183f28e8a05aa04d52e35f199b3d6a1575c9f8102b7789a492d286e3Verifying attestations