Jim Su a722f5c0b1 Fix: Keypresses in Terminal throws exception (#71) 2 лет назад
..
.husky 38628c106f Add formatting and linting for typescript components (#32) 2 лет назад
public d5c28a47bc Fix frontend index.html head section (#53) 2 лет назад
src a722f5c0b1 Fix: Keypresses in Terminal throws exception (#71) 2 лет назад
.env cac687508f cra -> vite (#47) 2 лет назад
.eslintrc a722f5c0b1 Fix: Keypresses in Terminal throws exception (#71) 2 лет назад
.prettierrc.json 38628c106f Add formatting and linting for typescript components (#32) 2 лет назад
README.md cac687508f cra -> vite (#47) 2 лет назад
index.html d5c28a47bc Fix frontend index.html head section (#53) 2 лет назад
package-lock.json a722f5c0b1 Fix: Keypresses in Terminal throws exception (#71) 2 лет назад
package.json a722f5c0b1 Fix: Keypresses in Terminal throws exception (#71) 2 лет назад
tsconfig.json cac687508f cra -> vite (#47) 2 лет назад
vite-env.d.ts cac687508f cra -> vite (#47) 2 лет назад
vite.config.ts cac687508f cra -> vite (#47) 2 лет назад

README.md

Getting Started with the OpenDevin Frontend

Available Scripts

In the project directory, you can run:

npm start

Runs the app in the development mode.\ Open http://localhost:3000 to view it in the browser.

The page will reload if you make edits.\ You will also see any lint errors in the console.

npm run build

Builds the app for production to the dist folder.\ It correctly bundles React in production mode and optimizes the build for the best performance.

The build is minified and the filenames include the hashes.\ Your app is ready to be deployed!

Learn More

You can learn more in the Create React App documentation.

To learn React, check out the React documentation.

Terminal

The OpenDevin terminal is powered by Xterm.js.

The terminal listens for events over a WebSocket connection. The WebSocket URL is specified by the environment variable REACT_APP_TERMINAL_WS_URL (prepending REACT_APP_ to environment variable names is necessary to expose them).

A simple websocket server can be found in the /server directory.