Jim Su e249776e96 Force dark mode (#310) 1 year ago
..
.husky 38628c106f Add formatting and linting for typescript components (#32) 1 year ago
public d5c28a47bc Fix frontend index.html head section (#53) 1 year ago
src f38bbf9261 feat(frontend): Add file picker to choose the working directory #221 (#289) 1 year ago
.env 335a91610e Wire up frontend (#128) 1 year ago
.eslintrc 335a91610e Wire up frontend (#128) 1 year ago
.prettierrc.json 38628c106f Add formatting and linting for typescript components (#32) 1 year ago
README.md cac687508f cra -> vite (#47) 1 year ago
index.html d5c28a47bc Fix frontend index.html head section (#53) 1 year ago
package-lock.json 658b860d04 feat: support tailwind and daisyUI (#266) 1 year ago
package.json 658b860d04 feat: support tailwind and daisyUI (#266) 1 year ago
postcss.config.js 658b860d04 feat: support tailwind and daisyUI (#266) 1 year ago
tailwind.config.js e249776e96 Force dark mode (#310) 1 year ago
tsconfig.json cac687508f cra -> vite (#47) 1 year ago
vite-env.d.ts cac687508f cra -> vite (#47) 1 year ago
vite.config.ts 0403b460f1 remove auto-open from vite (#254) 1 year ago

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.