A custom ChatGPT that stays up-to-date with the latest Flox documentation.
FloxGPT is a custom GPT designed to be your expert guide to Flox - the virtual environment and package manager that makes development environments reproducible, shareable, and delightful.
This repository automates the process of:
- Fetching the latest documentation from flox/floxdocs
- Consolidating all documentation into a single, GPT-optimized knowledge file
- Updating daily via GitHub Actions
floxgpt/
├── .flox/ # Flox environment configuration
├── .github/
│ └── workflows/
│ └── update-docs.yml # Daily update workflow
├── scripts/
│ └── consolidate-docs.py # Documentation consolidation script
├── gpt/
│ ├── instructions.md # GPT system instructions
│ └── conversation-starters.json
├── output/
│ ├── floxgpt-knowledge.md # Consolidated documentation (auto-generated)
│ └── last-updated.txt # Update metadata
└── README.md
A GitHub Action runs every day at 6:00 AM UTC to:
- Clone the latest
floxdocsrepository - Process all markdown documentation files
- Create a single consolidated knowledge base
- Create a GitHub Release if documentation changed (with the knowledge file attached)
When the Flox documentation changes, this repo automatically creates a new GitHub Release with:
- The updated
floxgpt-knowledge.mdfile ready to download - Step-by-step instructions for updating your GPT
- Document stats and source commit info
To receive notifications:
- Click Watch at the top of this repository
- Select Custom → check Releases
- You'll get an email whenever a new knowledge file is available
You can trigger an update manually:
- Go to Actions → Update FloxGPT Documentation → Run workflow
Or locally:
# Using Flox (recommended)
flox activate
python scripts/consolidate-docs.py
# Or directly with Python 3.12+
python3 scripts/consolidate-docs.py- Go to ChatGPT → Explore GPTs → Create
- Use the contents of
gpt/instructions.mdfor the Instructions field - Add conversation starters from
gpt/conversation-starters.json
- Go to the Releases page
- Download
floxgpt-knowledge.mdfrom the latest release - In your GPT configuration, go to Knowledge → Upload files
- Upload the
floxgpt-knowledge.mdfile
When you receive a release notification:
- Download the new
floxgpt-knowledge.mdfrom the release - Go to ChatGPT → Your GPTs → FloxGPT → Configure
- Under Knowledge, remove the old file and upload the new one
- Click Update to save
FloxGPT
Your expert guide to Flox - the virtual environment and package manager that makes development environments reproducible, shareable, and delightful. Get help with installation, environment creation, package management, team collaboration, and more.
| Capability | Enabled | Reason |
|---|---|---|
| Web Browsing | ❌ | Knowledge base contains all needed docs |
| DALL·E | ❌ | Not needed for developer assistance |
| Code Interpreter | ✅ | Helpful for analyzing manifests |
Currently, this GPT uses only the uploaded knowledge base. Future enhancements could include:
- FloxHub API integration for package search
- Real-time documentation fetching
This project uses Flox for development environment management:
# Install Flox if you haven't already
curl -fsSL https://install.flox.dev | bash
# Activate the environment
flox activate# Run the consolidation script
python scripts/consolidate-docs.py
# Output will be in output/floxgpt-knowledge.mdAfter modifying the consolidation script:
# Test the script
python scripts/consolidate-docs.py
# Check the output
head -100 output/floxgpt-knowledge.mdContributions are welcome! Areas for improvement:
- Better documentation organization/ordering
- Additional metadata extraction
- Support for GPT Actions/API integration
- Improved markdown cleaning for GPT consumption
MIT License - see LICENSE for details.
- Flox - Official Flox website
- Flox Documentation - Official documentation
- flox/floxdocs - Documentation source repository
- FloxHub - Share and discover Flox environments