{"id":48020657,"url":"https://github.com/cadentdev/content-calendar-template","last_synced_at":"2026-04-04T13:46:48.931Z","repository":{"id":304896875,"uuid":"1020361184","full_name":"cadentdev/content-calendar-template","owner":"cadentdev","description":"A Python tool to generate a Google Sheet content calendar. Requires Google API credentials.","archived":false,"fork":false,"pushed_at":"2025-08-19T22:28:14.000Z","size":65,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-08-19T23:29:41.673Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cadentdev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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}},"created_at":"2025-07-15T18:42:17.000Z","updated_at":"2025-07-18T03:30:39.000Z","dependencies_parsed_at":"2025-07-17T05:30:52.180Z","dependency_job_id":"7edfdce9-0223-43e3-b987-da6f236e3936","html_url":"https://github.com/cadentdev/content-calendar-template","commit_stats":null,"previous_names":["cadentdev/content-calendar-template"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/cadentdev/content-calendar-template","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cadentdev%2Fcontent-calendar-template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cadentdev%2Fcontent-calendar-template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cadentdev%2Fcontent-calendar-template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cadentdev%2Fcontent-calendar-template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cadentdev","download_url":"https://codeload.github.com/cadentdev/content-calendar-template/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cadentdev%2Fcontent-calendar-template/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31402276,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-04T10:20:44.708Z","status":"ssl_error","status_checked_at":"2026-04-04T10:20:06.846Z","response_time":60,"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":[],"created_at":"2026-04-04T13:46:48.805Z","updated_at":"2026-04-04T13:46:48.901Z","avatar_url":"https://github.com/cadentdev.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# content-calendar-template\n\nA Python tool to generate a Google Sheet content calendar. Requires Google API credentials.\n\nThe Python script creates a simple, client-friendly content calendar in Google Sheets with these MVP features:\n\n## Core Functionality\n\n- **Essential columns**: Date, Time, Platform, Content Type, Post Content, Status, Notes\n- **Dropdown validation** for platforms, content types, and status tracking\n- **Sample data** to show clients how to use it\n- **Instructions sheet** with guidelines and tips\n\n## Client-Friendly Features\n\n- Clean, professional formatting with branded header colors\n- Pre-populated sample entries to demonstrate usage\n- Built-in data validation to prevent errors\n- Separate instructions sheet for onboarding\n\n## Development Workflow\n\nThis project follows a GitHub Flow workflow with branch protection:\n\n- `main` branch: Production-ready code\n- `develop` branch: Integration branch for features\n- Feature branches: Created from `develop` for new features/fixes\n\n### GitHub Actions\n- Tests run on every push and pull request\n- Code coverage is reported to Codecov\n- Main branch requires all tests to pass before merging\n\n### Branch Protection\n- Require pull request reviews before merging\n- Require status checks to pass before merging\n- Require linear history\n- Restrict who can push to main branch\n\n## Setup\n\n1. **Install Poetry:**\n```bash\ncurl -sSL https://install.python-poetry.org | python3 -\n```\n\n2. **Install dependencies:**\n```bash\npoetry install\n```\n\n3. **Get Google API credentials:**\n   - Go to [Google Cloud Console](https://console.cloud.google.com/)\n   - Create a new project or select an existing one\n   - Enable the Google Sheets API\n   - Go to \"APIs \u0026 Services\" \u003e \"Credentials\"\n   - Click \"Create Credentials\" \u003e \"OAuth client ID\"\n   - Select \"Desktop app\" as the application type\n   - Download the credentials as `credentials.json` in the project root\n\n4. **Run the script:**\n```bash\npoetry run python src/content_calendar/calendar_generator.py\n```\n   - On first run, it will open a browser window for OAuth authentication\n   - Follow the prompts to authorize the application\n   - A token will be saved for future use\n\nThe script will:\n- Authenticate with Google (first time only)\n- Create a branded spreadsheet for your client\n- Add sample data and validation rules\n- Generate a shareable URL\n\n## Architecture\n\n### Security Features\n- **Input validation** and sanitization for all user inputs\n- **Path validation** to prevent directory traversal attacks\n- **Secure credential storage** with 600 file permissions\n- **Error handling** that doesn't expose sensitive information\n\n### Reliability Features\n- **Retry logic** with exponential backoff for API calls\n- **Comprehensive error handling** for network and quota issues\n- **Graceful degradation** when optional features fail\n- **Logging** throughout the application for debugging\n\n### Code Quality\n- **Type hints** throughout codebase for better IDE support\n- **Comprehensive unit tests** with 99% coverage\n- **Modular design** with clear separation of concerns\n- **Configuration management** through class constants\n\n## Contributing\n\nThis project follows modern Python development practices:\n\n1. **Code Style**: Uses Black for formatting, isort for imports, flake8 for linting\n2. **Testing**: Comprehensive test suite with pytest and high coverage requirements\n3. **Security**: Security-first approach with input validation and secure defaults\n4. **Documentation**: Clear docstrings and type hints throughout\n5. **Error Handling**: Robust error handling with proper logging\n\n## License\n\nThis project is open source and available under the [MIT License](LICENSE).\n\n## Support\n\nFor issues and questions, please see the [CLAUDE.md](CLAUDE.md) file for development guidance.\n\n## Repository Configuration\n\nFor detailed information about branch protection, workflows, and repository settings, see [GitHub Configuration](docs/github_config.md).\n\n## Future Enhancement Possibilities\n\n- Bulk creation for multiple clients\n- Custom branding per client\n- Integration with scheduling tools\n- Performance tracking columns\n- Media asset management\n- Configuration file support\n- CLI argument parsing\n- Docker containerization\n- API quota monitoring\n- Database integration for client management\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcadentdev%2Fcontent-calendar-template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcadentdev%2Fcontent-calendar-template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcadentdev%2Fcontent-calendar-template/lists"}