You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
There is a need for a new route to fetch the generated devcontainer.json directly through a URL hash. This feature would facilitate easy retrieval and integration with scripts and workflows.
Describe the solution you'd like
Implement a new route in main.py that accepts GitHub repository URLs passed via the URL hash.
Reuse the existing logic for checking the database and generating new devcontainer configurations.
Return the devcontainer.json as plain text to allow easy piping into bash scripts or workflows for automation.
Example usage:
Access via URL: https://devcontainer.ai/#https://github.com/daytonaio/daytona
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!
Is your feature request related to a problem? Please describe.
There is a need for a new route to fetch the generated
devcontainer.json
directly through a URL hash. This feature would facilitate easy retrieval and integration with scripts and workflows.Describe the solution you'd like
main.py
that accepts GitHub repository URLs passed via the URL hash.devcontainer.json
as plain text to allow easy piping into bash scripts or workflows for automation.Example usage:
https://devcontainer.ai/#https://github.com/daytonaio/daytona
curl https://devcontainer.ai/#https://github.com/daytonaio/daytona > .devcontainer/devcontainer.json
The text was updated successfully, but these errors were encountered: