{"id":26600769,"url":"https://github.com/nimaudio/nim-clap","last_synced_at":"2025-04-09T16:23:49.268Z","repository":{"id":253576188,"uuid":"801354892","full_name":"NimAudio/nim-clap","owner":"NimAudio","description":"clap plugin api in nim","archived":false,"fork":false,"pushed_at":"2024-10-09T17:34:38.000Z","size":218,"stargazers_count":13,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-23T18:47:35.143Z","etag":null,"topics":["audio","audio-plugin","clap","clap-plugin","nim","nim-lang","plugin"],"latest_commit_sha":null,"homepage":"","language":"Nim","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/NimAudio.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","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":"2024-05-16T04:28:47.000Z","updated_at":"2025-03-23T10:16:27.000Z","dependencies_parsed_at":null,"dependency_job_id":"ab7cdc4d-c72c-4dbc-94d6-e88395828dea","html_url":"https://github.com/NimAudio/nim-clap","commit_stats":null,"previous_names":["nimaudio/nim-clap"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NimAudio%2Fnim-clap","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NimAudio%2Fnim-clap/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NimAudio%2Fnim-clap/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NimAudio%2Fnim-clap/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/NimAudio","download_url":"https://codeload.github.com/NimAudio/nim-clap/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248065979,"owners_count":21042012,"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":["audio","audio-plugin","clap","clap-plugin","nim","nim-lang","plugin"],"created_at":"2025-03-23T18:35:00.228Z","updated_at":"2025-04-09T16:23:49.262Z","avatar_url":"https://github.com/NimAudio.png","language":"Nim","funding_links":[],"categories":[],"sub_categories":[],"readme":"# nim-clap\nclap plugin api in nim. currently unfinished but includes all the basics\n\ninstall with `nimble install clap`\n\n**i have moved the plugin framework which abstracts over the raw api to [a new repo, offbeat](https://github.com/NimAudio/offbeat).**\n\n---\n\ntested with version 1.2, hash df8f16c. later versions may not work, try this version if you have any issues\n\nhas futhark set up but commented out. to use, put clap repo files in `clap-main` folder, not as a folder in that folder\n\n### supported extensions:\n- audio ports\n- note ports\n- parameters\n- latency\n- logging\n- state\n- gui\n- timers\n\n### known missing api sections (PRs welcome):\n- transport events\n- thread checking (basically empty file)\n- definitely others\n\n### building\nto build, run the following command\n```\nnim compile --out:\"example\" --app:lib --threads:on \".../nim_clap/example.nim\"\n```\nor for debugging\n```\nnim compile --verbosity:1 --hints:off --out:\"example\" --app:lib --forceBuild\n--threads:on --lineDir:on --lineTrace:on --debuginfo:on \".../nim_clap/example.nim\"\n```\n\n#### mac\nthen copy the binary (and .dSYM if debugging) into the provided example.clap bundle for macos. if you change the filename, you will need to change the bundle plist to have the updated name.\n\n#### other platforms\ni am not sure what is needed for windows or linux, but reaper at least doesn't care if it is bundled or not. i simply copied and modified the surge bundle.\n\n### documentation\nto view existing generated documentation\n- run `python3 -m http.server 7029 --directory htmldocs`\n- visit http://localhost:7029/clap.html\n\nto generate documentation\n- run `nim doc --project --index:on --outdir:htmldocs src/clap.nim`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnimaudio%2Fnim-clap","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnimaudio%2Fnim-clap","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnimaudio%2Fnim-clap/lists"}