DEDUPED Hot AI repos. Real use cases. What people build. Get the Monday 5

How to draft a Portuguese post from a police report with JornAI

Set the Brazilian Portuguese pack and turn an official report into a fact-checked draft.

Short answer: Set APP_LANGUAGE to pt in .env, since the Brazilian Portuguese pack covers CPF, plates, police-report forms and dd/mm/yyyy dates; then run npm run db:migrate so the database is ready for the language settings; paste the police report or PDF as the source and click Generate. All steps.

  • Content
  • Intermediate
  • 45 minutes
  • From the README
  • Any agent

Who it is forA newsroom in Brazil whose reporters receive police reports or official PDFs and need accurate, redacted drafts.

The problemA model fed a raw police report can produce a confident article with invented details, and personal data can leak into posts.

The outcomeA Portuguese post draft where personal data is redacted, official form fields are extracted, and the weekday is computed by code, ready for human review.

What you need first

  • Node.js and npm to run the Next.js app
  • Docker, or your own PostgreSQL database, matching DATABASE_URL in .env
  • Optional: an AI provider key, or AI_PROVIDER set to mock to run without one
  • For real Instagram publishing: IG_USER_ID and IG_ACCESS_TOKEN, plus S3/R2-compatible storage or local storage in dev

Steps

  1. Set APP_LANGUAGE to pt in .env, since the Brazilian Portuguese pack covers CPF, plates, police-report forms and dd/mm/yyyy dates.
  2. Run npm run db:migrate so the database is ready for the language settings.
  3. Paste the police report or PDF as the source and click Generate.
  4. Check the generated title, subtitle and caption against the source, and confirm that names, IDs and plates are not shown.
  5. Send the draft to a manager or admin, who approves it, rejects it or requests a rewrite.

Prompt for your agent

In the repo https://github.com/MatheusBomtempo/JornAI, set APP_LANGUAGE=pt, then generate a draft from the police report <file path>. Return the title, subtitle and caption, and verify that no CPF, phone number or plate appears in the text.

Caveat. The validator and redaction rules cover only the languages and forms the repo ships with, so an unusual report layout still needs a careful human read before approval.

Use this in your AI agent

Ask your agent

Using the Deduped MCP, get the setup steps for MatheusBomtempo/JornAI and "Draft a Portuguese post from a police report"

Add Deduped to Claude Code once

claude mcp add --transport http deduped https://dedupedai.com/mcp

Cursor, ChatGPT, others

Share: X LinkedIn Hacker News Email Copy link

Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer