808vita 98e7057d53 refactor(vite config) & doc (main readme) : Start Frontend with just "npm start" (#333) 2 年之前
..
.husky fa87352b45 Correctly change directory (#325) 2 年之前
public d5c28a47bc Fix frontend index.html head section (#53) 2 年之前
src f3fda42765 fix: Add claude-3-opus-20240229 option to settingsService.ts (#342) 2 年之前
.env 335a91610e Wire up frontend (#128) 2 年之前
.eslintrc fa87352b45 Correctly change directory (#325) 2 年之前
.prettierrc.json 38628c106f Add formatting and linting for typescript components (#32) 2 年之前
README.md 7448d9147b Update README.md (#323) 2 年之前
index.html d5c28a47bc Fix frontend index.html head section (#53) 2 年之前
package-lock.json 658b860d04 feat: support tailwind and daisyUI (#266) 2 年之前
package.json 658b860d04 feat: support tailwind and daisyUI (#266) 2 年之前
postcss.config.js 658b860d04 feat: support tailwind and daisyUI (#266) 2 年之前
tailwind.config.js e249776e96 Force dark mode (#310) 2 年之前
tsconfig.json cac687508f cra -> vite (#47) 2 年之前
vite-env.d.ts cac687508f cra -> vite (#47) 2 年之前
vite.config.ts 98e7057d53 refactor(vite config) & doc (main readme) : Start Frontend with just "npm start" (#333) 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 VITE_TERMINAL_WS_URL (prepending VITE_ to environment variable names is necessary to expose them).

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