{"id":17354018,"url":"https://github.com/trishume/lastsecondslides","last_synced_at":"2025-04-14T21:51:49.064Z","repository":{"id":43143296,"uuid":"64019938","full_name":"trishume/LastSecondSlides","owner":"trishume","description":"Use the Google speech-to-text API to generate presentation slides as you talk!","archived":false,"fork":false,"pushed_at":"2016-07-29T03:28:44.000Z","size":391,"stargazers_count":35,"open_issues_count":1,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-28T09:51:37.310Z","etag":null,"topics":["google-speech","hackathon","pygame","terrible-hack"],"latest_commit_sha":null,"homepage":null,"language":"Python","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/trishume.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}},"created_at":"2016-07-23T14:30:06.000Z","updated_at":"2024-11-02T00:08:04.000Z","dependencies_parsed_at":"2022-09-22T06:50:56.684Z","dependency_job_id":null,"html_url":"https://github.com/trishume/LastSecondSlides","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trishume%2FLastSecondSlides","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trishume%2FLastSecondSlides/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trishume%2FLastSecondSlides/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trishume%2FLastSecondSlides/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/trishume","download_url":"https://codeload.github.com/trishume/LastSecondSlides/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248968741,"owners_count":21191158,"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":["google-speech","hackathon","pygame","terrible-hack"],"created_at":"2024-10-15T17:18:44.101Z","updated_at":"2025-04-14T21:51:49.048Z","avatar_url":"https://github.com/trishume.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# LastSecondSlides\nUse the Google speech-to-text API to generate presentation slides as you talk! A collaboration with [Marc Mailhot](http://mlht.ca/).\nMarc wrote the slide renderers and Bing Search with PyGame, and I wrote the Google Voice API interfacing code and the code to process the speech, decide on slide content and tie together the modules. Made for [TerribleHack IV](http://terriblehack.website/), a hackathon for intentionally funny and stupid projects.\n\nIncludes two themes: 90s and corporate, as well as three slide types: heading, bullet points, and picture.\n\nIt can use Bing image search to find images based on what you say.\n\n**Note:** This was a fun 5-hour project for a fun hackathon, it stops working and crashes often due to multithreading issues we didn't bother to debug and isn't actually useful.\n\n## Demo Video\n\nSee here:\n\n\u003chttps://www.youtube.com/watch?v=chgOZumnXQo\u003e\n\nThe voice recognition quality in the video is rather bad because it was a noisy room and I was using a crappy microphone.\n\n## Getting it running\n\n1. Set up a virtualenv if you want and know what that is.\n1. Install portaudio for pyAudio\n1. Install the dependencies of pygame, mostly SDL and related packages, see the pygame website for this.\n1. `pip install -r requirements.txt`\n1. Set yourself up with a Google Cloud Speech API account and a Bing Image Search API key\n1. `export GOOGLE_APPLICATION_CREDENTIALS=/path/to/your/credentials-key.json`\n1. `export BING_API_KEY=yourkeygoeshere`\n1. `python main.py`\n1. Start saying things!\n\n## Screenshots\n\n![screenshot](http://imgur.com/BEwcZr5.png)\n![screenshot](http://imgur.com/fTOdIte.png)\n![screenshot](http://imgur.com/pBlBuJa.png)\n![screenshot](http://imgur.com/C1G2aEV.png)\n![screenshot](http://imgur.com/8wAQUS6.png)\n![screenshot](http://imgur.com/XBYpi3B.png)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftrishume%2Flastsecondslides","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftrishume%2Flastsecondslides","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftrishume%2Flastsecondslides/lists"}