01.1
This commit is contained in:
parent
0fe8b5636a
commit
c1c3c377e2
|
@ -5,7 +5,7 @@ description: "Preparing your machine"
|
||||||
|
|
||||||
## Prerequisites
|
## Prerequisites
|
||||||
|
|
||||||
To run 01OS on your computer, you will need to install a few essential packages.
|
To run the 01 on your computer, you will need to install a few essential packages.
|
||||||
|
|
||||||
<Card
|
<Card
|
||||||
title="Install Poetry"
|
title="Install Poetry"
|
||||||
|
|
|
@ -9,10 +9,18 @@ description: "The open-source language model computer"
|
||||||
style={{ transform: "translateY(-1.25rem)" }}
|
style={{ transform: "translateY(-1.25rem)" }}
|
||||||
/>
|
/>
|
||||||
|
|
||||||
The 01 project is an open-source ecosystem for artificially intelligent devices.
|
The **01** is an open-source platform for conversational devices, inspired by the *Star Trek* computer.
|
||||||
|
|
||||||
By combining code-interpreting language models ("interpreters") with speech recognition and voice synthesis, the 01’s flagship operating system ("01OS") can power conversational, computer-operating AI devices similar to the Rabbit R1 or the Humane Pin.
|
With [Open Interpreter](https://github.com/OpenInterpreter/open-interpreter) at its core, the **01** is more natural, flexible, and capable than its predecessors. Assistants built on **01** can:
|
||||||
|
|
||||||
We intend to become the “Linux” of this new space— open, modular, and free for personal or commercial use.
|
- Execute code
|
||||||
|
- Browse the web
|
||||||
|
- Read and create files
|
||||||
|
- Control third-party software
|
||||||
|
- ...
|
||||||
|
|
||||||
_Disclaimer:_ The current version of 01OS is a developer preview.
|
<br>
|
||||||
|
|
||||||
|
We intend to become the GNU/Linux of this space by staying open, modular, and free.
|
||||||
|
|
||||||
|
_Disclaimer:_ The current version of the 01 is a developer preview.
|
||||||
|
|
|
@ -8,7 +8,7 @@ description: "Get your 01 up and running"
|
||||||
To install the 01 software:
|
To install the 01 software:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
# Clone the repo and navigate into the 01OS directory
|
# Clone the repo and navigate into the 01 directory
|
||||||
git clone https://github.com/OpenInterpreter/01.git
|
git clone https://github.com/OpenInterpreter/01.git
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
|
@ -5,11 +5,11 @@ description: "The software that powers 01"
|
||||||
|
|
||||||
## Overview
|
## Overview
|
||||||
|
|
||||||
The 01 project is an open-source ecosystem for artificially intelligent devices. By combining code-interpreting language models ("interpreters") with speech recognition and voice synthesis, the 01's flagship operating system ("01OS") can power conversational, computer-operating AI devices similar to the Rabbit R1 or the Humane Pin.
|
The 01 project is an open-source ecosystem for artificially intelligent devices. By combining code-interpreting language models ("interpreters") with speech recognition and voice synthesis, the 01's flagship operating system ("01") can power conversational, computer-operating AI devices similar to the Rabbit R1 or the Humane Pin.
|
||||||
|
|
||||||
Our goal is to become the "Linux" of this new space—open, modular, and free for personal or commercial use.
|
Our goal is to become the "Linux" of this new space—open, modular, and free for personal or commercial use.
|
||||||
|
|
||||||
<Note>The current version of 01OS is a developer preview.</Note>
|
<Note>The current version of 01 is a developer preview.</Note>
|
||||||
|
|
||||||
## Components
|
## Components
|
||||||
|
|
||||||
|
|
|
@ -81,7 +81,7 @@ const char post_connected_html[] PROGMEM = R"=====(
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<title>01OS Setup</title>
|
<title>01 Setup</title>
|
||||||
<style>
|
<style>
|
||||||
|
|
||||||
* {
|
* {
|
||||||
|
@ -142,8 +142,8 @@ const char post_connected_html[] PROGMEM = R"=====(
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<h1>01OS Setup</h1>
|
<h1>01 Setup</h1>
|
||||||
<form action="/submit_01os" method="post">
|
<form action="/submit_01" method="post">
|
||||||
<div class="contain">
|
<div class="contain">
|
||||||
<label for="server_address">Server Address:</label><br><br>
|
<label for="server_address">Server Address:</label><br><br>
|
||||||
<input type="text" id="server_address" name="server_address"><br><br>
|
<input type="text" id="server_address" name="server_address"><br><br>
|
||||||
|
@ -162,7 +162,7 @@ String successHtml = R"=====(
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<title>01OS Setup</title>
|
<title>01 Setup</title>
|
||||||
<style>
|
<style>
|
||||||
body {
|
body {
|
||||||
background-color: #fff;
|
background-color: #fff;
|
||||||
|
@ -184,7 +184,7 @@ String successHtml = R"=====(
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<h2>Connected to 01OS!</h1>
|
<h2>Connected to 01!</h1>
|
||||||
<p>You can now close this window</p>
|
<p>You can now close this window</p>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
@ -247,7 +247,7 @@ void connectToWifi(String ssid, String password) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
bool connectTo01OS(String server_address)
|
bool connectTo01(String server_address)
|
||||||
{
|
{
|
||||||
int err = 0;
|
int err = 0;
|
||||||
int port = 80;
|
int port = 80;
|
||||||
|
@ -287,7 +287,7 @@ bool connectTo01OS(String server_address)
|
||||||
}
|
}
|
||||||
|
|
||||||
HttpClient http(c, domain.c_str(), port);
|
HttpClient http(c, domain.c_str(), port);
|
||||||
Serial.println("Connecting to 01OS at " + domain + ":" + port + "/ping");
|
Serial.println("Connecting to 01 at " + domain + ":" + port + "/ping");
|
||||||
|
|
||||||
if (domain.indexOf("ngrok") != -1) {
|
if (domain.indexOf("ngrok") != -1) {
|
||||||
http.sendHeader("ngrok-skip-browser-warning", "80");
|
http.sendHeader("ngrok-skip-browser-warning", "80");
|
||||||
|
@ -476,7 +476,7 @@ void setUpWebserver(AsyncWebServer &server, const IPAddress &localIP)
|
||||||
request->send(200, "text/plain", "Failed to connect to " + ssid);
|
request->send(200, "text/plain", "Failed to connect to " + ssid);
|
||||||
} });
|
} });
|
||||||
|
|
||||||
server.on("/submit_01os", HTTP_POST, [](AsyncWebServerRequest *request)
|
server.on("/submit_01", HTTP_POST, [](AsyncWebServerRequest *request)
|
||||||
{
|
{
|
||||||
String server_address;
|
String server_address;
|
||||||
|
|
||||||
|
@ -486,7 +486,7 @@ void setUpWebserver(AsyncWebServer &server, const IPAddress &localIP)
|
||||||
}
|
}
|
||||||
|
|
||||||
// Attempt to connect to the Wi-Fi network with these credentials
|
// Attempt to connect to the Wi-Fi network with these credentials
|
||||||
bool connectedToServer = connectTo01OS(server_address);
|
bool connectedToServer = connectTo01(server_address);
|
||||||
|
|
||||||
// Redirect user or send a response back
|
// Redirect user or send a response back
|
||||||
String connectionMessage;
|
String connectionMessage;
|
||||||
|
@ -553,7 +553,7 @@ void tryReconnectToServer() {
|
||||||
if (!serverURL.isEmpty()) {
|
if (!serverURL.isEmpty()) {
|
||||||
Serial.println("Trying to reconnect to server with stored URL: " + serverURL);
|
Serial.println("Trying to reconnect to server with stored URL: " + serverURL);
|
||||||
// Attempt to connect to the server using the stored URL
|
// Attempt to connect to the server using the stored URL
|
||||||
if (connectTo01OS(serverURL)) {
|
if (connectTo01(serverURL)) {
|
||||||
Serial.println("Reconnected to server using stored URL.");
|
Serial.println("Reconnected to server using stored URL.");
|
||||||
} else {
|
} else {
|
||||||
Serial.println("Failed to reconnect to server. Proceeding with normal startup.");
|
Serial.println("Failed to reconnect to server. Proceeding with normal startup.");
|
||||||
|
@ -845,7 +845,7 @@ void loop()
|
||||||
{
|
{
|
||||||
if (server_domain != "")
|
if (server_domain != "")
|
||||||
{
|
{
|
||||||
Serial.println("Setting up websocket to 01OS " + server_domain + ":" + server_port);
|
Serial.println("Setting up websocket to 01 " + server_domain + ":" + server_port);
|
||||||
websocket_setup(server_domain, server_port);
|
websocket_setup(server_domain, server_port);
|
||||||
InitI2SSpeakerOrMic(MODE_SPK);
|
InitI2SSpeakerOrMic(MODE_SPK);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue