daytonaio / devcontainer-generator

devcontainer.ai - AI generated standardized dev environments
https://devcontainer.ai/
Apache License 2.0
15 stars 12 forks source link

Create Chrome Extension to Generate and Commit Devcontainer Files from GitHub Repositories #17

Open nkkko opened 2 months ago

nkkko commented 2 months ago

Is your feature request related to a problem? Please describe. Users often need a quick way to generate and commit a devcontainer.json file directly from a GitHub repository's interface. Manually generating and committing the file involves multiple steps and can be cumbersome.

Describe the solution you'd like

Describe alternatives you've considered

Additional context

  1. Chrome Extension Development:

    • Use the Chrome Extensions API to create the extension.
    • Implement content scripts to detect when the user is on a GitHub repository page.
  2. Authentication:

    • Use GitHub OAuth to handle authentication within the extension.
    • Store the authentication token securely and use it for API calls.
  3. GitHub API Integration:

    • Make API calls to generate the devcontainer.json and create a PR using the authenticated user's credentials.
    • If the user is not authenticated, fetch the devcontainer.json and allow them to download it.
  4. UI/UX:

    • Design a user-friendly button that appears on GitHub repository pages.
    • Provide clear feedback and instructions based on the user's authentication status.
  5. Dependencies:

    • Ensure the feature depends on the backend capability to fetch the generated devcontainer.json via URL hash.

Example Flow:

nkkko commented 1 month ago

/bounty $50

algora-pbc[bot] commented 1 month ago

💎 $50 bounty • Daytona

Steps to solve:

  1. Start working: Comment /attempt #17 with your implementation plan
  2. Submit work: Create a pull request including /claim #17 in the PR body to claim the bounty
  3. Receive payment: 100% of the bounty is received 2-5 days post-reward. Make sure you are eligible for payouts

If no one is assigned to the issue, feel free to tackle it, without confirmation from us, after registering your attempt. In the event that multiple PRs are made from different people, we will generally accept those with the cleanest code.

Please respect others by working on PRs that you are allowed to submit attempts to.

e.g. If you reached the limit of active attempts, please wait for the ability to do so before submitting a new PR.

If you can not submit an attempt, you will not receive your payout.

Thank you for contributing to daytonaio/devcontainer-generator!

Add a bountyShare on socials