You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
01/README.md

137 lines
3.3 KiB

12 months ago
# ○
12 months ago
Official pre-release repository for [The 01 Project](https://twitter.com/hellokillian/status/1745875973583896950).
> **11** days remaining until launch
12 months ago
<br>
11 months ago
### [View task list ↗](https://github.com/KillianLucas/01/blob/main/TASKS.md)
11 months ago
<br>
## Install dependencies:
11 months ago
```bash
# MacOS
11 months ago
brew install portaudio ffmpeg cmake
11 months ago
# Ubuntu
11 months ago
sudo apt-get install portaudio19-dev ffmpeg cmake
```
If you want to run local speech-to-text using Whisper, install Rust. Follow the instructions given [here](https://www.rust-lang.org/tools/install).
## Setup for usage (experimental):
```bash
pip install 01OS
```
**Run the 01:**
```bash
01 # This will run the server and attempt to determine and run a client.
```
**Expose an 01 Server Publicly**
We currently support exposing the 01 server publicly via a couple of different tunnel services:
- **bore.pub** ([GitHub](https://github.com/ekzhang/bore))
- **Requirements:** Ensure that Rust is installed ([Rust Installation](https://www.rust-lang.org/tools/install)), then run:
```
cargo install bore-cli
```
- **To Expose:**
```bash
01 --server --expose-with-bore
```
- **localtunnel** ([GitHub](https://github.com/localtunnel/localtunnel))
- **Requirements:** Ensure that Node.js is installed ([Node.js Download](https://nodejs.org/en/download)), then run:
```
npm install -g localtunnel
```
- **To Expose:**
```bash
01 --server --expose-with-localtunnel
```
- **ngrok** ([Website](https://ngrok.com/))
- **Requirements:** Install ngrok ([Getting Started with ngrok](https://ngrok.com/docs/getting-started/)), and set up an ngrok account. Get your auth key from [ngrok dashboard](https://dashboard.ngrok.com/get-started/your-authtoken), then set it in your local configuration by running:
```
ngrok config add-authtoken your_auth_token_here
```
- **To Expose:**
```bash
01 --server --expose-with-ngrok
```
**Run a specific client:**
```bash
01 --client macos # Options: macos, rpi
11 months ago
```
**Run locally:**
The current default uses OpenAI's services.
The `--local` flag will install and run the [whisper.cpp](https://github.com/ggerganov/whisper.cpp) STT and [Piper](https://github.com/rhasspy/piper) TTS models.
11 months ago
```bash
01 --local # Local client and server
01 --local --server --expose-with-bore # Expose the local server with a public tunnel
11 months ago
```
**Teach Mode (experimental)**
Running `01 --teach` runs 01 in teach mode, where you can add your own skills for Open Interpreter to use, through an easy-to-follow GUI.
<br>
## Setup for development:
11 months ago
```bash
# Clone the repo, cd into the 01OS directory
git clone https://github.com/KillianLucas/01.git
cd 01OS
# Install dependencies, run the commands above
poetry install
poetry run 01
11 months ago
```
**Configuration:**
Copy the `01OS/.env.example` file to `01OS/.env` then configure the environment variables within the file.
<br>
12 months ago
## Background
### [Context ↗](https://github.com/KillianLucas/01/blob/main/CONTEXT.md)
12 months ago
12 months ago
The story of devices that came before the 01.
12 months ago
### [Inspiration ↗](https://github.com/KillianLucas/01/tree/main/INSPIRATION.md)
12 months ago
12 months ago
Things we want to steal great ideas from.
<br>
## Direction
### [Goals ↗](https://github.com/KillianLucas/01/blob/main/GOALS.md)
12 months ago
12 months ago
What we're going to do.
12 months ago
### [Use Cases ↗](https://github.com/KillianLucas/01/blob/main/USE_CASES.md)
12 months ago
12 months ago
What the 01 will be able to do.
12 months ago
<br>