{"id":16929589,"url":"https://github.com/dgw/sopel-spongemock","last_synced_at":"2026-02-12T08:06:29.895Z","repository":{"id":53622941,"uuid":"217437947","full_name":"dgw/sopel-spongemock","owner":"dgw","description":"Sopel plugin to generate \"Spongemock\" text (based on *that* SpongeBob meme)","archived":false,"fork":false,"pushed_at":"2024-01-15T08:40:36.000Z","size":38,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-05-01T18:52:39.450Z","etag":null,"topics":["hacktoberfest","irc","irc-bot","ironic-case","sopel","sopel-plugin","spongebob","spongebob-meme"],"latest_commit_sha":null,"homepage":"","language":"Python","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/dgw.png","metadata":{"files":{"readme":"README.md","changelog":"NEWS","contributing":null,"funding":null,"license":"COPYING","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":"2019-10-25T02:50:02.000Z","updated_at":"2024-07-25T05:41:22.193Z","dependencies_parsed_at":"2023-11-23T08:21:45.027Z","dependency_job_id":"ef73d273-6ab5-49c3-a004-8f8b9a14b6eb","html_url":"https://github.com/dgw/sopel-spongemock","commit_stats":{"total_commits":20,"total_committers":1,"mean_commits":20.0,"dds":0.0,"last_synced_commit":"6548fb178248a3206691cdfde0ccb77c1142a6aa"},"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dgw%2Fsopel-spongemock","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dgw%2Fsopel-spongemock/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dgw%2Fsopel-spongemock/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dgw%2Fsopel-spongemock/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dgw","download_url":"https://codeload.github.com/dgw/sopel-spongemock/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248689140,"owners_count":21145887,"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":["hacktoberfest","irc","irc-bot","ironic-case","sopel","sopel-plugin","spongebob","spongebob-meme"],"created_at":"2024-10-13T20:39:38.701Z","updated_at":"2026-02-12T08:06:24.871Z","avatar_url":"https://github.com/dgw.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# sopel-spongemock\nSopel plugin to generate \"Spongemock\" text (based on *that* SpongeBob meme)\n\n## Requirements\n\n**Basic usage:** Only [Sopel](https://github.com/sopel-irc/sopel) itself.\n\n**With configurable output:** Additionally requires the `spongemock` PyPI package.\n\n**More robust Unicode detection:** Additionally requires the `unicodedata2` PyPI package.\n\n## Installation\n\n**Basic**\n```sh\npip install sopel-spongemock\n```\n\n**Configurable**\n```sh\npip install sopel-spongemock[lib]\n```\n\n**Robust**\n```sh\npip install sopel-spongemock[ud2]\n```\n\n***Note:** It is possible to install both `lib` and `ud2` extras at once, but\ndoing so serves no purpose; the `spongemock` package does not make use of\n`unicodedata` or `unicodedata2`.*\n\n## Configuration\n\nIf installed with the `lib` extra, use the following template in Sopel's\nconfiguration file to set options for `spongemock`'s output:\n\n```ini\n[spongemock]\ndiversity_bias = 0.6\nalways_start_lower = False\n```\n\nThe `diversity_bias` option controls the chance of switching cases for each\nletter in the output. `0.0` represents a perfectly random, 50/50 chance.\nHigher values increase the likelihood of switching as more consecutive\nletters are output with the same case. At `1.0`, it's guaranteed that the\ncase will switch for every letter.\n\n**Values outside the range of [0.0, 1.0] will cause errors.**\n\nFeel free to experiment with intermediate values to find what \"looks right\"\nfor your own interpretation of the mocking-text meme.\n\nThe `always_start_lower` option will output `text.swapcase()` if the first\nletter of the output is capitalized. (While the built-in mocker always starts\nwith lowercase, the external library sets case of the first letter randomly.)\n\n***Note:** Options in this configuration section have no effect if the plugin\nis installed without the `lib` extra.*\n\n## Usage\n\n```\n.spongemock \u003cnick\u003e|\u003ctext\u003e\n\nor\n\n.smock \u003cnick\u003e|\u003ctext\u003e\n```\n\nIf a single word is passed, the command will first check if that nick has said\nanything in the channel recently, and will mock their last message if so.\n\nAny input that does not match a known user's nick will be mocked directly.\n\n### Examples\n\n```\n\u003cdgw\u003e .smock Free speech!\n\u003cSopel\u003e fREe SpEEcH\n```\n\n```\n\u003cdgw\u003e I'm something of a Pythonista myself\n\u003cziro\u003e .smock dgw\n\u003cSopel\u003e i'M soMeThiNg oF a pYtHOnIsTA mySElf\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdgw%2Fsopel-spongemock","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdgw%2Fsopel-spongemock","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdgw%2Fsopel-spongemock/lists"}