Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/doesdev/eafd
When you just don't have the words. Snoop does.
https://github.com/doesdev/eafd
Last synced: 2 days ago
JSON representation
When you just don't have the words. Snoop does.
- Host: GitHub
- URL: https://github.com/doesdev/eafd
- Owner: doesdev
- License: mit
- Created: 2017-10-25T02:48:10.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2019-08-01T02:50:25.000Z (over 5 years ago)
- Last Synced: 2024-10-08T09:58:06.024Z (about 1 month ago)
- Language: JavaScript
- Homepage: https://eaft.doesdev.com
- Size: 27.3 KB
- Stars: 6
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-dev-fun - eafd - When you just don't have the words. Snoop does. Vulgar audio generator (or not vulgar, just a 🦃) (SaaS)
README
# eafd [![NPM version](https://badge.fury.io/js/eafd.svg)](https://npmjs.org/package/eafd) [![js-standard-style](https://img.shields.io/badge/code%20style-standard-brightgreen.svg?style=flat)](https://github.com/feross/standard)
> When you just don't have the words. Snoop does.
## Web Service
Returns an audio file. If someone clicks the link, better hope their speakers
are turned down. Especially if you send them the dirty version.It's perfect for team meetings, ping it to your co-workers while on a call and
listen for the fun :thumbsup:.If you don't add anything to the path it just picks some random phrases from
generally unliked things. If you pass it some words though you can custom
tailor the message for your audience. Just send this in your group chat:
https://eaft.doesdev.com/everyone-in-this-pointless-meeting#### [Clean Version](https://eaft.doesdev.com) ( "... can eat a fat turkey" )
```
https://eaft.doesdev.com
```#### [Dirty Version](https://eafd.doesdev.com) ( "... can eat a fat ...." )
```
https://eafd.doesdev.com
```## CLI Usage
```sh
$ npm install --global eafd
``````sh
$ eafd --help
``````sh
$ eafd "someones name" /path/to/write/file.mp3
```## Programmatic Usage
```sh
$ npm install --save eafd
``````js
const eafd = require('eafd')
const { writeFileSync } = require('fs')async function main (name, output) {
let mp3Data = await eafd(name)
writeFileSync(output, mp3Data)
}
```## API
#### Main function returns `Promise` that resolves with `Buffer` of mp3 file
#### `eafd(*name)`
- **name** *[string - required]* Name to insert before Snoop's EAFD
## License
MIT © [Andrew Carpenter](https://github.com/doesdev)