How ashoksuthar14/web_scr works
Project type and purpose
• It reads prompt configurations, validates inputs, calls an external API (Perplexity), and writes results to disk.
File structure
• Top-level files:
• .env ─ environment variables (API keys, secrets)
• app.py ─ the main application entry point
• requirements.txt ─ Python dependencies
• prompts/ ─ JSON files containing prompt definitions
• utils/ ─ helper modules:
• data_writer.py ─ handles writing scraped or API data to files
• perplexity_api.py ─ client wrapper for talking to the Perplexity API
• validator.py ─ input validation, schema checks
• No front-end; this is a single service/script.
README for additional insights
• The README only contains the title “web_scr.” We infer from file names and modules that the core flow is: load prompts → validate → hit API → write output.