{"id":31601619,"url":"https://github.com/thorwebdev/eleven-alexa-clone","last_synced_at":"2025-10-25T20:46:24.545Z","repository":{"id":302215698,"uuid":"1008924159","full_name":"thorwebdev/eleven-alexa-clone","owner":"thorwebdev","description":null,"archived":false,"fork":false,"pushed_at":"2025-07-15T12:50:03.000Z","size":142,"stargazers_count":10,"open_issues_count":0,"forks_count":6,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-10-06T05:58:53.188Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/thorwebdev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2025-06-26T09:53:53.000Z","updated_at":"2025-07-15T12:50:07.000Z","dependencies_parsed_at":"2025-07-01T07:12:45.618Z","dependency_job_id":"3ee3fd68-12db-46be-930f-e0bcc86dd4a2","html_url":"https://github.com/thorwebdev/eleven-alexa-clone","commit_stats":null,"previous_names":["thorwebdev/eleven-alexa-clone"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/thorwebdev/eleven-alexa-clone","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thorwebdev%2Feleven-alexa-clone","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thorwebdev%2Feleven-alexa-clone/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thorwebdev%2Feleven-alexa-clone/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thorwebdev%2Feleven-alexa-clone/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/thorwebdev","download_url":"https://codeload.github.com/thorwebdev/eleven-alexa-clone/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thorwebdev%2Feleven-alexa-clone/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278572678,"owners_count":26008838,"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-10-06T02:00:05.630Z","response_time":65,"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":"2025-10-06T07:14:35.051Z","updated_at":"2025-10-06T07:14:35.966Z","avatar_url":"https://github.com/thorwebdev.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ElevenLabs Alexa Clone for Raspberry Pi\n\n## Requirements\n\n- A Raspberry Pi 5 or similar device.\n- A microphone and speaker.\n- Python 3.9 or higher installed on your machine.\n- An ElevenLabs account with an [API key](/app/settings/api-keys).\n\n## Setup\n\n### Install dependencies\n\nOn Debian-based systems you can install the dependencies with:\n\n```bash\nsudo apt-get update\nsudo apt-get install libportaudio2 libportaudiocpp0 portaudio19-dev libasound-dev libsndfile1-dev -y\n```\n\n### Create the project\n\nOn your Raspberry Pi, open the terminal and create a new directory for your project.\n\n```bash\nmkdir eleven-voice-assistant\ncd eleven-voice-assistant\n```\n\nCreate a new virtual environment and install the dependencies:\n\n```bash\npython -m venv .venv # Only required the first time you set up the project\nsource .venv/bin/activate\n```\n\nInstall the dependencies:\n\n```bash\npip install tflite-runtime\npip install librosa\npip install EfficientWord-Net\npip install elevenlabs\npip install \"elevenlabs[pyaudio]\"\n```\n\n## Agent configuration\n\n\u003cSteps\u003e\n  \u003cStep title=\"Sign in to ElevenLabs\"\u003e\n    Go to [elevenlabs.io](https://elevenlabs.io/sign-up) and sign in to your account.\n  \u003c/Step\u003e\n  \u003cStep title=\"Create a new agent\"\u003e\n    Navigate to [Conversational AI \u003e Agents](https://elevenlabs.io/app/conversational-ai/agents) and\n    create a new agent from the blank template.\n  \u003c/Step\u003e\n  \u003cStep title=\"Set the first message\"\u003e\n    Set the first message and specify the dynamic variable for the platform.\n\n    ```txt\n    {{greeting}} {{user_name}}, Eleven here, what's up?\n    ```\n\n  \u003c/Step\u003e\n  \u003cStep title=\"Set the system prompt\"\u003e\n    Set the system prompt. You can find our best practises docs [here](/docs/conversational-ai/best-practices/prompting-guide).\n\n    ```txt\n    You are a helpful conversational AI assistant with access to a weather tool. When users ask about\n    weather conditions, use the get_weather tool to fetch accurate, real-time data. The tool requires\n    a latitude and longitude - use your geographic knowledge to convert location names to coordinates\n    accurately.\n\n    Never ask users for coordinates - you must determine these yourself. Always report weather\n    information conversationally, referring to locations by name only. For weather requests:\n\n    1. Extract the location from the user's message\n    2. Convert the location to coordinates and call get_weather\n    3. Present the information naturally and helpfully\n\n    For non-weather queries, provide friendly assistance within your knowledge boundaries. Always be\n    concise, accurate, and helpful.\n    ```\n\n  \u003c/Step\u003e\n  \u003cStep title=\"Set up a server tool\"\u003e\n    We'll set up a simple server tool that will fetch the weather data for us. Follow the setup steps [here](/docs/conversational-ai/customization/tools/server-tools#configure-the-weather-tool) to set up the tool.\n  \u003c/Step\u003e\n\u003c/Steps\u003e\n\n## Run the app\n\nTo run the app, first set the required environment variables:\n\n```bash\nexport ELEVENLABS_API_KEY=YOUR_API_KEY\nexport ELEVENLABS_AGENT_ID=YOUR_AGENT_ID\n```\n\nThen simply run the following command:\n\n```bash\npython hotword.py\n```\n\nNow say \"Hey Eleven\" to start the conversation. Happy chattin'!\n\n## [Optional] Train your custom hotword\n\n### Generate training audio\n\nTo generate the hotword embeddings, you can use ElevenLabs to generate four training samples. Simply navigate to [Text To Speech](https://elevenlabs.io/app/speech-synthesis/text-to-speech) within your ElevenLabs app, and type in your hotword, e.g. \"Hey Eleven\". Select a voice and click on the \"Generate\" button.\n\nAfter the audio has been generated, download the audio file and save them into a folder called `hotword_training_audio` at the root of your project. Repeat this process three more times with different voices.\n\n### Train the hotword\n\nIn your terminal, with your virtual environment activated, run the following command to train the hotword:\n\n```bash\npython -m eff_word_net.generate_reference --input-dir hotword_training_audio --output-dir hotword_refs --wakeword hey_eleven --model-type resnet_50_arc\n```\n\nThis will generate the `hey_eleven_ref.json` file in the `hotword_refs` folder. Now you simply need to update the `reference_file` parameter in the `HotwordDetector` class in `hotword.py` to point to the new reference file and you're good to go!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthorwebdev%2Feleven-alexa-clone","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthorwebdev%2Feleven-alexa-clone","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthorwebdev%2Feleven-alexa-clone/lists"}