Add Answer Book (Tools) v0.1#1090
Open
redbson wants to merge 2 commits into
Open
Conversation
Collaborator
|
Hi, why you removed Reviewer Checklist from PR description template? |
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.
Application Submission
Answer Book (Tools, v0.1) — turns the Flipper Zero into a "book of answers". You hold a question in mind, press OK to open a page, and the book replies with one short answer.
The answer is not a plain
rand(): each page open runs a brief, receive-only sensing pass (BLE RSSI sampling, SubGHz RSSI/LQI on common regional bands, a short NFC scan, plus device RTC/battery telemetry and the hardware RNG) and folds it into a 32-bit FNV-1a hash that seeds a weighted category choice, the specific answer, and a rarity roll. Because the environment is never identical twice, repeated questions rarely give the same page. The UI stays a quiet book — no signal scanner is shown.Three screens: Cover (idle), Opening (page-turn animation), and Page (the result, with page number, rarity, answer, and category). Five categories (Forward, Observe, Warning, Explore, Reflection) and three rarities (Normal, Rare, Legendary).
This is the initial release.
Extra Requirements
None. Runs on a stock Flipper Zero — no extra hardware, GPIO modules, or expansion boards. Uses only the built-in radios and sensors, all in receive/sample mode. The app never transmits on SubGHz.
Author Checklist (Fill this out)
python3 tools/bundle.py --nolint applications/Tools/answer_book/manifest.yml bundle.zipAI usage disclosure (Fill this out):
The application (a single
answer_book.c, ~800 lines) was AI-generated. It implements: a Furi-based app loop with a ViewPort and GUI; three rendering states (cover, opening animation, result page) drawn with the firmware canvas API and bundled icon assets; an "oracle" engine that performs short, read-only samples via the BLE, SubGHz, and NFC HALs plus RTC/power telemetry andfuri_hal_random_get(), reduces them to a five-axis vector, and folds everything into an FNV-1a hash used to pick an answer category, a specific answer string, and a rarity; and a logger that appends each result as one JSON line to the app's data directory. All radio use is receive/sample only — the app does not transmit. The catalog submission files (manifest, description, changelog, screenshots) were prepared with AI assistance as well.