Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEAT]: Support Canvas UI #3066

Open
therealtimex opened this issue Jan 30, 2025 · 2 comments
Open

[FEAT]: Support Canvas UI #3066

therealtimex opened this issue Jan 30, 2025 · 2 comments
Labels
enhancement New feature or request feature request

Comments

@therealtimex
Copy link

What would you like to see?

Canvas UI offers exciting possibilities for editing text using Markdown editors (like https://platejs.org/) and executing code artifacts.

Given that AnythingLLM already supports tags like <think> </think>, integrating Canvas support might not be far-fetched:

  • Step 1: Enclose content intended for the Canvas UI within <canvas> tags.

  • Step 2: Upon expanding these <canvas> tags, the interface seamlessly transitions into a dedicated Canvas UI, empowering users to edit and manipulate content using tools like Markdown editors and code runners.

Image
@therealtimex therealtimex added enhancement New feature or request feature request labels Jan 30, 2025
@timothycarambat
Copy link
Member

Agree, having a canvas UI to render code and artifacts is certainly something we would like. Basically being able to take markdown blocks and render them. HTML, JS, and such are trivial, but we also want to basically have a Replit-like service we could run in sandbox to also execute code snippets from python, c++ and other REPLs. Not too far fetched

@timothycarambat timothycarambat changed the title [FEAT]: Supprt Canvas UI [FEAT]: Support Canvas UI Jan 30, 2025
@therealtimex
Copy link
Author

By default we would think of including sandbox like e2b (https://github.com/e2b-dev/E2B) in the container. I found this vm in the browser (https://github.com/leaningtech/webvm) and believe it to be even more relevant for AnythingLLM.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request feature request
Projects
None yet
Development

No branches or pull requests

2 participants