This is a Next.js application that allows users to extract and display missing person information from FBI missing persons pages with AI-powered aged progression image generation.
- Web Scraping: Extract missing person data directly from FBI missing persons web pages
- AI-Powered Data Processing: Parse and structure missing person details automatically
- Interactive Profile Display: Beautiful, responsive profile cards using shadcn/ui components
- AI Aged Progression Images: Generate realistic aged progression photos using OpenAI DALL-E
- Two-Column Layout: Display original photo alongside AI-generated aged progression
- Detailed Information Display: Shows all relevant missing person details in an organized format
- Automatic Age Calculation: Calculates years passed and estimated current age
- Node.js 18+
- npm, yarn, pnpm, or bun
- OpenAI API key (required for AI image generation)
- Clone the repository
- Install dependencies:
npm install
# or
yarn install
# or
pnpm install
# or
bun install- Create a
.env.localfile in the root directory:
OPENAI_API_KEY=your_openai_api_key_here- Run the development server:
npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun devOpen http://localhost:3000 with your browser to see the result.
OPENAI_API_KEY: Your OpenAI API key for text processing and data extraction
- Enter PDF URL: Input an FBI missing person PDF URL (must end with .pdf and be from fbi.gov)
- Automatic Processing: The app will:
- Download and parse the PDF content
- Extract text using pdf-parse
- Process the text with OpenAI to structure the data
- Display the formatted missing person profile
- View Results: The extracted data will populate the missing person profile card
https://www.fbi.gov/wanted/kidnap/jane-doe/download.pdf
- Framework: Next.js 15 with App Router
- UI Components: shadcn/ui with Tailwind CSS
- PDF Processing: pdf-parse
- AI Processing: OpenAI GPT-4
- TypeScript: Full type safety
To learn more about Next.js, take a look at the following resources:
- Next.js Documentation - learn about Next.js features and API.
- Learn Next.js - an interactive Next.js tutorial.
You can check out the Next.js GitHub repository - your feedback and contributions are welcome!
The easiest way to deploy your Next.js app is to use the Vercel Platform from the creators of Next.js.
Check out our Next.js deployment documentation for more details.