{"id":27055508,"url":"https://github.com/duesee/wizard","last_synced_at":"2025-04-05T09:27:56.836Z","repository":{"id":205140287,"uuid":"713460112","full_name":"duesee/wizard","owner":"duesee","description":"A patch for a bad interface","archived":false,"fork":false,"pushed_at":"2023-11-04T00:31:44.000Z","size":12,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2023-11-04T01:37:58.839Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/duesee.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2023-11-02T15:06:48.000Z","updated_at":"2023-11-02T18:03:33.000Z","dependencies_parsed_at":null,"dependency_job_id":"30456de3-a634-4f31-b9a8-630887a73ee3","html_url":"https://github.com/duesee/wizard","commit_stats":null,"previous_names":["duesee/wizard"],"tags_count":0,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/duesee%2Fwizard","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/duesee%2Fwizard/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/duesee%2Fwizard/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/duesee%2Fwizard/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/duesee","download_url":"https://codeload.github.com/duesee/wizard/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247315981,"owners_count":20919180,"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":[],"created_at":"2025-04-05T09:27:56.204Z","updated_at":"2025-04-05T09:27:56.785Z","avatar_url":"https://github.com/duesee.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Wizard\n\nThe following code ...\n\n```rust\n/// Config\n#[derive(Debug, WizardDerive)]\nstruct Config {\n    /// Name\n    name: String,\n    /// IPv4\n    ipv4: std::net::Ipv4Addr,\n    /// Port\n    port: u16,\n    /// Transport Encryption\n    encryption: Encryption,\n}\n\n/// Encryption\n#[derive(Debug, WizardDerive)]\nenum Encryption {\n    /// No encryption (insecure)\n    Insecure,\n    /// TLS encryption\n    Tls,\n}\n\nfn main() {\n    let config: Config = Wizard::prompt(\"Config\");\n\n    println!(\"\\nThanks! Here is your value: {config:?}\");\n}\n```\n\n... provides this terminal interaction ...\n\n[![demo](https://asciinema.org/a/e2jzYWC3FY0NC5z504iwveTV4.svg)](https://asciinema.org/a/e2jzYWC3FY0NC5z504iwveTV4)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fduesee%2Fwizard","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fduesee%2Fwizard","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fduesee%2Fwizard/lists"}