How ishansheth-31/automatedtext works
Project type and purpose
• This is a serverless, single-function Python application deployed as an AWS Lambda. Its purpose is to fetch news and market data each morning, summarize that content via the Cohere NLP API, and send a daily SMS message via Twilio.
File structure
• Top level:
• lambda_function.py – the single entrypoint for the AWS Lambda.
• requirements.txt – lists Python dependencies (Twilio SDK, Cohere SDK, BeautifulSoup4, requests, etc.).
• README.md – describes functionality and prerequisites.
• .DS_Store – macOS metadata (ignore).
• No subdirectories: this is a simple, self-contained serverless function.
README for additional insights
• The script uses:
• BeautifulSoup4 – to scrape and parse news websites.
• Cohere API – to summarize the scraped content.
• Twilio API – to send SMS messages.
• It’s scheduled to run daily (implicitly via AWS CloudWatch Events or similar).