{"id":21495721,"url":"https://github.com/deepgram/brain-search-example","last_synced_at":"2025-08-01T13:34:35.576Z","repository":{"id":105855878,"uuid":"108158701","full_name":"deepgram/brain-search-example","owner":"deepgram","description":"Example application that searches audio files in a directory","archived":false,"fork":false,"pushed_at":"2017-12-12T04:11:12.000Z","size":8007,"stargazers_count":1,"open_issues_count":0,"forks_count":3,"subscribers_count":21,"default_branch":"master","last_synced_at":"2025-03-17T12:14:23.345Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","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/deepgram.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","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-10-24T17:09:32.000Z","updated_at":"2019-02-28T06:05:47.000Z","dependencies_parsed_at":"2023-06-14T13:00:27.491Z","dependency_job_id":null,"html_url":"https://github.com/deepgram/brain-search-example","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/deepgram/brain-search-example","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deepgram%2Fbrain-search-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deepgram%2Fbrain-search-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deepgram%2Fbrain-search-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deepgram%2Fbrain-search-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/deepgram","download_url":"https://codeload.github.com/deepgram/brain-search-example/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deepgram%2Fbrain-search-example/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268231595,"owners_count":24217035,"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-01T02:00:08.611Z","response_time":67,"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-11-23T16:13:02.496Z","updated_at":"2025-08-01T13:34:35.525Z","avatar_url":"https://github.com/deepgram.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# brain-search-example\nExample application that searches audio files in a directory\n\n# Installation:\n    git clone https://github.com/deepgram/brain-search-example.git\n    cd deepgram-brain-search\n    python setup.py install\n\n# Obtaining an API User ID and Token\nObtaining an API User ID and token is easy. Just sign up for an account at www.deepgram.com, login and go to the API page.\n\n![Alt text](apipage.png?raw=true \"API Page\")\n# Usage\nBy default all audio sources in the current directory will be searched so the simplest usage is:\n\nbrainsearch -u \u003cuser_id\u003e -t \\\u003ctoken\u003e search phrase\n\n#### brainsearch takes the following parameters:\n    -u --user: API user id. Obtain yours by logging in to Deepgram.com and clicking API\n    -t --token: API token. Obtain yours by logging in to Deepgram.com and clicking API\n    query: phrase to search the audio for\n    -f --file: (optional, default ./*) Location of file or files to search. Can be specified multiple times. -f ./* -f ./testdata/*\n    -s --server: (optional, defalt https://brain.deepgram.com) URL of the Brain API server to use.\n    -q --quality: (optional, default .6) Minimum quality result to show.\n    -r --reload: (optional flag) Do not use assets already loaded on the server. Reload all specified files.\n\n\n# Try these\n\n#### Search some local files\nIn the repository are two chapters from public domain audio clips of Alice's Adventures in Wonderland. More great clips cn be found on LibriVox.com. Try the following to quickly get you started!\n\n    brainsearch -u \u003cuser_id\u003e -t \u003ctoken\u003e -f ./testdata/*.mp3 oh my ears and whiskers\n    brainsearch -u \u003cuser_id\u003e -t \u003ctoken\u003e -f ./testdata/*.mp3 off with her head\n\n#### Search collections of files\nSeveral link collections are in the testdata directory. Try searching some of Shakespeare's sonnets!\n\n    brainsearch -u \u003cuser_id\u003e -t \u003ctoken\u003e -f ./testdata/shakespeare.links within thine own deep sunken eyes\n\nOr find some wisdom and humor from Twain\n\n    brainsearch -u \u003cuser_id\u003e -t \u003ctoken\u003e -f ./testdata/twain.links Persons attempting to find a motive in this narrative\n\n#### Search everything!\n\n    brainsearch -u \u003cuser_id\u003e -t \u003ctoken\u003e -f ./testdata/* mother\n\n# What next?\nThat is up to you. Give it a try! Most popular audio and video formats are supported. If you build something cool with search or the API, let us know!\n\nhttps://www.deepgram.com/contact/\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeepgram%2Fbrain-search-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdeepgram%2Fbrain-search-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeepgram%2Fbrain-search-example/lists"}