Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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