forked from Blendman974/faceclaw
Update README
This commit is contained in:
1 parent
ccdeedd687
commit
1573dfcadd
3 files changed
+37
-21
No files matched your search
@@ -6,8 +6,7 @@ for interfacing with Android SDK).
|
|||||||
Typescript parts are in app/. Java parts are in App_Resources/Android/src/main/java/com/faceclaw/app/.
|
Typescript parts are in app/. Java parts are in App_Resources/Android/src/main/java/com/faceclaw/app/.
|
||||||
|
|
||||||
If build.sh exists, it's a machine-specific wrapper that sets some environment
|
If build.sh exists, it's a machine-specific wrapper that sets some environment
|
||||||
variables to point to where tools are installed, then runs
|
variables to point to where tools are installed, then runs `npm run build`.
|
||||||
`nativescript build android`.
|
|
||||||
If build_and_run.sh exists, it does everything build.sh does plus
|
If build_and_run.sh exists, it does everything build.sh does plus
|
||||||
`nativescript run android --device <id> --justlaunch`,
|
`nativescript run android --device <id> --justlaunch`,
|
||||||
which will launch the app on the developer's phone if it is plugged in and has
|
which will launch the app on the developer's phone if it is plugged in and has
|
||||||
|
|||||||
@@ -19,34 +19,48 @@ have not yet been iplemented. If you want to use OpenClaw with Even Realities G2
|
|||||||
smart glasses today, consider using OcuClaw (which is an Even Hub app) instead.
|
smart glasses today, consider using OcuClaw (which is an Even Hub app) instead.
|
||||||
|
|
||||||
|
|
||||||
## Compiling and Installing
|
## Installation
|
||||||
|
|
||||||
To compile this, you will need an Android SDK environment, with SDK version 35
|
To compile, you will need an Android SDK environment with SDK version 35
|
||||||
installed and licenses accepted, and the ANDROID_HOME pointing to the install.
|
installed and licenses accepted, and the ANDROID_HOME pointing to the install.
|
||||||
You will need a JDK environment (v21), with the JAVA_HOME environment variable
|
You will need Nativescript installed, and a JDK environment (v21), with the
|
||||||
pointed at it. You will also need a reasonably up to date npm and nodejs
|
JAVA_HOME environment variable pointed at it. You will also need a reasonably
|
||||||
installed.
|
up to date npm and nodejs installed.
|
||||||
|
|
||||||
|
To install a version that you compiled, you will need `adb` connected. Go to
|
||||||
|
Settings>About phone and tap the "Build number" field seven times. Then plug
|
||||||
|
the phone's USB-C port into your computer, authorize access on the phone, then
|
||||||
|
run `nativescript run android
|
||||||
|
|
||||||
|
The compile, run
|
||||||
|
'npm run build'
|
||||||
|
To install, run
|
||||||
|
`nativescript run android --juslaunch`
|
||||||
|
|
||||||
## Features
|
## Features
|
||||||
|
|
||||||
|
* A voice assistant that wakes up when you say "Hey Even", transcribes text
|
||||||
|
with an on-device model, OpenAI Whisper, or ElevenLabs API, and responds
|
||||||
|
to queries and commands using an Anthropic or OpenAI model (requires an API
|
||||||
|
key).
|
||||||
|
* Multitasking, with an app-switcher sidebar and app launcher
|
||||||
* Integration with Android notifications: A top-bar that shows the
|
* Integration with Android notifications: A top-bar that shows the
|
||||||
same icons your phone does, popups when notifications arrive, and menu
|
same icons your phone does, popups when notifications arrive, and menu
|
||||||
items to dismiss or use Android-app-provided custom actions like mark as
|
items to dismiss or use Android-app-provided custom actions like mark as
|
||||||
read or quick reply.
|
read or quick reply.
|
||||||
* An app-launcher and app-switcher sidebar
|
* Mirror terminal apps such as Claude Code or Codex CLI with g2mirror
|
||||||
* Mirror terminal apps such as coding agents with g2mirror
|
(https://github.com/jimrandomh/g2mirror), view them on the glasses, and
|
||||||
(https://github.com/jimrandomh/g2mirror) and view them on the glasses
|
send them inputs with the voice assistant
|
||||||
* A media player integration, which can view and control the currently
|
* Media player controls including playlist and media library navigation,
|
||||||
playing track and playlist. Compatible with most Android media players
|
compatible with most Android media players
|
||||||
(Spotify and VLC media player tested).
|
* Turn-by-turn directions (requires a Mapbox API token)
|
||||||
* Integratation with Nightscout, an outside app for viewing blood-glucose
|
* Nightscout, an app for viewing blood-glucose data (requires a cloud server
|
||||||
data.
|
and API token)
|
||||||
* Voice transcription using the G2's microphone with ElevenLabs' cloud
|
* Power management: the glasses go to sleep properly when the screen is off,
|
||||||
transcription model (requires an API key from ElevenLabs)
|
and wake when you double-tap the ring or speak the wakeword, allowing
|
||||||
* Connection management with auto-reconnect, autodetection of conflict with
|
battery life similar to the stock Even app.
|
||||||
the official Even Realities app, and some amount of experience/iteration
|
* Connection management with auto-reconnect, and autodetection of conflict
|
||||||
on the issues that come with keeping it runnign all day
|
with the official Even Realities app
|
||||||
* On-phone screen mirroring and simulated ring input
|
* On-phone screen mirroring and simulated ring input
|
||||||
* Dual-language NativeScript architecture with Java for the multithreaded
|
* Dual-language NativeScript architecture with Java for the multithreaded
|
||||||
Android API and bluetooth stack bits, Typescript for the bits you want to
|
Android API and bluetooth stack bits, Typescript for the bits you want to
|
||||||
|
|||||||
+4
-1
@@ -2,7 +2,10 @@
|
|||||||
"name": "faceclaw",
|
"name": "faceclaw",
|
||||||
"main": "app/app.ts",
|
"main": "app/app.ts",
|
||||||
"version": "1.0.0",
|
"version": "1.0.0",
|
||||||
"private": true,
|
"private": false,
|
||||||
|
"scripts": {
|
||||||
|
"build": "nativescript build android"
|
||||||
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@nativescript/core": "~9.0.0",
|
"@nativescript/core": "~9.0.0",
|
||||||
"@nativescript/theme": "^3.1.0",
|
"@nativescript/theme": "^3.1.0",
|
||||||
|
|||||||
Reference in new issue
Block a user