{"id":23461348,"url":"https://github.com/hhromic/lirc-midi-node","last_synced_at":"2025-08-12T06:42:02.871Z","repository":{"id":21495982,"uuid":"24814900","full_name":"hhromic/lirc-midi-node","owner":"hhromic","description":"A very simple LIRC to MIDI bridge program for Node.js","archived":false,"fork":false,"pushed_at":"2015-04-13T13:32:09.000Z","size":184,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-04-29T07:03:19.157Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hhromic.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}},"created_at":"2014-10-05T12:06:10.000Z","updated_at":"2018-05-01T13:31:06.000Z","dependencies_parsed_at":"2022-08-21T01:40:15.287Z","dependency_job_id":null,"html_url":"https://github.com/hhromic/lirc-midi-node","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hhromic%2Flirc-midi-node","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hhromic%2Flirc-midi-node/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hhromic%2Flirc-midi-node/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hhromic%2Flirc-midi-node/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hhromic","download_url":"https://codeload.github.com/hhromic/lirc-midi-node/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248514445,"owners_count":21116963,"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":[],"created_at":"2024-12-24T07:34:38.927Z","updated_at":"2025-04-12T04:21:47.546Z","avatar_url":"https://github.com/hhromic.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"lirc-midi-node\n==============\n\nA very simple LIRC to MIDI bridge program for Node.JS.\n\nInstallation\n------------\n\nTo install, use ```npm```:\n\n```shell\n$ npm install -g lirc-midi-node\n```\n\nUsage\n-----\n\nThis simple program maps LIRC remote/buttons into MIDI messages that are later sent to any compatible MIDI output port. The program accepts two arguments:\n\n```shell\n$ lircmidi -l \u003clircdSocketPath\u003e -o \u003cmidiOutputPort\u003e -m \u003cmappingsConfig\u003e\n```\n\n* ```lircdSocketPath``` is the path to the UNIX socket that LIRCd is writing to.\n* ```midiOutputPort``` is the MIDI output port index to use for MIDI messages output.\n* ```mappingsConfig``` is the IR remotes to MIDI messages mappings configuration file in JSON format.\n\n**Example:**\n\n```shell\n$ lircmidi -l /var/run/lirc/lircd -o 0 -m examples/mappings.json\n[2015-04-08 02:31:14.099] [INFO] main - opened MIDI output: Midi Through 14:0\n[2015-04-08 02:31:14.297] [INFO] main - connected to LIRCd: /var/run/lirc/lircd\n```\n\nIR remotes to MIDI messages Mappings Configuration\n--------------------------------------------------\n\nThe LIRC remotes/buttons to MIDI messages mappings must be configured in a JSON file with the following format (see the included ```examples/mappings.json``` example file):\n\n```json\n{\n  \"REMOTE1_NAME\": {\n    \"KEY1_NAME\": [144, 60, 127],\n    \"KEY2_NAME\": [193, 5]\n  },\n  \"REMOTE2_NAME\": {\n    \"KEY1_NAME\": [145, 63, 64]\n  }\n}\n```\n\nAll the remote and button names used in this file must be configured in the ```lircd.conf``` file of LIRC. MIDI messages are represented using variable-length arrays of bytes to send.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhhromic%2Flirc-midi-node","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhhromic%2Flirc-midi-node","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhhromic%2Flirc-midi-node/lists"}