nimssh2

Nimssh2 is a Nim wrapper for the libssh2 library

Pure Nim score 15/100 · last commit 2018-11-07 · 1 stars · tests present · no docs generated

Summary

Latest Version Unknown
License MIT
CI Status Failing
Stars 1
Forks 0
Open Issues 0
Last Commit 2018-11-07
Downloads 0
Last Indexed 2026-07-21 05:25

Installation

nimble install nimssh2
choosenim install nimssh2
git clone https://github.com/genotrance/nimssh2

OS Compatibility

Platform Linux macOS Windows FreeBSD OpenBSD NetBSD Android iOS WASM Embedded
nimssh2 - - - - - - -

Source

Repository https://github.com/genotrance/nimssh2
Homepage https://github.com/genotrance/nimssh2
Registry Source github

README

Nimssh2 is a Nim wrapper for the libssh2 library.

Nimssh2 is distributed as a Nimble package and depends on nimgen and c2nim to generate the wrappers. The libssh2 source code is downloaded using Git so having git in the path is required.

Installation

Nimssh2 can be installed via Nimble:

> nimble install nimssh2

This will download, wrap and install nimssh2 in the standard Nimble package location, typically ~/.nimble. Once installed, it can be imported into any Nim program.

Usage

Module documentation can be found here.

import nimssh2/libssh2

echo libssh2_init(0)

Credits

Nimssh2 wraps the libssh2 source code and all licensing terms of libssh2 apply to the usage of this package.

Credits go out to c2nim as well without which this package would be greatly limited in its abilities.

Feedback

Nimssh2 is a work in progress and any feedback or suggestions are welcome. It is hosted on GitHub with an MIT license so issues, forks and PRs are most appreciated.