GPTBundle is an open-source library designed to empower Next.JS web developers by integrating cutting-edge GPT-4 capabilities into their next launches.
Leveraging the power of LLM models (used by ChatGPT) through OpenAI's public API, GPTBundle offers developers a range of templates built using Vercel's Next.js and react-jsonschema-form. Our ultimate goal is to help the development community to create AI-powered web features easily.
Key Features · Documentation · Project Structure · Contributing ·
GPTBundle offers AI buttons that auto-fill and improve the user-provided data in multiple text fields. They are flexible to fit in any form and in can use them to help users create data such as bios based on avaiable profile info, task descriptions based on the context provided, and much more.
Choose from a variety of templates tailored for common formats of web features, such as creating a filling form for legal contracts, creating exams based on technical articles, creating a shopping checklist based on a cooking recipe, text enhancement for marketing content, and more.
By implementing react-jsonschema-form's versatility, GPTBundle is compatible with major UI libraries used in many renowned web products: Ant Design — Bootstrap 3 — Bootstrap 4 — Chakra UI — Fluent UI — Fluent UI 9 — Material UI 4 — Material UI 5 — Semantic UI
GPTBundle is developed by Vinta and maintained by the community, ensuring transparency, reliability, and continuous improvement. It will always be open to feedback and suggestions.
Documentation: https://docs.gptbundle.ai/
In our public documentation, you'll find installation instructions, tutorials, and examples. Note that hosted examples are not interactive since they need an OpenAI API Key to work.
Note that hosted examples are not interactive. See Building below to learn how to build the interactive docs.
This is a multipackage monorepo that holds the two NPM projects necessary for GPTBundle:
@gptbundle/client
@gptbundle/server
Both are stored at packages/
directory.
Set up Husky in your local git repository:
pnpm run prepare
For building locally, run pnpm run build
or pnpm run build:watch
.
Run the docs locally to access the interactive examples.
Create a .env.local
file inside docs/
and set the Open AI API Key there:
# docs/.env.local
OPENAI_API_KEY=sk-...
Run the docs project:
pnpm -F @gptbundle/docs run dev
Then open http://localhost:3000
in your browser.
There are three available commands for running tests:
pnpm run test
orpnpm test
– runs all test cases.pnpm run test:cov
– runs all tests and generates a coverage report.pnpm run test:watch
– runs all tests in watch mode.
NOTE: Running these commands in the root directory will trigger all tests from all packages. However, if you run them within a specific package directory, only the tests associated with that package will be executed.
This library is created and maintaned by Vinta Software — by developers, and for developers.
For questions, feedback, and partnerships don't hesitate to reach us at gptbundle@vintasoftware.com