Skip to content

New App: Fake Facts - #980

Open
jblaker wants to merge 8 commits into
tronbyt:mainfrom
jblaker:feat/1-real-facts
Open

jblaker wants to merge 8 commits into
tronbyt:mainfrom
jblaker:feat/1-real-facts

Conversation

@jblaker

@jblaker jblaker commented Nov 30, 2026

Copy link
Copy Markdown
Contributor

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!

jblaker and others added 5 commits November 28, 2026 18:39
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>
@jblaker
jblaker requested a review from tavdog as a code owner November 30, 2026 19:36
@tavdog

tavdog commented Dec 1, 2026

Copy link
Copy Markdown
Member

The name of the app should not be contradictory to what the app actually does.

jblaker and others added 2 commits December 1, 2026 13:37
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>
@jblaker jblaker changed the title New App: #1 Real Facts New App: Fake Facts Dec 1, 2026
@jblaker

jblaker commented Dec 1, 2026

Copy link
Copy Markdown
Contributor Author

The name of the app should not be contradictory to what the app actually does.

Understood. App has been renamed.

@jblaker jblaker closed this Dec 1, 2026
@jblaker jblaker reopened this Dec 1, 2026

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants