Generate your waifu using Twilio MMS. Simply send a selfie to your Twilio number via MMS and receive your waifu in return.
This project was built on April 30, 2020 for the Twilio Hackathon on DEV.
This is a project was built using Express, Twilio, Puppeteer, and most importantly Selfie 2 Waifu.
To run this locally app locally you'll need to do the following (replacing the values as you go):
git clone https://github.com/Brodan/waifu-mms-bot.git
npm install
export TWILIO_ACCOUNT_SID='XXXXXXXXXXXXXXXXXXXXXXX'
export TWILIO_AUTH_TOKEN='YYYYYYYYYYYYYYYYYY'
export TWILIO_NUMBER='+15555555555'
# run this in a in a seperate terminal
# install instructions: https://ngrok.com/download
ngrok http 5000
# copy your ngrok URL and export it
# also make sure configure your Twilio number to point to *YOUR_NGROK_URL*
export NGROK_URL=*YOUR_NGROK_URL*
npm start
Once everything is configured and running, send a selfie via MMS to the Twilio number you configured and wait a few seconds to get your response.
All images will be saved to the /public
directory.
- brodan - creator, maintainer
Special thanks to the following people:
- creke for building the entirety of the pSelfie 2 Waifu](https://waifu.lofiu.com/index.html) app. Read more about it here.
- tokland for providing some Puppeteer utilities in this gist which I used in this project.
MIT