Skip to content

nk327/HindsightMobile

 
 

Repository files navigation

HindsightMobile

  1. Takes a screenshot every 2 seconds (only of apps you choose)
  2. Reads and embeds the text from each screenshot with OCR
  3. Lets you chat with anything you've seen on your phone via a local LLM (my favorite: llama3.2 1B)

Installation

Download Release

  1. Go to Settings > Apps > Special app access > Install unknown apps > give permission to Google Drive.
  2. Click on:
  3. To give accessibility permissions you may need to click on the more info section on the top right of the HindsightMobile accessibility section and click "allow restricted settings"

Build from Source

  1. git clone --recursive https://github.com/cparish312/HindsightMobile.git
  2. Open the Project in Android Studio
  3. Connect your Android Device
  4. You need to do a release build for the LLM to run quickly:
    • Go View -> Tool Windows -> Build Variants and then click the drop down for release
  5. Run the application using Run > Run 'app' or the play button in Android Studio
    • If getting incompatible AGP version install the newest version of Android Studio

Communication

Join us on Discord

Setup an onboarding session or just chat about the project here

Settings

  • Ingest Screenshots: runs a manual ingestion of screenshots
    • Add to db
    • OCR
    • Embed
  • Manage Recordings: Takes you to manage recordings screen
    • If checked the app will be record
    • Delete all content (screenshots, videos, embeddings, OCR Results) for a given app
  • Chat: go to chat
  • Screen Recording: Start Screen recording Background Process (May have to click stop on Notification to stop)
  • Auto Ingest: Auto Run Ingestion at
  • Hour to Auto Ingest (Military Time)
    • Default is 2 am
  • IMPORTANT PLEASE READ THIS Record New Apps By Default: when you enter an app that has not been recorded yet it will automatically start recording

Bonus

  • If you click on the Assistant's response you can see the exact prompt that went into the LLM

Shoutouts

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Kotlin 82.6%
  • C++ 16.4%
  • CMake 1.0%