π¬ Open-source, self-hosted AI agent that runs a YouTube channel end to end: researches topics, writes scripts, generates narration, visuals and video, optimizes SEO, and publishes after your approval, then learns from analytics. Works with Gemini, OpenAI, OpenRouter, DeepSeek and more.
JavaScript ai-agentsautomationcontent-automationcontent-creationcontent-strategygoogle-geminijavascriptnodejsopenaiself-hostedseo-optimizationsocial-media-automationthumbnail-generatorvideo-generationyoutube-apiyoutube-automationyoutube-botyoutube-channelyoutube-shortsyoutube-uploader
Add maintainer infrastructure: issue/PR templates, CONTRIBUTING.md
darkzOGx4c35d4b0a186
diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.ymlnew file mode 100644index 0000000..38d84ce--- /dev/null+++ b/.github/ISSUE_TEMPLATE/bug_report.yml@@ -0,0 +1,60 @@+name: Bug report+description: Something is broken or doesn't work as documented+labels: [bug]+body:+ - type: markdown+ attributes:+ value: |+ Thanks for the report! Two minutes of detail here usually saves days of back-and-forth.+ **Before filing:** update to the latest release (`git pull && npm install`) β many "doesn't work" reports were fixed in v2.2.0.+ - type: textarea+ id: capability-check+ attributes:+ label: Startup capability check+ description: Run `npm start` and paste the `π Capability check:` block (the β/β lines). This tells us exactly which stages are configured.+ render: text+ placeholder: |+ π Capability check:+ β Script & strategy generation+ β Voice narration (TTS) β ...+ validations:+ required: true+ - type: textarea+ id: what-happened+ attributes:+ label: What happened vs. what you expected+ description: Include the exact error text from the console or `logs/` β text, not screenshots, please.+ validations:+ required: true+ - type: textarea+ id: repro+ attributes:+ label: Steps to reproduce+ placeholder: |+ 1. npm run setup (chose Gemini)+ 2. npm start+ 3. ...+ validations:+ required: true+ - type: input+ id: version+ attributes:+ label: Version / commit+ description: Output of `git log --oneline -1`+ validations:+ required: true+ - type: dropdown+ id: os+ attributes:+ label: Operating system+ options:+ - Windows+ - macOS+ - Linux+ validations:+ required: true+ - type: input+ id: provider+ attributes:+ label: AI provider in use+ placeholder: e.g. Gemini, OpenAI, OpenRouterdiff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.ymlnew file mode 100644index 0000000..c080c83--- /dev/null+++ b/.github/ISSUE_TEMPLATE/config.yml@@ -0,0 +1,5 @@+blank_issues_enabled: false+contact_links:+ - name: Questions & setup help+ url: https://github.com/darkzOGx/youtube-automation-agent/discussions+ about: For "how do Iβ¦" questions, setup help, and showing off what you built β use Discussions so Issues stays focused on bugs.diff --git a/.github/ISSUE_TEMPLATE/feature_request.yml b/.github/ISSUE_TEMPLATE/feature_request.ymlnew file mode 100644index 0000000..621a4a1--- /dev/null+++ b/.github/ISSUE_TEMPLATE/feature_request.yml@@ -0,0 +1,27 @@+name: Feature request+description: Suggest an improvement or new capability+labels: [enhancement]+body:+ - type: textarea+ id: problem+ attributes:+ label: What problem would this solve?+ description: Describe the situation where you needed this, not just the solution.+ validations:+ required: true+ - type: textarea+ id: proposal+ attributes:+ label: Proposed solution+ validations:+ required: true+ - type: textarea+ id: alternatives+ attributes:+ label: Alternatives you've considered+ - type: checkboxes+ id: contribution+ attributes:+ label: Contribution+ options:+ - label: I'm willing to open a PR for thisdiff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.mdnew file mode 100644index 0000000..1114239--- /dev/null+++ b/.github/PULL_REQUEST_TEMPLATE.md@@ -0,0 +1,15 @@+## What & why++<!-- One paragraph: what this changes and the problem it solves. Link the issue if one exists. -->++## Checklist++- [ ] One focused concern per PR (split unrelated changes into separate PRs)+- [ ] No `package-lock.json` regeneration unless the PR is specifically about dependencies+- [ ] `npm run lint` passes+- [ ] `npm test` passes (add a test if you fixed a bug)+- [ ] Rebased on current `master`++## How I tested it++<!-- What you ran and what you observed. -->diff --git a/CONTRIBUTING.md b/CONTRIBUTING.mdnew file mode 100644index 0000000..e37fc38--- /dev/null+++ b/CONTRIBUTING.md@@ -0,0 +1,31 @@+# Contributing++Thanks for contributing! This project moves fast and PRs are reviewed regularly β a few ground rules keep that possible.++## Ground rules++1. **One concern per PR.** A focused 50-line PR merges in days; a 6,000-line PR mixing features can't be responsibly reviewed. If your change has independent parts, stack them as separate PRs.+2. **Don't regenerate `package-lock.json`** unless your PR is specifically about dependencies. Lockfile churn hides real changes and is a supply-chain review burden.+3. **Lint and tests must pass** β CI runs `npm run lint` and `npm test` on every PR. If you fix a bug, add a regression test in `test.js` (see the existing `SystemTest` methods for the pattern).+4. **Rebase on `master`** before opening or updating a PR.+5. **Describe how you tested it.** "Ran `npm start`, generated a video with Gemini-only credentials, verified a real .mp4 appeared in `data/videos/`" beats any amount of code description.++## Getting started++```bash+git clone <your-fork>+cd youtube-automation-agent+npm install # also fetches the bundled FFmpeg binary+npm test # 12 system tests, no credentials needed+npm run lint+```++You don't need API keys to work on most of the codebase β the test suite and the simulation fallbacks run without them. For end-to-end runs, `npm run setup` walks you through credentials (any one AI provider is enough).++## Where help is most wanted++Check the [open issues](https://github.com/darkzOGx/youtube-automation-agent/issues) and the roadmap in the latest [release notes](https://github.com/darkzOGx/youtube-automation-agent/releases). Current priorities: Gemini image/TTS parity, slideshow rendering performance, and template-content quality.++## Reporting bugs++Use the bug report template β it asks for the startup capability check (`π Capability check:` block), which diagnoses most issues instantly.diff --git a/README.md b/README.mdindex df3cda2..e69220a 100644--- a/README.md+++ b/README.md@@ -338,6 +338,8 @@ If this was useful, check out:## Contributing+See [CONTRIBUTING.md](CONTRIBUTING.md) for ground rules (short version: one focused concern per PR, no lockfile churn, lint + tests must pass). For questions and setup help, use [Discussions](https://github.com/darkzOGx/youtube-automation-agent/discussions) β Issues is for bugs.+1. Fork the repo2. Create a feature branch3. Make changes and add tests