Codebundle Generator is the easiest way to generate your Robot Framework based CLI Codebundles. Get some examples here. with a user-friendly web interface.
Supercharged by ChatGPT.
This is only a simple prototype, the code is untested and unstable. Workspace state is ephemeral. Inputs are not validated.
Writing Codebundles using Robot framework is very easy and intuitive. But why not to use GUI to save some time familiarizing with the syntax and exploring Keywords documentation. Don't burn your time on writing everything from scrach. Turn your ideas into codebundles quickly, and tune them later!
Supercharge your productivity, simulate commands output and test your regexes.
Use presets to prepare your workspace and focus on what delivers the actual value.
Simply describe conditions when the issue should be raised. Review and submit the response.
Local codecollection development environment integration. Try it, run dev environment from this branch generator api follow readme instructions and click on ▶️ button in Codebundle Generator web UI.
Click on guess regex
button and enjoy the magic.
Use natural language to describe the regex you need.
Impact the simulated output by describing the expected content.
git clone git@github.com:Peikae3IWaeG/robotgen.git
cd robotgen
cp .env.example .env
In order to use Codebundle Generator you must have an OpenAI account with an API key generated. In case of any problems please refer to OpenAI documentation.
docker compose up
Docker compose setup supports hot code reload.
cd back
pip install -r requirements.txt
OPENAI_API_KEY="sk-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" DEV_API_URL="http://dev-api:8001" python main.py
cd front
npm install
npm run dev
Codebundle generator needs network access to devtools container. The url is configured with DEV_API_URL
and is set to http://dev-api:8001
by default. Following steps are required to use devtools integration feature:
generator-api-m1
branch.Dockerfile
FROM
image with the one built in the previous step, and build the image.docker run --name dev-api --network robotgen_default --rm -p 8001:8001 -v $PWD:/app/codecollection -v $PWD/auth:/app/auth --env-file .env REPLACE_ME
. Container name matches the devault value of DEV_API_URL
environment variable. robotgen_default
network matches network created by running compose file from this repository and provides network access for codebundle generator API to codecollection development environment. Replace REPLACE_ME
with tag/sha of the image built in codecollection repository (previous step)There's no progres bar/spinner when running a codebundle in the WebUI. If unsure, investigate the development environment container logs.
Feel free to open a discussion and tell me about features you'd like to see.
This software is distributed under Apache 2.0 License.