Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/frm/mustacheme
MaaS - mustache as a service
https://github.com/frm/mustacheme
Last synced: 2 months ago
JSON representation
MaaS - mustache as a service
- Host: GitHub
- URL: https://github.com/frm/mustacheme
- Owner: frm
- Created: 2018-05-04T22:15:39.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2022-12-08T19:24:30.000Z (about 2 years ago)
- Last Synced: 2023-08-13T20:14:33.169Z (over 1 year ago)
- Language: JavaScript
- Homepage: http://mustacheme.mendes.codes
- Size: 2.35 MB
- Stars: 5
- Watchers: 2
- Forks: 0
- Open Issues: 11
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# mustacheme
Always wanted to look classy but didn't know how to?
Looking for a new picture for that Christmas card that everyone simply ignores
anyway?Want to be the annoying guy on your company's Slack that is always making weird
practical jokes?I got your back.
`mustacheme` adds mustaches to every face in a picture.
You can run it locally but if you don't care enough, I built you a web API:
`curl -X POST -F 'image=@./path/to/file.png' http://mustacheme.mendes.codes -o
mustache.png`Don't let nothing stop you from annoying your coworkers to hell with stupid
pictures of them with mustaches.## Things you can do
* Add a mustache to your selfie and post it on Facebook with the caption
"#hipstersamirite ;)"
* Add a mustache to your 100x100 selfie and use it as a wallpaper. Repeated.
* Take a creepshot of your coworker. Add a mustache. Email it to them. Everyday.
* Add a mustache to a picture of your boss and use it in Slack. Get a raise because of your proactivity and out-of-the-box thinking.
* Make a fake ID card with your mustache selfie and tell everyone you're related
to Tom Selleck. Start going to Hollywood parties. Meet Tom Selleck.## Installation
1. Follow [these instructions](https://gist.github.com/ageitgey/629d75c1baac34dfa5ca2a1928a7aeaf).
2. `git clone https://github.com/justmendes/mustacheme`
3. `bin/setup`
4. `bin/server` if you want to run the web app## Usage
```bash
# Add a mustache and open it in the file viewer
python3 lib/mustacheme.py# Add a mustache and output the base64
python3 lib/mustacheme.py -b# Add a mustache and save it to a file
python3 lib/mustacheme.py -o# Run the webapp
yarn start
```### Web application
It's available at
[`http://mustacheme.mendes.codes`](http://mustacheme.mendes.codes).POST to `/` an image data through a multipart form. Or:
`curl -X POST -F 'image=@./path/to/file.png' http://mustacheme.mendes.codes -o
mustache.png`## I WANT TO HELP MAKE MORE MUSTACHES
I like your enthusiasm. Open a [pull
request](https://github.com/justmendes/mustacheme/pulls). Some things to do:* [ ] add moooooore mustaches (python/javascript)
* [ ] add mustaches to gifs (python)
* [ ] add mustaches to a video (python)
* [ ] stream the local camera and add mustaches (python)
* [ ] add a web interface (javascript/html)Feel free to make suggestions as well and to [open an
issue](https://github.com/justmendes/mustacheme/issues/new) if you found some of
them bugs.