Skip to content

About

Super fast notfication of press events, so you can win in the time competiton

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

PressRadar

PressRadar helps PR teams detect relevant media opportunities and turn them into timely pitches. The MVP runs locally with SQLite and can be deployed to Google Cloud Run with Firestore and BigQuery.

Prerequisites

  • Docker with Docker Compose
  • GNU Make (optional; commands can be run directly with Docker Compose)

No cloud or paid-provider credentials are required for local development.

Each account has isolated Prod and Demo workspaces. Demo uses deterministic simulated media. Prod can ingest configured RSS feeds without credentials; add NEWSAPI_API_KEY to .env only when enabling the suggested UAE NewsAPI source.

Start locally

cp .env.example .env
chmod 600 .env
docker compose up --build

Open the web application at http://localhost:3000. The API health endpoint is available at http://localhost:8000/health and interactive API documentation at http://localhost:8000/docs.

Docker Compose runs Ollama internally and ensures both the configured Qwen analysis model and TranslateGemma translation model are downloaded before the API starts. Models are stored in the ollama-data volume; the first download is several gigabytes and can take several minutes.

Stop the services with docker compose down.

SMTP email verification and pitch delivery

The default EMAIL_PROVIDER=fake never sends email. To verify new accounts with email OTPs and send approved pitches through the internal Nodemailer adapter, set these values in .env using the SMTP credentials supplied by your email provider:

EMAIL_PROVIDER=nodemailer
PITCH_SENDER=email
MAILER_INTERNAL_TOKEN=replace-with-a-long-random-internal-token
SMTP_HOST=smtp.your-provider.example
SMTP_PORT=587
SMTP_SECURE=false
SMTP_USER=your-smtp-username
SMTP_PASSWORD=your-smtp-password
SMTP_FROM=sender@example.com

Use the host, port, TLS mode, and credentials documented by the selected provider. Do not commit the sender address, SMTP password, or internal token. SMS remains disabled unless the optional Twilio configuration is provided.

Local accounts, workspaces, and sessions are stored in the api-data Docker volume. Downloaded models are stored in ollama-data. Use docker compose down --volumes only when you intentionally want to remove both local application data and downloaded models.

Validate

Run the full foundation validation suite:

make validate

Individual commands are also available:

make lint
make typecheck
make test
make build
make infra-validate

All commands run inside containers, so host installations of Python and Node.js are not required.

Repository layout

apps/api/   FastAPI backend
apps/web/   Next.js frontend
apps/mailer/ Internal Nodemailer SMTP adapter
docs/       Engineering guidance
infra/      Terraform and production deployment guidance

See infra/terraform/README.md for the production deployment and rollback runbook.

Product requirements live in PROJECT.md, technology decisions in TECHSTACK.md, and agent workflow rules in AGENTS.md.

License

PressRadarAI is © 2026 Ahmad Addas and is licensed under the Apache License 2.0.

Third-party dependencies, hosted services, and optional AI models retain their own licenses and terms. In particular, TranslateGemma is governed by the Gemma Terms of Use and is not licensed under Apache-2.0. See THIRD_PARTY_NOTICES.md for details.

About

Super fast notfication of press events, so you can win in the time competiton

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages