{"id":19600051,"url":"https://github.com/nvim-neorg/norgopolis-client","last_synced_at":"2025-04-27T16:32:13.814Z","repository":{"id":179704980,"uuid":"664013342","full_name":"nvim-neorg/norgopolis-client","owner":"nvim-neorg","description":"A Rust client for Norgopolis.","archived":false,"fork":false,"pushed_at":"2024-02-21T11:53:39.000Z","size":29,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-04-05T01:32:11.571Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nvim-neorg.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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}},"created_at":"2023-07-08T17:22:25.000Z","updated_at":"2024-01-21T19:06:16.000Z","dependencies_parsed_at":null,"dependency_job_id":"094efea4-1f3a-4931-957b-bd7dd9ec7f25","html_url":"https://github.com/nvim-neorg/norgopolis-client","commit_stats":null,"previous_names":["nvim-neorg/norgopolis-client"],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nvim-neorg%2Fnorgopolis-client","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nvim-neorg%2Fnorgopolis-client/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nvim-neorg%2Fnorgopolis-client/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nvim-neorg%2Fnorgopolis-client/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nvim-neorg","download_url":"https://codeload.github.com/nvim-neorg/norgopolis-client/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251171566,"owners_count":21547112,"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":"2024-11-11T09:13:24.298Z","updated_at":"2025-04-27T16:32:13.475Z","avatar_url":"https://github.com/nvim-neorg.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Norgopolis Client\n\nFor information about Norgopolis, consult https://github.com/nvim-neorg/norgopolis.\n\nThis crate provides functionality to easily connect to a `norgopolis` instance and interact with\nits modules.\n\nThis Rust crate provides a simple and lightweight layer for communicating with norgopolis.\nTo establish a connection, use the `connect` function. By default Norgopolis runs on port `62020`:\n\n```rs\nuse norgopolis_client;\n\n#[tokio::main]\nasync fn main() {\n    let connection = norgopolis_client::connect(\u0026\"localhost\".into(), \u0026\"62020\".into())\n        .await\n        .expect(\"Unable to connect to server!\");\n\n    // Invokes a specific module's function without any parameters.\n    // The closure will be executed for every return value provided. Return values are streamed back\n    // over time, hence the `await`.\n    connection.invoke(\"module-name\", \"function-name\", None, |response: YourExpectedResponse| println!(\"{:#?}\", response))\n        .await\n        .unwrap();\n}\n```\n\nIf the `autostart-server` feature flag is enabled, this client will look for a binary called `norgopolis-server`\non the host system and will auto-execute it if a connection could not be initially established.\n\nThe server will be forked into a separate system process and will automatically shut down after 5 minutes\nof inactivity.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnvim-neorg%2Fnorgopolis-client","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnvim-neorg%2Fnorgopolis-client","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnvim-neorg%2Fnorgopolis-client/lists"}