{"id":17068946,"url":"https://github.com/localnerve/gigaohmbio-docker","last_synced_at":"2026-04-09T07:02:25.371Z","repository":{"id":235955376,"uuid":"791610856","full_name":"localnerve/gigaohmbio-docker","owner":"localnerve","description":null,"archived":false,"fork":false,"pushed_at":"2024-07-08T20:31:14.000Z","size":357,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-04T12:03:37.548Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","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/localnerve.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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-04-25T03:13:05.000Z","updated_at":"2024-07-08T20:31:17.000Z","dependencies_parsed_at":"2024-04-25T04:26:19.280Z","dependency_job_id":"4f2e5900-fb24-417d-9726-6232dff7d057","html_url":"https://github.com/localnerve/gigaohmbio-docker","commit_stats":null,"previous_names":["localnerve/gigaohmbio-docker"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/localnerve/gigaohmbio-docker","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/localnerve%2Fgigaohmbio-docker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/localnerve%2Fgigaohmbio-docker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/localnerve%2Fgigaohmbio-docker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/localnerve%2Fgigaohmbio-docker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/localnerve","download_url":"https://codeload.github.com/localnerve/gigaohmbio-docker/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/localnerve%2Fgigaohmbio-docker/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270321817,"owners_count":24564630,"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","status":"online","status_checked_at":"2025-08-13T02:00:09.904Z","response_time":66,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":[],"created_at":"2024-10-14T11:15:40.695Z","updated_at":"2025-12-30T21:46:00.845Z","avatar_url":"https://github.com/localnerve.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# gigaohmbio-docker\n\n\u003e A cross-platform solution to automate download and transcription of videos for gigaohmbiological\n\n## Prerequisites\n* Docker Engine or Docker Desktop\n* Bourne shell\n\n## Summary\n\nThis repository contains:\n* Standalone bourne shell scripts to run download and transcribe scripts\n* Github Action for automating download and transcription of videos on Github\n\nThis serves as a prototype and example of support automation for gigaohmbiological.\n\n## Download\n\nThe download docker container gets the latest video url from twitch, downloads it, transcodes it, and writes it to an output volume.\n\n\u003e Build and download script exists at ./scripts/build-run-download.sh\n\nCommands to run isolated (from project directory):\n\n```\n# build the image\nexport UID=`id -u`\nexport GID=`id -g`\ndocker build -t 'gigaohmbio-download' -f Dockerfile-download --build-arg UID=$UID --build-arg GID=$GID .\n\n# run the image in a tmp container\ndocker run --rm -v ./data:/home/pn/app/data 'gigaohmbio-download'\n\n# output is in ./data\n```\n\n## Transcribe\n\nThe transcription docker container reads an input audio file, runs whisper, and writes the output to an output volume.\nUses the [go-whisper](https://github.com/appleboy/go-whisper) implementation.\n\n\u003e Build and download script exists at ./scripts/build-run-transcribe.sh\n\nCommands to run isolated (from project directory):\n\n```\n# build the image\ndocker build -t 'gigaohmbio-transcribe' -f Dockerfile-transcribe .\n\n# run the image in a tmp container (params as env vars)\n# INPUT_MODEL always has to be passed by environment, unless you have the full path to downloaded model\n# model keywords: small, medium, large, large-v1, large-v2\nexport INPUT_MODEL=small\ndocker run --rm -v ./data:/app/testdata -v ./models:/app/models \\\n  'gigaohmbio-transcribe' \\\n  --input-audio /app/testdata/my-latest-audio-file-in-data-dir.m4a \\\n  --output-format txt \\\n  --print-progress true\n\n# output is in ./data\n```\n\nAll go-whisper variables are listed at the source [repo](https://github.com/appleboy/go-whisper/blob/main/README.md)\n\n## Further Automation Notes/Ideas\n\n* The outputs of this project can be further redirected or sent on to other services\n  * The whisper output could be sent as input to an AI service to generate summary articles\n* The Github Action can be run on a cron schedule, managed by Github Actions\n* The download script:  \n  * Can be changed to read multiple videos at once, enabling less frequent processing (cost purposes)\n  * Can be changed to transcode to multiple formats (audio, video)\n  * Can be changed to source from other services, not just twitch\n  * Hosts full chrome/puppeteer and ffmpeg, so can be scripted to perform the download/transcribe itself instead of relying on dependencies (like twitch-dl)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flocalnerve%2Fgigaohmbio-docker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flocalnerve%2Fgigaohmbio-docker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flocalnerve%2Fgigaohmbio-docker/lists"}