{"id":47611569,"url":"https://github.com/dev-gaitano/topbox-mvp","last_synced_at":"2026-04-01T20:26:28.095Z","repository":{"id":338239055,"uuid":"1157132234","full_name":"dev-gaitano/topbox-mvp","owner":"dev-gaitano","description":"TopBox Studio is an AI powered content management agency that helps teams create, organize, update, and publish digital content across multiple platforms without chaos. ","archived":false,"fork":false,"pushed_at":"2026-03-12T09:15:46.000Z","size":271,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-03-12T11:48:09.034Z","etag":null,"topics":["postgresql","python","typescript"],"latest_commit_sha":null,"homepage":"https://topbox-mvp.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-03-12T09:14:17.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/dev-gaitano/topbox-mvp","commit_stats":null,"previous_names":["dev-gaitano/topbox-mvp"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/dev-gaitano/topbox-mvp","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dev-gaitano%2Ftopbox-mvp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dev-gaitano%2Ftopbox-mvp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dev-gaitano%2Ftopbox-mvp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dev-gaitano%2Ftopbox-mvp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dev-gaitano","download_url":"https://codeload.github.com/dev-gaitano/topbox-mvp/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dev-gaitano%2Ftopbox-mvp/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31291608,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-01T13:12:26.723Z","status":"ssl_error","status_checked_at":"2026-04-01T13:12:25.102Z","response_time":53,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["postgresql","python","typescript"],"created_at":"2026-04-01T20:26:27.422Z","updated_at":"2026-04-01T20:26:28.067Z","avatar_url":"https://github.com/dev-gaitano.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# TopBox Studio Content Management System\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\npython3 -m venv venv\n```\n\n```bash\nsource venv/bin/activate\n```\n\n```bash\npip install -r requirements.txt\n```\n\n```bash\npython3 main.py\n```\n\n- API calls are configured to proxy to `http://localhost:5000`\n\n```bash\ncd frontend\nnpm install\n```\n\n```bash\nnpm run dev\n```\n\nThe application will be available at `http://localhost:3000`\n\n### Build\n\n```bash\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├── brandAgent.py                       # Brand-related logic\n├── contentAgent.py                     # Content-related logic\n├── databaseConnection.py               # Database connection and setup\n├── main.py                             # Backend entry point\n├── requirements.txt                    # Python dependencies\n├── schema.sql                          # Database schema\n├── Dockerfile                          # Container build instructions\n├── README.md                           # Project documentation\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 configuration\n│   └── src/                            # Frontend source code\n│       ├── components/                 # Reusable React components\n│       │   ├── CompanySelection.tsx    # Company selection UI\n│       │   ├── BrandGuidelines.tsx     # Brand rules UI\n│       │   ├── ContentCreation.tsx     # Content creation UI\n│       │   ├── ContentReview.tsx       # Content review UI\n│       │   └── Navigation.tsx          # App navigation\n│       ├── types/                      # Shared TypeScript types\n│       │   └── index.ts                # Type exports\n│       ├── App.tsx                     # Main app component\n│       ├── main.tsx                    # React entry point\n│       └── index.css                   # Global styles\n```\n\n## Notes\n\n- The app uses React Router for navigation\n- Selected company state is managed at the App level\n- Content data is temporarily stored in sessionStorage for review\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdev-gaitano%2Ftopbox-mvp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdev-gaitano%2Ftopbox-mvp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdev-gaitano%2Ftopbox-mvp/lists"}