{"id":17484692,"url":"https://github.com/ryanmcdermott/trumpgen","last_synced_at":"2025-07-05T07:39:29.600Z","repository":{"id":65977386,"uuid":"61264579","full_name":"ryanmcdermott/trumpgen","owner":"ryanmcdermott","description":"Generate Donald Trump speeches using recurrent neural networks (RNNs)","archived":false,"fork":false,"pushed_at":"2016-07-24T17:57:22.000Z","size":30018,"stargazers_count":9,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-10-21T21:08:45.628Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Elm","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/ryanmcdermott.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-06-16T05:25:38.000Z","updated_at":"2022-05-03T05:21:31.000Z","dependencies_parsed_at":"2023-02-19T18:15:53.808Z","dependency_job_id":null,"html_url":"https://github.com/ryanmcdermott/trumpgen","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/ryanmcdermott%2Ftrumpgen","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryanmcdermott%2Ftrumpgen/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryanmcdermott%2Ftrumpgen/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryanmcdermott%2Ftrumpgen/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ryanmcdermott","download_url":"https://codeload.github.com/ryanmcdermott/trumpgen/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250264931,"owners_count":21402005,"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":[],"created_at":"2024-10-19T01:05:18.621Z","updated_at":"2025-04-22T15:21:23.144Z","avatar_url":"https://github.com/ryanmcdermott.png","language":"Elm","funding_links":[],"categories":[],"sub_categories":[],"readme":"# trumpgen\n\n## What is it?\n`trumpgen` is an app written in Elm and using Node and Torch on the backend to generate speeches in the style of 2016 United States Presidential candidate Donald Trump. Using a [corpus of speeches](https://github.com/ryanmcdermott/trump-speeches) and [torch-rnn](https://github.com/jcjohnson/torch-rnn), a character-level recurrent neural network (RNN) is trained and the \"style\" of Donald Trump's speeches are approximated. After training the neural network, we can randomly sample from it and produce entirely new speeches.\n\n\n## What else?\nAs I am the most novice of beginners in this area, I've found very simple explanations, without a lot of math, to be highly helpful. [Check out Andrej Karpathy's amazing RNN lesson](http://karpathy.github.io/2015/05/21/rnn-effectiveness/) if you would like to learn more.\n\n## Installation\n```\ndocker build -t ryanmcdermott/trumpgen .\ndocker run -ti -v $PWD/src:/opt/trumpgen ryanmcdermott/trumpgen npm install\ndocker run -ti -v $PWD/src:/opt/trumpgen ryanmcdermott/trumpgen elm package install -y\ndocker run -ti -v $PWD/src:/opt/trumpgen ryanmcdermott/trumpgen npm run build\n```\n\n## Running\n```\ndocker run -t -d -v $PWD/src:/opt/trumpgen -p 80:80 -e \"PORT=80\" ryanmcdermott/trumpgen node src/server.js\n```\n\n## Contributing\nPull requests are much appreciated and accepted.\n\n\n## License\nReleased under the [MIT License](http://www.opensource.org/licenses/MIT)\n\n\n## Credits\n[Char-RNN](https://github.com/karpathy/char-rnn)\n\n[torch-rnn](https://github.com/jcjohnson/torch-rnn)\n\n[docker-torch-rnn](https://github.com/crisbal/docker-torch-rnn)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fryanmcdermott%2Ftrumpgen","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fryanmcdermott%2Ftrumpgen","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fryanmcdermott%2Ftrumpgen/lists"}