whatisgithub

What is veglia?

sebastianevan200-stack/veglia — explained in plain English

Analysis updated 2026-05-18

27JavaAudience · vibe coderComplexity · 3/5LicenseSetup · moderate

In one sentence

A consent-based, self-hosted bridge that lets an AI assistant view a phone's screen when both people have agreed to it.

Mindmap

mindmap
  root((veglia))
    What it does
      Captures phone screen on request
      Delivers image to AI
      Consent-first design
    Tech stack
      Android app
      Python server
      CLI tool
    Use cases
      AI sees your phone screen
      Remote partner check-in
      Self-hosted screenshot bridge
    Audience
      Couples with consent
      AI hobbyists

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Let your AI assistant check what is currently shown on your own phone screen.

USE CASE 2

Set up a consent-based screen-sharing bridge between two partners.

USE CASE 3

Run a self-hosted alternative to cloud screen-mirroring services.

USE CASE 4

Trigger a custom notification script whenever a new screenshot arrives.

What is it built with?

AndroidPythonJava

How does it compare?

sebastianevan200-stack/vegliajustson/pixel-activity-keep-alivesetsu2420/personal-knowledgebase
Stars272727
LanguageJavaJavaJava
Last pushed2018-12-22
MaintenanceDormant
Setup difficultymoderateeasyhard
Complexity3/52/54/5
Audiencevibe coderdeveloperresearcher

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · moderate Time to first run · 1h+

Requires a reachable server you control, a generated secret token, and manually enabling an Android accessibility permission.

MIT license: free to use, modify, and distribute, including commercially, as long as the copyright notice is kept.

So what is it?

Veglia is a small self-hosted tool that lets an AI assistant look at what is currently on your phone's screen, with your explicit permission. The name comes from an Italian word meaning to keep watch through the night over someone you love, and the project frames itself around consent: it is meant for two people who both agreed to it, not for secretly watching someone's phone. The README states plainly that using it without the phone owner's knowledge is abuse of the person and of the project. The system has three parts: an Android app installed on the phone being watched, a small Python server you run yourself on a machine you control, and a one-file command line tool your AI can run. When the AI asks what is on the phone right now, it runs a command that tells the app to capture the screen and upload it to your server. The server can then fire a notifier of your choosing to deliver that image into your AI's conversation. According to the README, several design choices support consent and privacy: no cloud service is involved, all data stays on your own server. Only the most recent screenshots are kept, five by default, with older ones deleted as new ones arrive. The phone owner always sees a visible notification while the app runs, must manually turn on an accessibility permission for it to work, and can stop it at any time. Every request to the server requires a secret token you generate yourself. This only works on Android, using a screen capture feature built into Android's accessibility tools starting with Android 11. Apple's iOS does not allow this kind of background screen capture, so there is no iPhone version. Setup involves running the Python server on a reachable machine, building and installing the Android app with your server address and token, and connecting a script that hands the screenshot to your AI. The project is released under the MIT license.

Copy-paste prompts

Prompt 1
Walk me through setting up the Veglia server and generating a secure token.
Prompt 2
Help me build and install the Veglia Android app with my server's address.
Prompt 3
Write a VEGLIA_HOOK script that delivers a new screenshot into my AI's chat.
Prompt 4
Explain the consent and privacy design choices behind Veglia before I use it.

Frequently asked questions

What is veglia?

A consent-based, self-hosted bridge that lets an AI assistant view a phone's screen when both people have agreed to it.

What language is veglia written in?

Mainly Java. The stack also includes Android, Python, Java.

What license does veglia use?

MIT license: free to use, modify, and distribute, including commercially, as long as the copyright notice is kept.

How hard is veglia to set up?

Setup difficulty is rated moderate, with roughly 1h+ to a first successful run.

Who is veglia for?

Mainly vibe coder.

Open on GitHub → Ask about another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.