Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

Code generator

Create React components in TypeScript based on user input using the Writer Framework.

How to use

  1. Input your app idea in the text input field.
  2. The app will generate a React component based on your request.
  3. The generated component will be displayed in the CodeSandbox.
  4. You can modify the generated code as needed or click on the "Open Sandbox" button to open the code in CodeSandbox.

Running the application

First, install Writer Frameowrk:

pip install writer

To build this application, you'll need to sign up for Writer AI Studio and create a new Framework application. This will create an API key. To pass your API key to the Writer Framework, you'll need to set an environment variable called WRITER_API_KEY:

export WRITER_API_KEY=your-api-key

Then, navigate to this folder and run:

writer edit .

To learn more, check out the full documentation for Writer Framework.

About Writer

Writer is the full-stack generative AI platform for enterprises. Quickly and easily build and deploy generative AI apps with a suite of developer tools fully integrated with our platform of LLMs, graph-based RAG tools, AI guardrails, and more. Learn more at writer.com.