Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bloom

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.

Features

  • 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

Installation

  1. Clone the repository
  2. Create a virtual environment:
    python -m venv venv
    source venv/bin/activate  # On Windows use: venv\Scripts\activate
  3. Install dependencies:
    pip install -r requirements.txt
  4. Set up environment variables in .env file:
    SECRET_KEY=your-secret-key
    DATABASE_URL=sqlite:///app.db
    
  5. Initialize the database:
    flask db upgrade

Development Setup

For local development with remote access:

  1. Install ngrok:

    # On Windows (using chocolatey)
    choco install ngrok
    
    # On macOS
    brew install ngrok
  2. Start the Flask development server:

    flask run
  3. In a separate terminal, start ngrok:

    ngrok http 5000
  4. Access your application through the ngrok URL provided

Docker Deployment

  1. Build the Docker image:

    docker build -t bloom .
  2. Run the container:

    docker run -p 8000:8000 bloom

License

MIT License

About

grow code

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages