{"id":51181407,"url":"https://github.com/alternative-intelligence-cp/napit","last_synced_at":"2026-06-27T07:03:10.189Z","repository":{"id":365535759,"uuid":"1272539926","full_name":"alternative-intelligence-cp/napit","owner":"alternative-intelligence-cp","description":"An offline-first, Git-native API client built in Nitpick.","archived":false,"fork":false,"pushed_at":"2026-06-17T18:51:32.000Z","size":21,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-06-17T20:22:04.327Z","etag":null,"topics":["api-client","cli","developer-tools","http","nitpick"],"latest_commit_sha":null,"homepage":null,"language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/alternative-intelligence-cp.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-06-17T17:54:18.000Z","updated_at":"2026-06-17T18:51:37.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/alternative-intelligence-cp/napit","commit_stats":null,"previous_names":["alternative-intelligence-cp/napit"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/alternative-intelligence-cp/napit","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alternative-intelligence-cp%2Fnapit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alternative-intelligence-cp%2Fnapit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alternative-intelligence-cp%2Fnapit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alternative-intelligence-cp%2Fnapit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/alternative-intelligence-cp","download_url":"https://codeload.github.com/alternative-intelligence-cp/napit/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alternative-intelligence-cp%2Fnapit/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34844350,"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-27T02:00:06.362Z","response_time":126,"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":["api-client","cli","developer-tools","http","nitpick"],"created_at":"2026-06-27T07:03:06.606Z","updated_at":"2026-06-27T07:03:10.177Z","avatar_url":"https://github.com/alternative-intelligence-cp.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Napit — Nitpick API Tool\n\nNapit is a powerful, cross-platform desktop API client application designed to test and explore HTTP and GraphQL APIs with an offline-first mindset.\n\nIt utilizes `nitpick-node` as a native bridge, offloading core HTTP request handling, parsing, and execution to the native Nitpick backend (`nitpick-api`), while providing a modern, dynamic web frontend via Electron.\n\n## Features\n\n- **Markdown-based Request Editor**: Write requests rapidly using a markdown-like syntax with full syntax highlighting.\n- **GraphQL Introspection \u0026 Auto-complete**: Auto-detects GraphQL queries, fetches the schema directly from your endpoint, and provides an interactive autocomplete dropdown menu for Types, Fields, and Arguments.\n- **File-based Workspaces**: Save your requests directly as files. Workspaces are local directories, making version control (Git) straightforward.\n- **Environment Variables**: Define and seamlessly switch between multiple environments. Inject variables into requests using `{{variable}}` syntax.\n- **Autonomous AI Agent Harness**: A built-in AI Assistant (powered locally by Ollama `llama3.1`) lives in your sidebar. It can analyze your workspace, draft API requests, and even execute local terminal commands to help test your servers.\n- **Request History**: Automatically caches your last 50 requests to `napit.history.json` and presents them in an interactive Drawer for easy reloading.\n- **Code Generation**: Instantly generate code snippets for your API requests in Python, Go, Node.js, and cURL.\n\n## Architecture\n\nNapit is built with:\n- **Frontend**: Electron (HTML/CSS/Vanilla JS)\n- **Backend**: Node.js\n- **Native Bridge**: `nitpick-node` (C++ Addon)\n- **Core Library**: `nitpick-api` (Written in Nitpick Lang)\n\n## Installation \u0026 Build Instructions\n\nEnsure you have [Node.js](https://nodejs.org/) installed, as well as the native `npkc` compiler (version `0.61.x` or later) if building from source.\n\n```bash\n# Clone the repository\ngit clone https://github.com/alternative-intelligence-cp/napit.git\ncd napit\n\n# Build the native backend core with strict checking\nnpkc -picky src/main.npk\n\n# Install Node dependencies\nnpm install\n\n# Start the application\nnpm start\n```\n\n## Usage Guide\n\n1. **Open a Workspace**: Click **Open Workspace** in the top left. Select any folder on your machine. Napit will list all text files inside.\n2. **Create Requests**: Create a file (e.g. `test.http`) and write your request inside the markdown block:\n   ```http\n   GET https://api.example.com/data\n   Accept: application/json\n   ```\n3. **Environments**: Click the **Env** badge at the top to open the Environment Manager. Create variables and reference them in your requests with `{{my_var}}`.\n4. **GraphQL**: For a GraphQL endpoint, type `query { ... }` and watch the **Fetch Schema** button appear. Click it to download the schema for immediate autocomplete.\n5. **AI Assistant**: Click the **AI** badge in the sidebar to chat with your local AI agent for request drafting or debugging.\n\n## License\nAGPL v3\n\n\n---\n\n## Nitpick Ecosystem\n\nThis repository is part of the [Nitpick](https://github.com/alternative-intelligence-cp/nitpick) ecosystem. \n- 🌍 **[Nitpick-Lang Hub](https://github.com/alternative-intelligence-cp/nitpick-lang)** — The central hub connecting all Nitpick projects.\n- 📖 **[Official Web Documentation](https://ai-liberation-platform.org/nitpick/docs/)** — Guides, references, and language specifications.\n- 🛠️ **[Nitpick Compiler](https://github.com/alternative-intelligence-cp/nitpick)** — The core language and toolchain.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falternative-intelligence-cp%2Fnapit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falternative-intelligence-cp%2Fnapit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falternative-intelligence-cp%2Fnapit/lists"}