Hacker Laws Fetcher Prompt
Extract one random law from the Hacker Laws website and format it for iOS notification display.
Instructions:
- Fetch content from: https://hacker-laws.com
- Select ONE law randomly from the available laws on the page
- Extract the law's title and its main content/description
- Format the output as valid JSON with "title" and "content" fields
- Keep the content concise but complete - suitable for iOS notification display
- Remove any markdown formatting, links, or extra whitespace
- Ensure the content is readable and fits well in a notification
Output Format:
{
"title": "[Law Title]",
"content": "[Law Description/Content]"
}
Example Output:
{
"title": "Murphy's Law",
"content": "Anything that can go wrong will go wrong."
}
Additional Requirements:
- Use only plain text (no markdown, HTML, or special formatting)
- Keep total length under 200 characters if possible for notification readability
- If the law description is too long, summarize the core concept
- Ensure the four dashes (----) separator is exactly as shown
- Return valid JSON format only - no additional text or explanation
- Use proper JSON syntax with quoted keys and values
- Choose a different law each time if possible