Fragments

screenshot of Fragments
nextjs
react
tailwind

Open-source Next.js template for building apps that are fully generated by AI. By E2B.

Overview

Fragments by E2B is an open-source web application that provides a platform for securely executing code generated by AI. Powered by the E2B SDK, this tool offers features such as streaming in the UI, support for various programming stacks, and compatibility with different language model providers like OpenAI and Google AI.

Features

  • Next.js 14: Built on Next.js with features like App Router and Server Actions.
  • Shadcn/ui and TailwindCSS: Utilizes shadcn/ui and TailwindCSS for UI components and styling.
  • Vercel AI SDK: Integration with Vercel AI SDK for enhanced functionalities.
  • E2B SDK Integration: Uses the E2B SDK for securely executing AI-generated code.
  • Streaming in the UI: Provides real-time streaming capabilities within the user interface.
  • Package Support: Allows installation and usage of packages from npm and pip.
  • Supported Stacks: Supports various programming stacks like Python interpreter, Next.js, Vue.js, Streamlit, and Gradio.
  • Supported LLM Providers: Compatible with language model providers such as OpenAI, Anthropic, Google AI, Mistral, Groq, Fireworks, Together AI, and Ollama.
nextjs
Next.js

Next.js is a React-based web framework that enables server-side rendering, static site generation, and other powerful features for building modern web applications.

react
React

React is a widely used JavaScript library for building user interfaces and single-page applications. It follows a component-based architecture and uses a virtual DOM to efficiently update and render UI components

tailwind
Tailwind

Tailwind CSS is a utility-first CSS framework that provides pre-defined classes for building responsive and customizable user interfaces.

eslint
Eslint

ESLint is a linter for JavaScript that analyzes code to detect and report on potential problems and errors, as well as enforce consistent code style and best practices, helping developers to write cleaner, more maintainable code.

postcss
Postcss

PostCSS is a popular open-source tool that enables web developers to transform CSS styles with JavaScript plugins. It allows for efficient processing of CSS styles, from applying vendor prefixes to improving browser compatibility, ultimately resulting in cleaner, faster, and more maintainable code.

prismjs
Prism JS

PrismJS is an open-source, lightweight, and extensible syntax highlighting library that supports a wide range of programming languages and markup formats.

typescript
Typescript

TypeScript is a superset of JavaScript, providing optional static typing, classes, interfaces, and other features that help developers write more maintainable and scalable code. TypeScript's static typing system can catch errors at compile-time, making it easier to build and maintain large applications.