{"id":50539642,"url":"https://github.com/dev-gaitano/topbox","last_synced_at":"2026-06-03T19:30:29.853Z","repository":{"id":338239055,"uuid":"1157132234","full_name":"dev-gaitano/topbox","owner":"dev-gaitano","description":"An AI powered content management system that helps teams create, organize, update, and publish digital content across multiple platforms. ","archived":false,"fork":false,"pushed_at":"2026-05-30T05:33:56.000Z","size":297,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-05-30T06:22:07.733Z","etag":null,"topics":["ai","flask","postgresql","python","react","typescript"],"latest_commit_sha":null,"homepage":"https://topbox-agency.vercel.app/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dev-gaitano.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-02-13T13:20:34.000Z","updated_at":"2026-05-30T05:34:00.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/dev-gaitano/topbox","commit_stats":null,"previous_names":["dev-gaitano/topbox-mvp","dev-gaitano/topbox"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/dev-gaitano/topbox","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dev-gaitano%2Ftopbox","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dev-gaitano%2Ftopbox/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dev-gaitano%2Ftopbox/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dev-gaitano%2Ftopbox/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dev-gaitano","download_url":"https://codeload.github.com/dev-gaitano/topbox/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dev-gaitano%2Ftopbox/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33876893,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-03T02:00:06.370Z","response_time":59,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ai","flask","postgresql","python","react","typescript"],"created_at":"2026-06-03T19:30:29.206Z","updated_at":"2026-06-03T19:30:29.847Z","avatar_url":"https://github.com/dev-gaitano.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n    \u003cimg src=\"https://res.cloudinary.com/diwkfbsgv/image/upload/v1775206748/logo_u4sz9t.svg\" alt=\"banner_img\"\u003e\n    \u003ch1\u003eTopBox Studio\u003c/h1\u003e\n\u003c/div\u003e\n\n\u003cbr /\u003e\n\nTopBox is an AI powered content management system that helps teams create, organize, update, and publish digital content across multiple platforms.\n\n## Tech stack\n\n- React + TypeScript + CSS + Vite Front-end\n- Python + Flask Back-end API\n- PostreSQL Database\n\n## Features\n\n- **Company Management**: Select existing companies or create new ones\n- **Brand Guidelines**: Upload or generate brand guidelines\n- **Content Creation**: Create content posts with topics, platform selection, and reference images\n- **Content Review**: Review and edit generated content prompts and captions\n\n## Getting Started\n\n### Installation\n\n```bash\n# Setup backend\ncd backend\npython3 -m venv venv\nsource venv/bin/activate\npip install -r requirements.txt\npython3 main.py\n```\n\n- API calls are configured to proxy to `http://localhost:5000`\n\n```bash\n# Setup frontend\ncd frontend\nnpm install\nnpm run dev\n```\n\nThe application will be available at `http://localhost:3000`\n\n### Build\n\n```bash\ncd frontend\nnpm run build\n```\n\n## API Endpoints\n\nThe frontend expects the following Flask backend endpoints:\n\n### Companies\n- `GET /api/companies` - Fetch all companies\n- `POST /api/companies` - Create a new company\n- `GET /api/companies/\u003cint:company_id\u003e` - Fetch selected company\n\n### Brand Guidelines\n- `POST /api/brand-guidelines/upload` - Upload brand guidelines file\n- `POST /api/brand-guidelines/generate` - Generate brand guidelines\n- `POST /api/brand-guidelines/save` - Save generated guidelines\n- `GET /api/brand-guidelines/\u003cint:company_id\u003e` - Get brand guidelines for selected company\n\n### Content\n- `POST /api/content/create` - Create new content post\n- `GET /api/content/latest` - Get latest content for a company\n- `GET /api/content/list` - Get latest 20 content for a company\n- `POST /api/content/save` - Save content with prompt and caption\n\n## Project Structure\n\n```\n.\n├── .git/                               # Git metadata\n├── README.md                           # Project documentation\n├── backend/                            # Flask Backend\n│   ├── main.py                         # API entry point\n│   ├── databaseConnection.py           # Database connection and setup\n│   ├── requirements.txt                # Python deps\n│   ├── schema.sql                      # DB schema\n│   ├── Dockerfile                      # Backend container config\n│   ├── .env                            # Secrets (local)\n│   └── agents/                         # AI Agent logic\n│       ├── agentSetup.py               # Shared AI config\n│       ├── brandAgent.py               # Brand analysis agent\n│       ├── contentAgent.py             # Content creation agent\n│       └── responseModels.py           # Pydantic models\n├── frontend/                           # React Frontend\n│   ├── index.html                      # HTML entry point\n│   ├── package.json                    # Frontend config and scripts\n│   ├── package-lock.json               # Locked dependency versions\n│   ├── tsconfig.json                   # TypeScript config\n│   ├── tsconfig.node.json              # TypeScript config for tooling\n│   ├── vite.config.ts                  # Vite config\n│   └── src/                            # Frontend source\n│       ├── components/                 # React components\n│       ├── types/                      # Type definitions\n│       ├── App.tsx                     # Main component\n│       └── main.tsx                    # Entry point\n```\n\n## Notes\n\n- Selected company state is managed at \"Main.tsx\"\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdev-gaitano%2Ftopbox","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdev-gaitano%2Ftopbox","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdev-gaitano%2Ftopbox/lists"}