Bloom is an intermediary server that interfaces between a sandboxed Python environment and a language model (LLM), facilitating software growth through command execution, error handling, and user interaction.
- Sandboxed Python environment for secure code execution
- Task management system
- File management and upload capabilities
- Web interface with mobile responsiveness
- Support for both local and cloud deployment
- Clone the repository
- Create a virtual environment:
python -m venv venv source venv/bin/activate # On Windows use: venv\Scripts\activate
- Install dependencies:
pip install -r requirements.txt
- Set up environment variables in
.envfile:SECRET_KEY=your-secret-key DATABASE_URL=sqlite:///app.db - Initialize the database:
flask db upgrade
For local development with remote access:
-
Install ngrok:
# On Windows (using chocolatey) choco install ngrok # On macOS brew install ngrok
-
Start the Flask development server:
flask run
-
In a separate terminal, start ngrok:
ngrok http 5000
-
Access your application through the ngrok URL provided
-
Build the Docker image:
docker build -t bloom . -
Run the container:
docker run -p 8000:8000 bloom
MIT License