Visual-first API integration with auto-deployment to mbtq.dev
- ๐ DeafAUTH Integration - Secure authentication system
- ๐น Fibonrose Tracking - Reputation and activity logging
- โก PinkSync Deployment - Auto-deploy APIs to mbtq.dev
- ๐จ Full-Stack Code Generation - Generate complete API integrations
- ๐ก Public API Discovery - Browse and integrate 1000+ public APIs
- ๐ Complete GitHub REST API - Full access to all GitHub API endpoints
- ๐ฏ Curated Developer APIs - 40+ high-quality open-source development APIs
- ๐ FastAPI Backend - High-performance async API server
- ๐ Real-time Activity Logs - Track all API interactions
- ๐ Reputation System - Gamified user engagement
The MBTQ Auto-API system consists of:
- FastAPI Backend (
main.py) - Core API server - React Frontend (
app.tsx) - Visual interface - MBTQ Services:
- DeafAUTH - Authentication & authorization
- Fibonrose - Activity logging & reputation
- PinkSync - Deployment automation
- Code Generator - Full-stack code generation
- Python 3.11+
- pip or poetry
-
Clone the repository
git clone https://github.com/MBTQ-dev/Auto-API.git cd Auto-API -
Install dependencies
pip install -r requirements.txt
-
Configure environment (optional)
cp .env.example .env # Edit .env with your settings -
Run the server
uvicorn main:app --reload
-
Access the API
- API Server: http://localhost:8000
- Interactive Docs: http://localhost:8000/api/docs
- ReDoc: http://localhost:8000/api/redoc
Authenticate with DeafAUTH and receive a token.
Request Body:
{
"username": "your_username",
"password": "your_password"
}Response:
{
"success": true,
"token": "your_auth_token",
"username": "your_username",
"message": "DeafAUTH authentication successful"
}Fetch and filter API entries from public-apis.org.
Query Parameters:
category(optional): Filter by categorysearch(optional): Search termauth(optional): Filter by auth typehttps(optional): Filter HTTPS onlylimit(default: 100): Maximum results
Example:
curl http://localhost:8000/api/entries?category=Development&limit=10Get list of all available API categories.
Get comprehensive GitHub REST API endpoints.
Query Parameters:
search(optional): Search term to filter GitHub endpoints
Example:
curl http://localhost:8000/api/github
curl http://localhost:8000/api/github?search=issuesReturns: Complete collection of GitHub REST API endpoints including:
- Repositories, Issues, Pull Requests
- Commits, Branches, Users
- Organizations, Gists, Actions
- Releases, Search, Webhooks
- Contents, Notifications, Projects
Get curated collection of high-quality open-source/free development APIs.
Query Parameters:
search(optional): Search termauth(optional): Filter by auth typelimit(default: 100): Maximum results
Example:
curl http://localhost:8000/api/enriched
curl http://localhost:8000/api/enriched?search=dockerReturns: Enriched API collection including:
- Version Control: GitLab, Bitbucket
- Package Registries: npm, PyPI, Maven, crates.io
- CI/CD: CircleCI, Travis CI, Vercel, Netlify
- Code Quality: SonarQube, Codacy
- Documentation: Stack Exchange, DevDocs
- And 30+ more development APIs!
Get all curated APIs (GitHub + enriched APIs combined).
Query Parameters:
include_github(default: true): Include GitHub endpointsinclude_enriched(default: true): Include enriched APIssearch(optional): Search termlimit(default: 200): Maximum results
Example:
curl http://localhost:8000/api/curated
curl "http://localhost:8000/api/curated?search=api&limit=50"Generate full-stack code for selected API.
Headers:
X-MBTQ-Token: Your DeafAUTH token (required)
Request Body:
{
"api_name": "GitHub",
"description": "GitHub REST API",
"link": "https://api.github.com",
"category": "Development",
"auth": "apiKey",
"https": true
}Response:
{
"success": true,
"code": "// Generated code...",
"api_name": "GitHub",
"generated_at": "2025-12-14T09:32:45.031Z",
"mbtq_metadata": {
"deafauth": "โ
Validated",
"fibonrose": "๐น Logged",
"pinksync": "โก Ready"
}
}Deploy generated API to mbtq.dev.
Headers:
X-MBTQ-Token: Your DeafAUTH token (required)
Request Body:
{
"api_name": "GitHub",
"code": "// Your generated code...",
"config": {
"name": "mbtq-github-api",
"env_vars": {}
}
}Response:
{
"success": true,
"deployment_id": "uuid",
"url": "https://mbtq.dev/api/github",
"status": "deployed",
"logs": [...],
"deployed_at": "2025-12-14T09:32:45.031Z"
}Get deployment status by ID.
Get activity logs for authenticated user.
Headers:
X-MBTQ-Token: Your DeafAUTH token (required)
Query Parameters:
limit(default: 50): Maximum number of logs
Get user's reputation score and level.
Headers:
X-MBTQ-Token: Your DeafAUTH token (required)
Response:
{
"username": "your_username",
"score": 150,
"level": "Apprentice",
"total_actions": 25,
"last_activity": "2025-12-14T09:32:45.031Z"
}Check service health status.
Response:
{
"status": "healthy",
"timestamp": "2025-12-14T09:32:45.031Z",
"services": {
"deafauth": "healthy",
"fibonrose": "healthy",
"pinksync": "healthy"
}
}curl -X POST http://localhost:8000/api/auth/login \
-H "Content-Type: application/json" \
-d '{"username": "developer", "password": "optional"}'curl http://localhost:8000/api/entries?category=Developmentcurl -X POST http://localhost:8000/api/generate \
-H "Content-Type: application/json" \
-H "X-MBTQ-Token: your_token" \
-d '{
"api_name": "GitHub",
"description": "GitHub REST API",
"link": "https://api.github.com",
"category": "Development",
"auth": "apiKey"
}'curl -X POST http://localhost:8000/api/deploy \
-H "Content-Type: application/json" \
-H "X-MBTQ-Token: your_token" \
-d '{
"api_name": "GitHub",
"code": "your_generated_code"
}'Fibonrose tracks user activity and awards reputation points:
| Action | Points |
|---|---|
| Authentication | +5 |
| API Entries Fetch | +1 |
| Code Generation Started | +10 |
| Code Generation Completed | +20 |
| Deployment Started | +15 |
| Deployment Completed | +50 |
| Error Actions | -5 to -25 |
- Novice: 0-49 points
- Apprentice: 50-149 points
- Adept: 150-299 points
- Expert: 300-499 points
- Master: 500-999 points
- Grandmaster: 1000+ points
Configuration is managed through environment variables. See .env.example for all available options.
Key settings:
APP_NAME: Application nameDEBUG: Enable debug modeHOST: Server hostPORT: Server portTOKEN_EXPIRY_HOURS: Token validity periodRATE_LIMIT_PER_MINUTE: API rate limiting
Build and run with Docker:
docker build -t mbtq-auto-api .
docker run -p 8000:8000 mbtq-auto-apiDeploy to Vercel:
vercel deployThe vercel.json configuration is included.
Auto-API/
โโโ main.py # FastAPI application
โโโ models.py # Pydantic models
โโโ config.py # Configuration
โโโ requirements.txt # Python dependencies
โโโ services/
โ โโโ __init__.py
โ โโโ deafauth.py # Authentication service
โ โโโ fibonrose.py # Logging & reputation
โ โโโ pinksync.py # Deployment service
โ โโโ code_generator.py # Code generation
โโโ app.tsx # React frontend
โโโ Dockerfile # Docker configuration
โโโ vercel.json # Vercel deployment
โโโ README.md
uvicorn main:app --reload --log-level debug- All API endpoints requiring authentication use DeafAUTH tokens
- Tokens are validated on each request
- CORS is configured (customize for production)
- Input validation using Pydantic
- Dependencies are vulnerability-free
Contributions are welcome! Please:
- Fork the repository
- Create a feature branch
- Make your changes
- Submit a pull request
MIT License - see LICENSE file for details.
Part of the MBTQ Universe ecosystem:
- DeafAUTH: Authentication system
- Fibonrose: Reputation & logging
- PinkSync: Deployment automation
- 360 Magicians: AI assistance
- Auto-API: This project!
For issues and questions:
- GitHub Issues: https://github.com/MBTQ-dev/Auto-API/issues
- Documentation: https://github.com/MBTQ-dev/Auto-API
- Built with FastAPI
- API data from Public APIs
- Powered by the MBTQ Universe
Made with โค๏ธ by the MBTQ Team
๐ DeafAUTH Protected | ๐น Fibonrose Tracked | โก PinkSync Deployed