{"id":28332259,"url":"https://github.com/ogrew/oscl","last_synced_at":"2026-01-28T15:31:28.211Z","repository":{"id":293493973,"uuid":"979265675","full_name":"ogrew/oscl","owner":"ogrew","description":"minimal OSC toolkit written in Common Lisp","archived":false,"fork":false,"pushed_at":"2025-06-04T08:22:42.000Z","size":103,"stargazers_count":8,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-19T06:38:19.364Z","etag":null,"topics":["audio-tools","cli","creative-coding","network","osc","real-time"],"latest_commit_sha":null,"homepage":"","language":"Common Lisp","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/ogrew.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}},"created_at":"2025-05-07T08:47:05.000Z","updated_at":"2025-06-04T08:22:41.000Z","dependencies_parsed_at":"2025-06-04T09:42:58.745Z","dependency_job_id":null,"html_url":"https://github.com/ogrew/oscl","commit_stats":null,"previous_names":["ogrew/oscl"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/ogrew/oscl","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ogrew%2Foscl","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ogrew%2Foscl/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ogrew%2Foscl/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ogrew%2Foscl/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ogrew","download_url":"https://codeload.github.com/ogrew/oscl/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ogrew%2Foscl/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28846341,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-28T15:15:36.453Z","status":"ssl_error","status_checked_at":"2026-01-28T15:15:13.020Z","response_time":57,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["audio-tools","cli","creative-coding","network","osc","real-time"],"created_at":"2025-05-26T19:45:00.029Z","updated_at":"2026-01-28T15:31:28.205Z","avatar_url":"https://github.com/ogrew.png","language":"Common Lisp","readme":"# oscl\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://github.com/user-attachments/assets/7483f06c-d49a-4041-9fab-2e84f928bca1\" /\u003e\n\u003c/p\u003e\n\n## Overview\n\n`oscl` is a minimal command-line toolkit for working with [Open Sound Control (OSC)](https://opensoundcontrol.stanford.edu), written in [Common Lisp](https://common-lisp.net) for both educational and practical use.  \nIt allows for easy sending and receiving of OSC messages from the terminal, making it useful for scripting, testing, and quick integration with OSC-enabled systems.\n\nOriginally created as a Lisp learning project, `oscl` has grown into a practical tool for controlling and monitoring OSC-based workflows — especially in creative coding, live performance, and interactive installations.\n\n## Usage Examples\n\n### `send` command\n\n```bash\n\u003e oscl send \\\n  --host 127.0.0.1 \\\n  --port 7000 \\\n  --address \"/test\" \\\n  --args \"1 2.0 hello\" \\\n  --interval 1000\n```\n\n- `--host`, `--port`, and `--address` are required.\n- `--args` and `--interval` are optional.\n- `--interval` is in milliseconds. Press `Ctrl+C` to stop repeated sending.\n- `--host localhost` will be automatically converted to `--host 127.0.0.1`.\n\nYou can also send messages from a JSON file:\n\n```bash\n\u003e oscl send \\\n  --host localhost\n  --port 9010\n  --from data.json\n  --interval 1000\n```\n\n- `--from` takes a path to a JSON file describing a list of OSC messages.\n- `--interval` controls the delay (in ms) between messages.\n- When using `--from`, `--address` and `--args` must not be used together.\n\n### `recv` command\n\n```bash\n\u003e oscl recv \\\n  --port 7000 \\\n  --filter \"point\"\n```\n\n- `--port` is optional. Default is `9000`.\n- Use `--filter \u003cstring\u003e` to show only messages whose address includes the string.\n  - Prefix with `-` to exclude matching addresses: e.g. `--filter -test`\n- Use `--raw` to display the first 64 bytes of raw data in hexadecimal.\n- Press `Ctrl+C` to exit cleanly.\n\n### `bridge` command\n\n```bash\n\u003e oscl bridge \\\n  --in-host localhost \\\n  --in-port 7001 \\\n  --out-host 127.0.0.4 \\\n  --out-port 7010 \\\n  --filter \"light\"\n```\n\n- Receives OSC messages on `--in-host / --in-port` and forwards them to `--out-host / --out-port`.\n- `--filter \u003cstring\u003e` lets you forward only messages whose address includes the string.\n- Use `--filter -\u003cstring\u003e` to exclude matching messages.\n- `--in-host` localhost is automatically converted to `127.0.0.1`.\n- Press `Ctrl+C` to stop bridging.\n\n## Install\n\nThe easiest way to install `oscl` is now via Homebrew! 🍻\n\n\u003e **Note:** oscl currently supports **Apple Silicon (arm64) Macs** only.\n\n### Install with Homebrew (Recommended)\n\nStep 1. Tap the repository:\n\n```bash\n\u003e brew tap ogrew/oscl\n```\n\nStep 2. Install oscl:\n\n```bash\n\u003e brew install oscl\n```\n\nStep 3. Verify installation:\n\n```bash\n\u003e oscl --help\n```\n\nThat's it! Now you can use `oscl` from anywhere.\n\n### Build from source (Alternative)\n\nIf you prefer building manually or are not using Homebrew, you can build oscl from source.\n\nYou will need [Roswell](https://github.com/roswell/roswell) and [SBCL](http://www.sbcl.org/) installed.\n\n```bash\n\u003e git clone https://github.com/ogrew/oscl.git\n\u003e cd oscl\n\u003e ros build oscl.ros\n```\n\nMove the generated binary into a directory included in your `$PATH` (e.g., `/usr/local/bin`):\n\n```bash\n\u003e sudo mv oscl /usr/local/bin/\n\u003e sudo chmod +x /usr/local/bin/oscl\n```\n\nThen you can use it like this:\n\n```bash\n\u003e oscl --help\n```\n\n## TODO\n\n- [ ] Support for `#bundle` OSC message type in `recv`\n- [ ] JSON output mode in `recv`\n- [ ] `record` mode: log incoming OSC messages to a file (e.g. as JSON or plain text)\n- [ ] `play` mode: replay recorded OSC messages to a target host/port with timing preserved\n- [x] `bridge` mode: forward OSC messages from one address/port to another, with optional filtering\n\n## Notes\n\n- This tool uses SBCL-specific system calls such as `sb-sys:enable-interrupt`.  \n  Therefore, it may not work correctly with other Lisp implementations.\n\n## License\n\n[MIT License](https://github.com/ogrew/oscl/blob/main/LICENSE)\n","funding_links":[],"categories":["Applications"],"sub_categories":["Audio"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fogrew%2Foscl","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fogrew%2Foscl","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fogrew%2Foscl/lists"}