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

130 lines
3.1 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
brew install portaudio ffmpeg
11 months ago
# Ubuntu
sudo apt-get install portaudio19-dev ffmpeg
```
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 end-to-end:**
```bash
01 # This will run a server + attempt to determine and run a client.
# (Behavior can be modified by changing the contents of `.env`)
```
**Expose an 01 server publically:**
We currently support exposing the 01 server publicly via a couple of different tunnel services:
- bore.pub (https://github.com/ekzhang/bore)
Requirements: Ensure that rust is installed (https://www.rust-lang.org/tools/install), then run `cargo install bore-cli`
```bash
01 --server --expose-with-bore
```
- localtunnel (https://github.com/localtunnel/localtunnel)
Requirements: Ensure that Node is installed (https://nodejs.org/en/download), then run `npm install -g localtunnel`
```bash
01 --server --expose-with-localtunnel
```
- ngrok (https://ngrok.com/)
Requirements: Install ngrok (https://ngrok.com/docs/getting-started/), and set up an ngrok account.
Get your auth key from 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`
```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>