{"id":15323789,"url":"https://github.com/StudyResearchProjects/github-issue-url","last_synced_at":"2025-10-16T09:31:53.585Z","repository":{"id":62439502,"uuid":"373000649","full_name":"EstebanBorai/github-issue-url","owner":"EstebanBorai","description":"GitHub prefilled issue form URL builder for Rust","archived":false,"fork":false,"pushed_at":"2021-06-02T01:50:06.000Z","size":18,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-31T15:46:03.118Z","etag":null,"topics":["github","issue","rust","url"],"latest_commit_sha":null,"homepage":"https://crates.io/crates/github-issue-url","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/EstebanBorai.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE-APACHE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-06-02T01:04:23.000Z","updated_at":"2021-06-02T17:06:47.000Z","dependencies_parsed_at":"2022-11-01T22:00:41.886Z","dependency_job_id":null,"html_url":"https://github.com/EstebanBorai/github-issue-url","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EstebanBorai%2Fgithub-issue-url","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EstebanBorai%2Fgithub-issue-url/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EstebanBorai%2Fgithub-issue-url/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EstebanBorai%2Fgithub-issue-url/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/EstebanBorai","download_url":"https://codeload.github.com/EstebanBorai/github-issue-url/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":236706764,"owners_count":19192043,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["github","issue","rust","url"],"created_at":"2024-10-01T09:22:08.696Z","updated_at":"2025-10-16T09:31:48.239Z","avatar_url":"https://github.com/EstebanBorai.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv\u003e\n  \u003ch1 align=\"center\"\u003eGitHub Issue URL\u003c/h1\u003e\n  \u003ch4 align=\"center\"\u003eGitHub prefilled issue URL builder\u003c/h4\u003e\n\u003c/div\u003e\n\n\u003cdiv align=\"center\"\u003e\n\n  [![Crates.io](https://img.shields.io/crates/v/github-issue-url.svg)](https://crates.io/crates/github-issue-url)\n  [![Documentation](https://docs.rs/github-issue-url/badge.svg)](https://docs.rs/github-issue-url)\n  ![Build](https://github.com/EstebanBorai/github-issue-url/workflows/build/badge.svg)\n  ![Clippy](https://github.com/EstebanBorai/github-issue-url/workflows/clippy/badge.svg)\n  ![Formatter](https://github.com/EstebanBorai/github-issue-url/workflows/fmt/badge.svg)\n  ![Tests](https://github.com/EstebanBorai/github-issue-url/workflows/test/badge.svg)\n\n\u003c/div\u003e\n\n## Motivation\n\nYou can have issue form fields prefilled by specifying certain query parameters\nin the \"New Issue\" URL (https://github.com/\u003cUser | Organization\u003e/\u003cRepository\u003e/issues/new).\n\nFor example:\n\n```\nhttps://github.com/EstebanBorai/github-issue-url/issues/new?\n  title=Null%3A+The+Billion+Dollar+Mistake\n  \u0026body=Null+is+a+flag.+It+represents+different+situations\n  \u0026template=bug_report.md\n  \u0026labels=bug%2Cproduction%2Chigh-severity\n  \u0026assignee=EstebanBorai\n  \u0026milestone=1\n  \u0026projects=1\n```\n\nThis way you can provide a one click \"Open Issue\" button to your Rust applications,\nfor instance you could have some stack trace, or details read from the host system\nwhere your application is running to let the user open an issue on GitHub without\nthe need of specifying system /or application details themselves.\n\n## Installation\n\n```toml\n[dependencies]\ngithub-issue-url = \"0.1\"\n```\n\n## Usage\n\nTo create a URL like the one shown above you must use the `Issue` struct included\nin this crate, specify the repository owner and the repository name, and then\ndefine the relevant fields such as title, body, template, labels, assginee,\nmilestone and/or projects, using the \"setter-like\" methods.\n\n```rust\nuse github_issue_url::Issue;\n\nconst GITHUB_ISSUE_LINK: \u0026str = \"https://github.com/EstebanBorai/github-issue-url/issues/new?title=Null%3A+The+Billion+Dollar+Mistake\u0026body=Null+is+a+flag.+It+represents+different+situations+depending+on+the+context+in+which+it+is+used+and+invoked.+This+yields+the+most+serious+error+in+software+development%3A+Coupling+a+hidden+decision+in+the+contract+between+an+object+and+who+uses+it.\u0026template=bug_report.md\u0026labels=bug%2Cproduction%2Chigh-severity\u0026assignee=EstebanBorai\u0026milestone=1\u0026projects=1\";\n\nlet mut have = Issue::new(\"github-issue-url\", \"EstebanBorai\").unwrap();\n\nhave.title(\"Null: The Billion Dollar Mistake\");\nhave.body(SAMPLE_ISSUE_BODY);\nhave.template(\"bug_report.md\");\nhave.labels(\"bug,production,high-severity\");\nhave.assignee(\"EstebanBorai\");\nhave.milestone(\"1\");\nhave.projects(\"1\");\n\nlet have = have.url().unwrap();\n\nassert_eq!(have, GITHUB_ISSUE_LINK.to_string());\n```\n\n## Release\n\n```bash\ngit tag -a v0.1.0 -m \"Release Message\"\ngit push origin main --follow-tags\n```\n\n## Contributing\n\nEvery contribution to this project is welcome! Feel free to open a pull request or an issue.\n\n## License\n\nLicensed under both the MIT License and the Apache 2.0 License.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FStudyResearchProjects%2Fgithub-issue-url","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FStudyResearchProjects%2Fgithub-issue-url","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FStudyResearchProjects%2Fgithub-issue-url/lists"}