Repository navigation
Conversation
Asks Gemini (user-supplied API key) for an absurd fact that sounds real but isn't. Any failure (no key, HTTP error, timeout, quota, malformed response) returns [] so the app is skipped instead of showing an error. Responses are cached 10 minutes to stay within free-tier limits. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
gemini-flash-latest often hangs 30s+ or returns 503 on the free tier; flash-lite answers in under a second. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Left to pick from a broad category list, the model kept returning badgers and refrigeration. Each cache window now seeds a random topic and angle from fixed lists, keeping the cached reply stable within the window. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…hemes Theme dropdown with a Random option. Random uses the window-seeded RNG, so the theme stays fixed for as long as the fact does. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
New Show dropdown (Facts, Quotes, Both; default Both). Quotes pair a random long-dead figure with a topic; the attribution is added by the app, not the model, so it always names who we asked about. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Member
|
The name of the app should not be contradictory to what the app actually does. |
Review flagged 'tronbyt#1 Real Facts' as contradicting what the app does, so the app is now Fake Facts (id fake-facts, package fakefacts). The title bar is removed so the fact or quote gets the whole screen; themes keep their background, text and attribution colours. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Contributor
Author
Understood. App has been renamed. |
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
An app that uses a Gemini API Key and the gemini-flash-lite-latest model to generate amusing fake facts and quotes from historical figures.
Plenty of room for community improvements to this!