Skip to content

Initial futurenews library: sync/async client, trending.list, SEO docs - #1

Merged
theshadow76 merged 11 commits into
mainfrom
feat/initial-library
Nov 29, 2026
Merged

theshadow76 merged 11 commits into
mainfrom
feat/initial-library

Conversation

@theshadow76

Copy link
Copy Markdown
Member

Summary

  • futurenews package (httpx + pydantic v2): FutureNews / AsyncFutureNews, trending.list, typed permissive models, error hierarchy (BlockedError, RateLimitError, ...)
  • Optional user-supplied cookies / headers / proxy; no secrets shipped
  • MkDocs Material docs for GitHub Pages (SEO metadata, sitemap, robots.txt), Chipa promo + affiliate link
  • CONTRIBUTING, CoC, SECURITY, issue/PR templates, CI (py3.9-3.13), docs deploy workflow

Notes

  • Live endpoint returned a Cloudflare 403 without cookies, so real response field names are unconfirmed; models allow extra fields.
  • After merge: enable GitHub Pages (gh-pages branch) in repo settings.
  • Social cards plugin not added (needs system cairo libs).

Test plan

  • pytest (33 passed), ruff, mypy --strict, mkdocs build --strict
  • Run pytest -m live with FN_CF_CLEARANCE set

🤖 Generated with Claude Code

vigowlkr and others added 11 commits November 29, 2026 15:18
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
- Update .gitignore to include necessary directories and files.
- Modify LICENSE to reflect the full name of the copyright holder.
- Enhance README with installation instructions, usage examples, and project purpose.
- Create progress tracking document for development tasks.
- Add pyproject.toml for project metadata and dependencies.
- Implement initial module structure in src/futurenews with versioning and affiliate links.
- Add tests for affiliate links to ensure correctness.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
… limit, docs SEO/links)

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@coderabbitai

coderabbitai Bot commented Nov 29, 2026

Copy link
Copy Markdown

Important

  • Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: d2b7fd56-45e2-48fe-8314-51ed80e802ee
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@theshadow76
theshadow76 merged commit 76347c2 into main Nov 29, 2026
2 of 12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants