Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mileswwatkins/sklartificial-intelligence
Cloud To Butt, but for Sam Sklar
https://github.com/mileswwatkins/sklartificial-intelligence
Last synced: 19 days ago
JSON representation
Cloud To Butt, but for Sam Sklar
- Host: GitHub
- URL: https://github.com/mileswwatkins/sklartificial-intelligence
- Owner: mileswwatkins
- Created: 2021-09-22T18:14:34.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2021-09-23T05:15:02.000Z (over 3 years ago)
- Last Synced: 2024-11-07T22:52:30.492Z (2 months ago)
- Language: JavaScript
- Size: 909 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Sklartificial Intelligence
A Chrome extension inspired by [Cloud To Butt](https://github.com/panicsteve/cloud-to-butt): automate [Sam Sklar](https://sklar.substack.com)'s signature joke of replacing all phonemes that rhyme with `sklar`. Operates on all non-user-input text on every webpage.
## Example
Turns:
> The article takes two bad parts of social media and assumes that those are the only uses for it.
into:
> The sklarticle takes two bad sklarts of social media and assumes that those sklar the only uses for it.
## Usage
Install the Chrome extension following [these steps](https://developer.chrome.com/docs/extensions/mv3/getstarted/#manifest):
1. [Download the code in this repository](https://github.com/mileswwatkins/sklartificial-intelligence/archive/refs/heads/main.zip), and un-zip the contents
1. In your Chrome browser, navigate to `chrome://extensions`
1. Enable `Developer Mode`
1. Click `Load unpacked` and select the `sklartificial-intelligence-main` directory you downloaded
1. Browse the web!## Building the rhyming word list from scratch
To build the `rhymes-with-sklar.json` word list, run the `get-rhymes.js` script. This will fetch a long list of English words, and then filter them down to only those that rhyme with `sklar` to generate the JSON file.
## Credits
- Heavily re-uses code from [Steven Frank](https://github.com/panicsteve)'s [Cloud To Butt](https://github.com/panicsteve/cloud-to-butt) Chrome extension
- Uses the [CMU Pronouncing Dictionary](http://www.speech.cs.cmu.edu/cgi-bin/cmudict) to determine whether a word rhymes with `sklar`
- Uses [`stdlib`'s JSONified version](https://github.com/stdlib-js/datasets-cmudict/blob/main/data/dict.json) of the original CMU file