{"id":20406309,"url":"https://github.com/techassi/rupl","last_synced_at":"2026-04-22T05:34:00.084Z","repository":{"id":118014240,"uuid":"584942248","full_name":"Techassi/rupl","owner":"Techassi","description":"A highly customizable REPL framework for Rust","archived":false,"fork":false,"pushed_at":"2023-03-12T15:50:18.000Z","size":56,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-05T02:20:15.652Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Techassi.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-01-03T23:05:48.000Z","updated_at":"2023-01-05T11:07:19.000Z","dependencies_parsed_at":null,"dependency_job_id":"ff06f2a6-416f-42d6-8d24-f2d9c549d3ae","html_url":"https://github.com/Techassi/rupl","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Techassi/rupl","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Techassi%2Frupl","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Techassi%2Frupl/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Techassi%2Frupl/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Techassi%2Frupl/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Techassi","download_url":"https://codeload.github.com/Techassi/rupl/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Techassi%2Frupl/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32122752,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-22T00:31:26.853Z","status":"online","status_checked_at":"2026-04-22T02:00:05.693Z","response_time":58,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":"2024-11-15T05:16:27.912Z","updated_at":"2026-04-22T05:34:00.068Z","avatar_url":"https://github.com/Techassi.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# rupl\n\nA highly customizable REPL framework for Rust.\n\n## Usage\n\n```rust\nuse rupl::{Arg, Command, FnContext, Repl, ReplResult};\n\nfn main() -\u003e ReplResult\u003c()\u003e {\n    let mut repl = Repl::new(());\n\n    repl.with_prompt(\"\u003e\u003e\")\n        .with_version(\"1.0.1-rc2\")\n        .with_welcome_message(\"This basic REPL says 'Hello, world!'\")\n        .with_exit_message(\"Exiting... Bye!\")\n        .with_builtins(true)\n        .ignore_empty_line(true)\n        .with_output_prompt(Some(\":\u003e \"))\n        .with_command(\n            Command::new(\"hello\", hello)\n                .with_arg(Arg::new(\"name\"))\n                .with_arg(Arg::new(\"end\")),\n        );\n\n    repl.run()\n}\n\nfn hello(ctx: FnContext\u003c()\u003e) -\u003e ReplResult\u003cOption\u003cString\u003e\u003e {\n    let name: String = ctx.args().get(\"name\")?;\n    let end: String = ctx.args().get(\"end\")?;\n\n    Ok(Some(format!(\"Hello, {}{}\", name, end)))\n}\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftechassi%2Frupl","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftechassi%2Frupl","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftechassi%2Frupl/lists"}