{"id":23978508,"url":"https://github.com/simmsb/inkview-rs","last_synced_at":"2025-10-07T23:02:31.005Z","repository":{"id":214879980,"uuid":"737579009","full_name":"simmsb/inkview-rs","owner":"simmsb","description":"Rust bindings and a Slint backend for libinkview","archived":false,"fork":false,"pushed_at":"2024-06-29T13:04:43.000Z","size":392,"stargazers_count":6,"open_issues_count":1,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-21T02:15:54.821Z","etag":null,"topics":["inkview","pocketbook"],"latest_commit_sha":null,"homepage":"","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/simmsb.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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-12-31T15:48:30.000Z","updated_at":"2025-04-01T10:31:24.000Z","dependencies_parsed_at":null,"dependency_job_id":"0e550a5d-3d14-4576-a0f6-1ea055bfe98c","html_url":"https://github.com/simmsb/inkview-rs","commit_stats":null,"previous_names":["simmsb/inkview-rs"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/simmsb/inkview-rs","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simmsb%2Finkview-rs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simmsb%2Finkview-rs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simmsb%2Finkview-rs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simmsb%2Finkview-rs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/simmsb","download_url":"https://codeload.github.com/simmsb/inkview-rs/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simmsb%2Finkview-rs/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278861031,"owners_count":26058632,"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","status":"online","status_checked_at":"2025-10-07T02:00:06.786Z","response_time":59,"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":["inkview","pocketbook"],"created_at":"2025-01-07T08:18:33.470Z","updated_at":"2025-10-07T23:02:30.962Z","avatar_url":"https://github.com/simmsb.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Rust bindings for pocketbook E-Reader devices (inkview)\n\nThis repo contains bindings for libinkview, which is used by pocketbook devices.\n\nWe load libinkview dynamically rather than linking it so that users of this\ncrate don't have to setup the pocketbook SDK. Instead you just need to\ncross-compile to `armv7-unknown-linux-gnueabi.2.23` (`cargo zigbuild` works well\nfor this) and your binary will run on a pocketbook E-Reader.\n\nAlso in this repo is `inkview-slint` which provides a slint `Backend` that works\nwith inkview. And a demo application `inkview-slint-demo`.\n\n`inkview-eg` is a [embedded-graphics-core](https://crates.io/crates/embedded-graphics-core) driver for inkview-rs.\n\n## Prerequisites\n\n[Zig](https://ziglang.org/learn/getting-started/#installing-zig) must be installed.\n\nTo run recipes from the justfile, install the [just](https://github.com/casey/just) command runner.\n\nAvailable recipes can be listed with:\n\n```bash\njust --list\n```\n\nThen execute the following to install the `armv7-unknown-linux-gnueabi` rustc target and `cargo-zigbuild`:\n\n```bash\njust prerequisites\n```\n\n## Build\n\nTo build a binary crate located in this repo, run:\n\n```bash\njust pb_sdk_version=\u003csdk-version\u003e build-app \u003cname\u003e\n```\n\nTo build an example:\n\n```bash\njust pb_sdk_version=\u003csdk-version\u003e build-example \u003ccrate\u003e \u003cname\u003e\n```\n\n## Transfer a binary\n\nTo transfer a built binary to the device over USB, run the following,  \nassuming the device is connected and appears in path `/run/media/$USER/\u003cpb-device\u003e`:\n\nThe path argument is the relative path from `target/armv7-unknown-linux-gnueabi/\u003ccargo-profile\u003e`,  \nso for example: `examples/hello_world`\n\n```bash\njust pb_device=\u003cyour-device\u003e transfer-app-usb \u003cpath-to-binary\u003e \u003ctarget-name\u003e\n```\n\n## Generate bindings\n\nClone the SDK from here: https://github.com/pocketbook/SDK_6.3.0 and place it next to the `inkview-rs` folder.\n\nThere are currently bindings for the following SDK versions:\n- `v5.19` : accessed by switching to the `5.19` branch\n- `v6.5` : accessed by switching to the `6.5` branch\n- `v6.8` : accessed by downloading the archive from the releases of the repository\n\nExecute the following from the `inkview-rs` directory to regenerate the bindings.\n```bash\njust pb_sdk_version=\u003csdk-version\u003e generate-bindings\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimmsb%2Finkview-rs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsimmsb%2Finkview-rs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimmsb%2Finkview-rs/lists"}