{"id":20570113,"url":"https://github.com/digibib/go-feig","last_synced_at":"2025-05-09T19:30:43.508Z","repository":{"id":140037124,"uuid":"98978566","full_name":"digibib/go-feig","owner":"digibib","description":null,"archived":true,"fork":false,"pushed_at":"2024-10-08T09:49:02.000Z","size":75,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":10,"default_branch":"master","last_synced_at":"2025-03-06T09:49:15.338Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","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/digibib.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG","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}},"created_at":"2017-08-01T08:32:06.000Z","updated_at":"2024-10-30T11:44:42.000Z","dependencies_parsed_at":"2023-11-15T13:49:35.498Z","dependency_job_id":null,"html_url":"https://github.com/digibib/go-feig","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/digibib%2Fgo-feig","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/digibib%2Fgo-feig/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/digibib%2Fgo-feig/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/digibib%2Fgo-feig/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/digibib","download_url":"https://codeload.github.com/digibib/go-feig/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253312073,"owners_count":21888566,"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-11-16T05:11:33.102Z","updated_at":"2025-05-09T19:30:43.222Z","avatar_url":"https://github.com/digibib.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Feig RFID integration\n\nFeig RFID hardware integration and API for simple implentation and control.\n\nThis software is released under MIT license from Deichman Public Library.\n\nShort description: This is a service that exposes a simple API to communication with FEIG hardware, either connected by USB, Serial or TCP.\nIt encompasses the operations to read and write tags and AFI alarm on ISO15693 transponders using a FEIG device. It also wraps an HTTP eventsource\nendpoint for easy use by any browser app. In addition it allows for embedding any HTTP web page if included under ``./cmd/html` folder.\n\n## Installation and Requirements\n\ngo version 1.19 or later is required, as well as `make` and FEIG SDK drivers and header files for the expected system to run on (windows / linux 64bit or Raspberry PI).\nHeader files `feusb.h` etc. need to be placed under `drivers` or in system header folders.\nDrivers need to be included under `drivers/\u003carchitecture\u003e` or in system driver folders.\n\nTo build, e.g. for windows: run `make build_windows`\n\n## Usage\n\n```\n  -debug\n    \tturn on verbose logging\n  -port string\n    \tport of http API (default \":1666\")\n  -library string\n        the ISIL number of the library (exclusive country code)\n  -wake\n    \tKeep inventory state and keep all transponders awake (default true)\n  -axeHost\n        host ip/name of a TCP connected Feig Axe in same network\n  -axePort\n        port of a TCP connected Feig Axe in same network\n```\n\nApplication fires up a http server and mounts optional web content from ./html folder\n\n**API routes:**\n\n```\n    /.status \tserver status endpoint\n    /events/    eventsource subscription\n\n    /scan    \tscan inventory once\n    /start \t\tstart scan loop (send to any connected EventSource client)\n    /stop \t\tstop scan loop\n    /write \t\twrite to tags in range (param: barcode)\n    /writetagbarcode  write to a single tag in current inventory (params: tagid, barcode)\n    /alarmOff \tturn off AFI alarm on all tags in range\n    /alarmOn \tturn on AFI alarm on all tags in range\n```\n\nBasic flow is:\n\n* inventory is fetched and kept in memory either by polling `/scan` or by activating scan loop with `/start`\n* barcodes can be used to fetch and present information, e.g. from spore\n* at any time a current inventory can be\n    * rewritten: all tags in range are written to using sequence number and number of tags (`/write?barcode=1234567890`)\n    * desensitized: (`/alarmOff`)\n    * sensitized: (`/alarmOn`)\n* `/.status` will at any time display uptime status, current inventory and read success/failures\n\n## Documentation\n\nRead more in ./docs folder\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdigibib%2Fgo-feig","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdigibib%2Fgo-feig","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdigibib%2Fgo-feig/lists"}