{"id":17030324,"url":"https://github.com/vsoch/insult-go","last_synced_at":"2026-05-10T19:33:21.321Z","repository":{"id":141667799,"uuid":"233104123","full_name":"vsoch/insult-go","owner":"vsoch","description":"generate Shakespearean insults with GoLang and Web Assembly. Because why not.","archived":false,"fork":false,"pushed_at":"2020-01-10T18:34:53.000Z","size":453,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-28T00:36:24.336Z","etag":null,"topics":["golang","insults","wasm"],"latest_commit_sha":null,"homepage":"https://vsoch.github.io/insult-go/","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/vsoch.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-01-10T18:07:58.000Z","updated_at":"2020-07-04T15:44:50.000Z","dependencies_parsed_at":null,"dependency_job_id":"4659fde2-dda8-4063-be0d-fe966821338f","html_url":"https://github.com/vsoch/insult-go","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/vsoch%2Finsult-go","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vsoch%2Finsult-go/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vsoch%2Finsult-go/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vsoch%2Finsult-go/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vsoch","download_url":"https://codeload.github.com/vsoch/insult-go/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245020314,"owners_count":20548156,"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":["golang","insults","wasm"],"created_at":"2024-10-14T08:06:11.970Z","updated_at":"2026-05-10T19:33:16.296Z","avatar_url":"https://github.com/vsoch.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Insult Generator (Wasm)\n\nI was so tickled by the [InsultAPI](https://github.com/ncitron/insultAPI) developed\nby [ncitron](https://github.com/ncitron) that I thought I'd give it a Go (pun intended)\nand implement with [Web Assembly and WASM](https://vsoch.github.io/insult-go/). \nIt's a relatively simple application because it randomly selects an insult from a list and returns it to the browser,\nand if you've selected to randomize, it will generate by selecting two adjectives and\na noun randomly.\n\n[![img/insult.png](img/insult.png)](https://vsoch.github.io/insult-go/)\n\nUnlike it's previous art, the goal isn't to provide an API, but a simple interface\nfor generating insults (and copy pasting them wherever they are needed!)\n\nCheck out the interface [here](https://vsoch.github.io/insult-go/)!\n\n## Usage\n\nYou can easily interact with the [online version](https://vsoch.github.io/insult-go).\nIf you want to develop, you'll need GoLang version 1.13 or higher, and to install\n[emscripten](https://emscripten.org/docs/getting_started/FAQ.html).\n\n## Docker\n\nThe provided [Dockerfile](Dockerfile) will also install emscripten and compile,\nbut there are some issues with the mime type not being understood (hopefully\nthis will be resolved with some time!)\n\n```bash\n$ docker build -t vanessa/insult-go .\n```\n\nIt will also install [emscripten](https://emscripten.org/docs/getting_started/FAQ.html),\nadd the source code to the repository, and compile to wasm. You can then\nrun the container and expose port 80 to see the compiled interface:\n\n```bash\n$ docker run -it --rm -p 80:80 vanessa/insult-go\n``` \n\nAgain, when I tested this the first time it worked okay, and for some reason,\nit didn't the second time. If anyone hits the bug and can contribute a solution,\nplease open a pull request! \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvsoch%2Finsult-go","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvsoch%2Finsult-go","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvsoch%2Finsult-go/lists"}