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.
104 lines
2.1 KiB
104 lines
2.1 KiB
# ○
|
|
|
|
Official pre-release repository for [The 01 Project](https://twitter.com/hellokillian/status/1745875973583896950).
|
|
|
|
> **11** days remaining until launch
|
|
|
|
<br>
|
|
|
|
### [View task list ↗](https://github.com/KillianLucas/01/blob/main/TASKS.md)
|
|
|
|
<br>
|
|
|
|
## Install dependencies:
|
|
|
|
```bash
|
|
# MacOS
|
|
brew install portaudio ffmpeg
|
|
|
|
# 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:**
|
|
|
|
```bash
|
|
01 --server --expose # This will print a URL that a client can point to.
|
|
```
|
|
|
|
**Run a specific client:**
|
|
|
|
```bash
|
|
01 --client macos # Options: macos, rpi
|
|
```
|
|
|
|
**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.
|
|
|
|
```bash
|
|
01 --local # Local client and server
|
|
01 --local --server --expose # Expose a local server
|
|
```
|
|
|
|
<br>
|
|
|
|
## Setup for development:
|
|
|
|
```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
|
|
```
|
|
|
|
**Configuration:**
|
|
|
|
Copy the `01OS/.env.example` file to `01OS/.env` then configure the environment variables within the file.
|
|
|
|
<br>
|
|
|
|
## Background
|
|
|
|
### [Context ↗](https://github.com/KillianLucas/01/blob/main/CONTEXT.md)
|
|
|
|
The story of devices that came before the 01.
|
|
|
|
### [Inspiration ↗](https://github.com/KillianLucas/01/tree/main/INSPIRATION.md)
|
|
|
|
Things we want to steal great ideas from.
|
|
|
|
<br>
|
|
|
|
## Direction
|
|
|
|
### [Goals ↗](https://github.com/KillianLucas/01/blob/main/GOALS.md)
|
|
|
|
What we're going to do.
|
|
|
|
### [Use Cases ↗](https://github.com/KillianLucas/01/blob/main/USE_CASES.md)
|
|
|
|
What the 01 will be able to do.
|
|
|
|
<br>
|