{"id":15394123,"url":"https://github.com/mattnite/zig-libssh2","last_synced_at":"2025-04-15T23:52:51.287Z","repository":{"id":45193114,"uuid":"439398302","full_name":"mattnite/zig-libssh2","owner":"mattnite","description":"compile libssh2 in your build.zig","archived":false,"fork":false,"pushed_at":"2024-04-10T00:00:48.000Z","size":19,"stargazers_count":7,"open_issues_count":3,"forks_count":5,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-29T03:02:24.678Z","etag":null,"topics":["build","ssh","zig","zig-package"],"latest_commit_sha":null,"homepage":"","language":"Zig","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/mattnite.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":"2021-12-17T16:42:42.000Z","updated_at":"2024-12-31T03:18:37.000Z","dependencies_parsed_at":"2024-10-19T02:04:28.903Z","dependency_job_id":"961095ff-c241-490e-ade0-f259c7dbb0a1","html_url":"https://github.com/mattnite/zig-libssh2","commit_stats":{"total_commits":15,"total_committers":4,"mean_commits":3.75,"dds":"0.19999999999999996","last_synced_commit":"2af221726d87ecaa9680ecb60b48d40563fc66cc"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mattnite%2Fzig-libssh2","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mattnite%2Fzig-libssh2/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mattnite%2Fzig-libssh2/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mattnite%2Fzig-libssh2/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mattnite","download_url":"https://codeload.github.com/mattnite/zig-libssh2/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249173061,"owners_count":21224481,"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":["build","ssh","zig","zig-package"],"created_at":"2024-10-01T15:21:58.864Z","updated_at":"2025-04-15T23:52:51.251Z","avatar_url":"https://github.com/mattnite.png","language":"Zig","funding_links":["https://github.com/sponsors/mattnite"],"categories":[],"sub_categories":[],"readme":"# libssh2 build package\n\n[![ci](https://github.com/mattnite/zig-libssh2/actions/workflows/ci.yml/badge.svg)](https://github.com/mattnite/zig-libssh2/actions/workflows/ci.yml)\n\n## Like this project?\n\nIf you like this project or other works of mine, please consider [donating to or sponsoring me](https://github.com/sponsors/mattnite) on Github [:heart:](https://github.com/sponsors/mattnite)\n\n## How to use\n\nThis repo contains code for your `build.zig` that can statically compile libssh2.\n\n### Link to your application\n\nIn order to statically link libssh2 into your application:\n\n```zig\nconst libssh2 = @import(\"path/to/libssh2.zig\");\n\npub fn build(b: *std.build.Builder) void {\n    // ...\n\n    const lib = libssh2.create(b, target, optimize);\n\n    const exe = b.addExecutable(.{\n        .name = \"my-program\",\n        .root_source_file = .{ .path = \"src/main.zig\" },\n    });\n    lib.link(exe);\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmattnite%2Fzig-libssh2","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmattnite%2Fzig-libssh2","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmattnite%2Fzig-libssh2/lists"}