{"id":51061400,"url":"https://github.com/webarkit/webarkit-nft-forge-rs","last_synced_at":"2026-06-23T02:30:44.991Z","repository":{"id":364764859,"uuid":"1218233790","full_name":"webarkit/webarkit-nft-forge-rs","owner":"webarkit","description":"A Rust NFT marker generator for WebARKit and all WebAR","archived":false,"fork":false,"pushed_at":"2026-06-14T10:54:43.000Z","size":2888,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2026-06-14T12:23:51.263Z","etag":null,"topics":["artoolkit","nft","webar","webarkit","webarkitlibrs"],"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/webarkit.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-04-22T17:06:48.000Z","updated_at":"2026-06-14T10:51:09.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/webarkit/webarkit-nft-forge-rs","commit_stats":null,"previous_names":["webarkit/webarkit-nft-forge-rs"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/webarkit/webarkit-nft-forge-rs","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webarkit%2Fwebarkit-nft-forge-rs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webarkit%2Fwebarkit-nft-forge-rs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webarkit%2Fwebarkit-nft-forge-rs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webarkit%2Fwebarkit-nft-forge-rs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/webarkit","download_url":"https://codeload.github.com/webarkit/webarkit-nft-forge-rs/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webarkit%2Fwebarkit-nft-forge-rs/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34673437,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-23T02:00:07.161Z","response_time":65,"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":["artoolkit","nft","webar","webarkit","webarkitlibrs"],"created_at":"2026-06-23T02:30:43.353Z","updated_at":"2026-06-23T02:30:44.986Z","avatar_url":"https://github.com/webarkit.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🛠️ WebARKit NFT Forge - Rust Edition\n\nThis project is a **pure Rust implementation** (with optional legacy C++ FFI fallback) of a high-performance **NFT Marker Creator** for WebARKit. It provides powerful tools to generate Natural Feature Tracking (NFT) markers that can be used in augmented reality applications.\n\n✨ **Key Features:**\n- **Universal Compatibility**: Generates NFT markers from images and exports them in a format compatible with a wide range of AR frameworks based on **WebARKitLib**, **ARtoolKit5**, and **ARToolKitX** (including *ARnft*, *JsartoolkitNFT*, *Jsartoolkit5*, and *AR.js*).\n- **Core Reliability**: Built on top of the robust [`webarkitlib-rs`](https://github.com/webarkit/WebARKitLib-rs) crate for reliable core marker generation functionality.\n- **Friendly GUI**: Includes an intuitive graphical interface built with `eframe` and `egui_extras` for user-friendly interaction.\n- **Cross-Platform**: Designed to run seamlessly on **Windows**, **macOS**, and **Linux**.\n\n🚀 The package now ships both as:\n\n- 🖥️ A standalone **desktop application binary**\n- 📦 A **reusable Rust library**\n\n## 📋 Prerequisites\n\nBy default, the project compiles and runs in **pure Rust** and only requires:\n\n- 🦀 **Rust**: Latest stable version.\n\nIf you explicitly want to use the legacy C++ backend (via the `ffi-backend` feature), you will also need:\n- ⚙️ **C++ Toolchain**: A C++17 compatible compiler (MSVC on Windows, Clang/GCC on macOS/Linux).\n- 🛠️ **CMake**: Required for building the FFI bindings.\n\n## 💻 Installation\n\n### 🔨 Build instructions\n\n1. Clone the repository:\n   ```bash\n   git clone https://github.com/webarkit/webarkit-nft-forge-rs.git\n   cd webarkit-nft-forge-rs\n   ```\n\n2. Build the project using Cargo. By default, this builds the **pure Rust** KPM feature extractor:\n   ```bash\n   cargo build --release\n   ```\n\n   *Legacy FFI Backend:* If you wish to build with the C++ FFI backend instead:\n   ```bash\n   cargo build --release --features ffi-backend\n   ```\n\n   *Optional features:* You can also enable SIMD optimizations and logging helpers:\n   ```bash\n   cargo build --release --features simd,log-helpers\n   ```\n\n3. Run the application:\n   ```bash\n   cargo run --release\n   ```\n   Or with the legacy FFI backend:\n   ```bash\n   cargo run --release --features ffi-backend\n   ```\n\n## 🕹️ Usage\n\n### 🖼️ GUI Application\n\nThe application provides a user-friendly interface for generating NFT markers:\n\n1. 🖼️ **Select Image**: Click \"📁 Select Image\" to choose a source JPG or PNG file.\n2. 📁 **Output Directory**: Optionally select where to save the markers. Defaults to the current directory.\n3. 🏷️ **Marker Name**: Provide a semantic name for your marker files.\n4. 🎚️ **DPI Setting**: Use the slider to set the source image DPI (default 72, range 72-600).\n5. 🚀 **Generate**: Click \"🚀 Generate Marker\". The process runs in the background, and you can monitor progress via the status bar.\n\nThe tool generates three files per marker:\n- 📄 `.iset`: Image set metadata.\n- 📉 `.fset`: Feature set data.\n- 🧩 `.fset3`: KPM/FREAK feature data (required for NFT).\n\n### 📚 Library\n\nYou can also use the core functionality as a library in your own Rust projects:\n\n```rust\nuse std::sync::Arc;\nuse std::sync::atomic::AtomicU32;\nuse webarkit_nft_forge_rs::generate_nft_marker;\n\nfn main() -\u003e Result\u003c(), Box\u003cdyn std::error::Error\u003e\u003e {\n    let image_data = std::fs::read(\"input.jpg\")?;\n    let output_dir = std::path::Path::new(\"./output\");\n    let progress = Arc::new(AtomicU32::new(0));\n\n    generate_nft_marker(\n        \u0026image_data,\n        1920, 1080, 3, // width, height, channels\n        output_dir,\n        \"my_marker\",\n        72.0, // DPI\n        Some(progress)\n    )?;\n    \n    Ok(())\n}\n```\n\n## ⚖️ License\n\nThis project is licensed under the [LGPL-3.0-or-later](LICENSE).","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwebarkit%2Fwebarkit-nft-forge-rs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwebarkit%2Fwebarkit-nft-forge-rs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwebarkit%2Fwebarkit-nft-forge-rs/lists"}