{"id":23459683,"url":"https://github.com/joeweiss/birdnetlib-listener-device","last_synced_at":"2026-02-25T08:38:52.625Z","repository":{"id":58150449,"uuid":"527955310","full_name":"joeweiss/birdnetlib-listener-device","owner":"joeweiss","description":"A docker-based Django application utilizing birdnetlib","archived":false,"fork":false,"pushed_at":"2025-11-20T15:24:46.000Z","size":63824,"stargazers_count":0,"open_issues_count":6,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-11-20T17:22:36.921Z","etag":null,"topics":["birdnet","birdsong","django","tensorflow"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/joeweiss.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":"2022-08-23T11:16:35.000Z","updated_at":"2023-06-19T00:50:10.000Z","dependencies_parsed_at":"2024-05-29T13:42:11.744Z","dependency_job_id":null,"html_url":"https://github.com/joeweiss/birdnetlib-listener-device","commit_stats":{"total_commits":34,"total_committers":2,"mean_commits":17.0,"dds":"0.17647058823529416","last_synced_commit":"bf3d7e590ca414977481e3df761ffc5f7202bcc0"},"previous_names":["joeweiss/birdnetlib-listener-device"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/joeweiss/birdnetlib-listener-device","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joeweiss%2Fbirdnetlib-listener-device","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joeweiss%2Fbirdnetlib-listener-device/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joeweiss%2Fbirdnetlib-listener-device/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joeweiss%2Fbirdnetlib-listener-device/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/joeweiss","download_url":"https://codeload.github.com/joeweiss/birdnetlib-listener-device/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joeweiss%2Fbirdnetlib-listener-device/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29815025,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-25T05:36:42.804Z","status":"ssl_error","status_checked_at":"2026-02-25T05:36:31.934Z","response_time":61,"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":["birdnet","birdsong","django","tensorflow"],"created_at":"2024-12-24T06:16:25.880Z","updated_at":"2026-02-25T08:38:52.589Z","avatar_url":"https://github.com/joeweiss.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# birdnetlib-listener\n\n## Running in Docker\n\n### Raspberry Pi 4 - 64bit\n\nBring it up and run:\n`docker compose -f docker-compose.rpi.yml up -d --build`\n\nTo run the watcher/analyzer:\n`docker compose -f docker-compose.rpi.yml exec web python manage.py runscript analyze`\n\nTo run the Django test cases:\n`docker compose -f docker-compose.rpi.yml exec web python manage.py test`\n\nTo take it down:\n`docker compose -f docker-compose.rpi.yml down`\n\nTo run bash within the docker instance:\n`docker compose -f docker-compose.rpi.yml exec web bash`\n\nTo rebuild the image for a reason (e.g. after pip change)\n`docker compose -f docker-compose.rpi.yml down; docker compose -f docker-compose.rpi.yml build --no-cache`\n\n### MacOS M1\n\nBring it up and run:\n`docker compose -f docker-compose.macm1.yml up -d --build`\n\nTo run the watcher/analyzer:\n`docker compose -f docker-compose.macm1.yml exec web python manage.py runscript analyze`\n\nTo run the Django test cases:\n`docker compose -f docker-compose.macm1.yml exec web python manage.py test`\n\nTo take it down:\n`docker compose -f docker-compose.macm1.yml down`\n\nTo run bash within the docker instance:\n`docker compose -f docker-compose.macm1.yml exec web bash`\n\nTo rebuild the image for a reason (e.g. after pip change)\n`docker compose -f docker-compose.macm1.yml down; docker compose -f docker-compose.macm1.yml build --no-cache`\n\n### MacOS Intel\n\nBring it up and run:\n`docker compose -f docker-compose.macintel.yml up -d --build`\n\nTo run the watcher/analyzer:\n`docker compose -f docker-compose.macintel.yml exec web python manage.py runscript analyze`\n\nTo run the Django test cases:\n`docker compose -f docker-compose.macintel.yml exec web python manage.py test`\n\nTo take it down:\n`docker compose -f docker-compose.macintel.yml down`\n\nTo run bash within the docker instance:\n`docker compose -f docker-compose.macintel.yml exec web bash`\n\nTo rebuild the image for a reason (e.g. after pip change)\n`docker compose -f docker-compose.macintel.yml down; docker compose -f docker-compose.macintel.yml build --no-cache`\n\n## Recording audio\n\nThe docker container itself does not record audio to the `audio/inbox` directory. See below for basic examples for recording 30-second properly-dated WAV files to audio/inbox.\n\n### Raspberry Pi 4\n\nPrerequisites: arecord\n\nTo record an audio stream to \"audio/inbox\", run the following.\n`python script_examples/audio_recording_rpi.py`\n\n### MacOS (M1 or Intel)\n\nPrerequisites: sox, pysox\n\nTo record an audio stream to \"audio/inbox\", run the following.\n`python script_examples/audio_recording_macos.py`\n\n## Putting it all together\n\nIn order to create a self-running, restart-tolerant installation, you'll need to setup a few extra things. For example, the setup for a Raspberry Pi 4 is provided below. Other systems will require other methods of starting and restarting the processes.\n\nPrerequisites: Raspberry Pi 4 with clean 64-bit system, `docker`, `docker-compose` and `arecord`.\n\n### Confirm that the system works\n\nIn one terminal, run:\n\n```\n# You can omit the build option if you've run this in the past.\ndocker compose -f docker-compose.rpi.yml up -d --build\ndocker compose -f docker-compose.rpi.yml exec web python manage.py runscript analyze\n```\n\nIn another terminal, start the recording:\n\n```\npython script_examples/audio_recording_rpi.py\n```\n\n### Setup systemd to auto-start the analyze and recording processes on boot\n\n\u003csnip\u003e More to come ...\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjoeweiss%2Fbirdnetlib-listener-device","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjoeweiss%2Fbirdnetlib-listener-device","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjoeweiss%2Fbirdnetlib-listener-device/lists"}