π¦ ClawHub
Daily Ai News
by @jaceymarvin99
Use when users need comprehensive daily news about AI, large models, and related fields.
βοΈ Configuration
--encoding, -e : Optional. Specifies the output response format. Valid options are text, json, and markdown. The API defaults to json if not specified.--date, -d : Optional. Fetch historical AI news for a specific date. If omitted, fetches today's news. Note: If this is the only argument provided, you can omit the --date flag entirely.Return Values
The script securely calls the 60s AI news API and outputs the response to stdout. Depending on the encoding parameter, the response could be a JSON string, plain text, or markdown.
Usage Examples
# Get today's AI news using default API encoding (json)
./scripts/news.shGet today's AI news in plain text format
./scripts/news.sh --encoding textGet AI news for a specific date using flags
./scripts/news.sh --date 2024-03-01Get AI news for a specific date (simplified usage without flags)
./scripts/news.sh 2024-03-01Get AI news for a specific date in markdown format
./scripts/news.sh -e markdown -d 2024-03-01
TERMINAL
clawhub install daily-ai-news