Skip to content

Latest commit

ย 

History

534 Commits

Folders and files

NameName
Last commit message
Last commit date
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿคฏ OMG โ€” Oh My GitHub

๐Ÿš€ One Prompt In. A Full Game or App Out. ๐Ÿš€

Status GitHub Issues GitHub Actions OpenCode

โ•”โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•—
โ•‘  DESCRIBE IT  โ†’  BUILD IT  โ†’  TEST IT  โ†’  PLAY IT           โ•‘
โ•‘                                                              โ•‘
โ•‘  One GitHub issue. One prompt. A complete project.           โ•‘
โ•šโ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•

No API keys to configure. No server to maintain. No local setup maze.


๐Ÿคฏ What Is OMG?

Your GitHub issue becomes the product brief.

OMG (Oh My GitHub) is an automated GitHub Actions workflow for creating complete browser games and app projects from one natural-language prompt.

Write what you want in an issue and add the OpenCode label. OpenCode checks out the project, uses the shared skills, builds the experience, runs tests, verifies the result, and publishes an immutable OmGithub project link from the finished commit.

Yes, it creates the code. Yes, it runs the verification loop. Yes, it can expose the result in a temporary browser URL.

๐Ÿง  TL;DR

  1. Open a GitHub issue.
  2. Describe the game or app you want.
  3. Add the OpenCode label to the issue.
  4. Let GitHub Actions build, test, verify, and propose the result.
Your idea โ†’ GitHub issue โ†’ OpenCode โ†’ tests โ†’ immutable OmGithub project

โšก Quick Start

Create an issue in your repository with a concrete request:

Build a neon asteroid game.

Requirements:
- Arrow-key movement
- Score and restart button
- Win and lose states
- Responsive browser layout
- Run tests and verify it in a browser

That is the whole user-facing workflow. GitHub Actions handles the runner, OpenCode handles implementation, and the workflow handles verification plus the immutable project commit.

To run against an existing non-default branch, end the issue title with a branch: <name> directive. The directive selects the checkout and is removed before the issue body is sent to OpenCode:

gh issue create \
  --repo AgentsLoop/OhMyGithub \
  --title "Custom branch smoke test branch: codex/omgithub-site" \
  --body "Build a tiny browser page." \
  --label Goal \
  --label OpenCode

The GitHub App validates the branch before dispatching. If the directive is absent, the repository default branch remains the target.

๐ŸŒ What Can You Build?

๐ŸŽฏ Use case โœจ Example
๐ŸŽฎ Arcade games Breakout, Space Invaders, Asteroids, Match-3
๐Ÿงฉ Puzzle games Word games, logic puzzles, card games
๐Ÿƒ Interactive demos Physics experiments, simulations, visual toys
๐Ÿ“Š Dashboards Filters, charts, status panels, analytics views
๐Ÿ› ๏ธ Internal tools Trackers, generators, small workflow apps
๐ŸŒ Landing pages Product pages, portfolios, interactive showcases
๐Ÿงช Prototypes Turn a product idea into a runnable proof of concept
๐Ÿ“ฑ Browser apps Responsive tools that work on desktop and mobile

๐Ÿงฐ What Happens Automatically?

The workflow is the product.

  • ๐Ÿ“ฅ Checks out your repository and the shared OpenCode skills.
  • ๐Ÿท๏ธ Synchronizes model/* and skill/* labels.
  • ๐Ÿงญ Reads issue labels to select the model and requested skills.
  • ๐Ÿค– Runs OpenCode against the current project.
  • ๐Ÿงช Runs a second verification prompt after implementation.
  • ๐ŸŒ Starts the app and checks the local runtime.
  • ๐Ÿ”— Creates a temporary public preview URL when verification passes.
  • ๐Ÿ”€ Creates and pushes an opencode/<run-id> branch.
  • ๐Ÿ•น๏ธ Adds an Open Project link backed by the repository path, with full-commit links retained for compatibility.
  • ๐Ÿ’ฌ Posts progress and access details back to the issue.
  • ๐Ÿงน Cleans up temporary tunnels and runner processes.

๐Ÿท๏ธ Model and Skill Labels

Labels let you control the workflow without editing YAML.

model/opencode/muse-spark-1.3-contributor-free
skill/load-sketchfab-threejs
skill/gauntlet-loop

The workflow validates the selected labels, passes them into OpenCode, and records the resolved model and skills in the run logs. Shared skills are discovered from:

.agents/skills/<skill-name>/SKILL.md

๐Ÿ”„ OpenCode Workflow

flowchart TD
    A[Trigger] --> B[Prepare project]
    B --> C[Run build.md]
    C --> D[Run verify.md]
    D --> E{Public app works?}

    E -- No --> F[Run public-app-fix.md]
    F --> E

    E -- Yes --> G[Run completion-report.md]
    G --> H{Screenshots exist?}

    H -- No --> I[Run screenshot-evidence.md]
    I --> H

    H -- Yes --> J[Commit and push]
    J --> K[Create immutable project link]
    K --> L[Publish report]
    L --> M[Complete]
Loading

๐Ÿ—๏ธ Architecture

โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”     โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”     โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚ GitHub issue โ”‚ โ”€โ”€โ–ถ โ”‚ GitHub Actions  โ”‚ โ”€โ”€โ–ถ โ”‚   OpenCode   โ”‚
โ”‚ + issue text โ”‚     โ”‚ runner + labels โ”‚     โ”‚ + .agents    โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜     โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜     โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
                                                    โ”‚
                              โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
                              โ–ผ                     โ–ผ                     โ–ผ
                         Build code           Run tests             Verify app
                              โ”‚                     โ”‚                     โ”‚
                              โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
                                                    โ–ผ
                                      โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
                                      โ”‚ Commit store + preview โ”‚
                                      โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜

๐Ÿ” Security and Access

  • ๐Ÿ”‘ You do not need to create or store a project-specific AI API key.
  • ๐Ÿ–ฅ๏ธ You do not need to operate a dedicated build server.
  • โ˜๏ธ Execution happens in GitHub Actions.
  • ๐Ÿ”’ Temporary SSH and preview access exists only for the workflow run.
  • ๐Ÿ‘€ Review the generated commit before integrating it.
  • ๐Ÿ›ก๏ธ Restrict who can apply the OpenCode label in repositories that accept public issues.

โ€œNo servers neededโ€ means no servers for you to provision or maintain. The workflow still uses GitHub-hosted Actions infrastructure and temporary workflow services.

๐Ÿ“ Project Structure

๐Ÿ“ฆ OMG
 โ”œโ”€ .github/workflows/opencode.yml  # ๐Ÿค– Main issue-to-project workflow
 โ”œโ”€ wiki/opencode.md                # ๐Ÿ“– Workflow and session notes
 โ”œโ”€ wiki/testing.md                 # ๐Ÿงช Verification guidance
 โ””โ”€ AGENTS.md                       # ๐Ÿงญ Repository instructions

๐Ÿงช Local Validation

Validate the workflow definition before pushing changes:

actionlint .github/workflows/opencode.yml
git diff --check

๐Ÿ› Troubleshooting

Problem What to check
The workflow did not start Confirm the OpenCode label is applied to the issue.
A skill was not selected Add a matching skill/<name> label.
The app URL is missing Check the local app verification step and runner log.
The PR was not created Confirm OpenCode produced a diff and the workflow reached the PR step.
The workflow ran unexpectedly Tighten the trigger condition and trusted-user policy.

๐Ÿค Contributing

Ideas, skills, game templates, verification improvements, and workflow fixes are welcome.

  1. Open an issue describing the improvement.
  2. Add the OpenCode label when you want the workflow to prototype it.
  3. Review the generated commit and Open Project page carefully.
  4. Add tests and runtime proof for workflow changes.

โญ The Pitch

The old workflow was: idea โ†’ tickets โ†’ scaffolding โ†’ setup โ†’ implementation โ†’ debugging โ†’ deployment.

The OMG workflow is: idea โ†’ issue โ†’ playable project.

If you believe software should start with a sentence instead of a sprint plan, โญ star the repository and try it.

Built with GitHub Actions, OpenCode, shared skills, and unreasonable optimism. ๐Ÿ˜

About

๐ŸŽฎ Build complete browser games and app projects from one GitHub issue prompt with OpenCode, automated tests, skills, and previews.

Topics

Resources

Contributing

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages