![]() This commit adds a new `VideoRendererBlock` component to the `autogpt_builder` module. The `VideoRendererBlock` is responsible for rendering videos based on the provided video URL. It supports both YouTube videos and direct video URLs. The `CustomNode` component in the `CustomNode.tsx` file has been updated to handle the new `VideoRendererBlock` component. When the `block_id` matches the ID of the `VideoRendererBlock`, the video is rendered using an iframe for YouTube videos or a video tag for direct video URLs. This change improves the rendering capabilities of the application by allowing the display of videos within the UI. |
||
---|---|---|
.. | ||
.vscode | ||
public | ||
src | ||
.env.example | ||
.eslintrc.json | ||
.gitignore | ||
.prettierignore | ||
Dockerfile | ||
README.md | ||
components.json | ||
next.config.mjs | ||
package.json | ||
postcss.config.mjs | ||
tailwind.config.ts | ||
tsconfig.json | ||
webpack.config.js | ||
yarn.lock |
README.md
This is the frontend for AutoGPT's next generation
Getting Started
Run the following installation once.
npm install
# or
yarn install
# or
pnpm install
# or
bun install
Next, run the development server:
npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun dev
Open http://localhost:3000 with your browser to see the result.
You can start editing the page by modifying app/page.tsx
. The page auto-updates as you edit the file.
For subsequent runs, you do not have to npm install
again. Simply do npm run dev
.
If the project is updated via git, you will need to npm install
after each update.
This project uses next/font
to automatically optimize and load Inter, a custom Google Font.
Deploy
TODO