darpana दर्पण
a Vyom tool

darpana

दर्पण · “the mirror”

Your phone, mirrored on the laptop: ekatva's window in Vyom. Calls, messages, files, Jyoti, the action log and pairing, a keystroke away.

यथादर्शे तथात्मनि यथा स्वप्ने तथा पितृलोके ।
यथाप्सु परीव ददृशे तथा गन्धर्वलोके छायातपयोरिव ब्रह्मलोके ॥

As in a mirror, so in the self; as in a dream, so in the world of the fathers; as in water, so in the world of the Gandharvas; as light and shade, in the world of Brahmā. Kaṭha Upaniṣad 2.3.5
v0.1.0 latest1 releases0 decisions recordedMIT license

#Darpaṇa

Darpaṇa: the phone at a glance (battery, link, ring, lock), Jyoti with its lamp, light and dark, the phone's clipboard, the last messages and calls

Messages: the phone's conversations with search, one open, a box to text from the phone Calls: the call history with search and a dialer

Files: the phone's folders and files as cards, sending files to it

Screenshots use made-up demo data (scripts/demo-service.py).

Darpaṇa (दर्पण) is Sanskrit for "the mirror": your phone, mirrored on the laptop.

It's the laptop's side of ekatva (एकत्व, "oneness": the phone and the laptop as one device), as a Vyom popup. It opens at once: Vyom is already running, and the popup shows what it knew last while fresh state loads.

It talks to ekatva's own service over its local socket ($XDG_RUNTIME_DIR/ekatva.sock, or $EKATVA_SOCKET), with nothing beyond Python's standard library. Reading the phone's messages, calls and clipboard is written to the phone's log, so they're read when you go to them, not every time the popup opens.

#Install

kosha install darpana            # or clone into ~/.local/share/vyom/plugins/darpana
systemctl --user restart vyom
vyom darpana            # or: vyom darpana calls | messages | files | log | devices | pair

ekatva window opens it too (and the pairing notification does).

#Keys

Vyom's vim keys work too: ? and Space ? list every key, Space Space is the palette, q closes, Esc steps back, Space u f is fullscreen, Space r refreshes; on a card j / k move between controls, h / l change the focused one and Enter presses it.

Leader (Space)

KeyAction
Space j sSet jyoti Śānta (the laptop sleeps and locks as usual)
Space j aSet jyoti Akhaṇḍa (keep the laptop awake: no lock, no sleep until the lid shuts)
Space j nSet jyoti Nandādīpa (keep the laptop awake, even with the lid closed)
Space p rToggle phone ring (find it: full volume until pressed again)
Space p lLock the phone
Space p kToggle the phone's screen staying on
Space p aAnswer the phone's incoming call
Space p hHang up the phone's call (or decline it)
Space p dDial a number from the phone (the Calls place)
Space l lToggle the laptop's light / dark mode
Space l pToggle the phone's light / dark mode
Space l bSwitch both to light or dark (the lamp)
Space g oGo to home (the phone at a glance)
Space g mGo to the phone's messages
Space g cGo to the phone's calls
Space g fGo to the phone's files
Space g lGo to the action log
Space g dGo to the paired devices and their permissions
Space y cCopy the phone's clipboard to this laptop's
Space y pCopy this laptop's clipboard to the phone
Space a pAdd a phone (shows the pairing code; works from any network)
Space a fAdd a file to the phone (send it to Download/ekatva)
Space sSearch messages or calls by name or number
Space rReload what this place shows