项目作者: rohitner

项目描述 :
the article2video messenger bot
高级语言: Python
项目地址: git://github.com/rohitner/newzery.git
创建时间: 2020-08-15T13:46:03Z
项目社区:https://github.com/rohitner/newzery

开源协议:GNU General Public License v3.0

下载


Welcome to Newzery 👋


Version

License: GPLv3


Deploy

image : imagery : : news : newzery!

Demo

📝 Features

  • Convert any web article into a short video.

  • Video length of your choice.

  • End to end, send URL to the messenger bot, and get the video!

💡 Motivation



Assuming that advertising revenue is a reasonable proxy for attention, it turns out that humans like pictures more than text, and moving pictures most of all; so it has gone on the Internet.[source]

🚀 Building

  • Clone this repository : git clone https://github.com/rohitner/newzery.

  • Install the dependencies : pip install -r requirements.txt.

  • Create a facebook page, add the messenger plugin to this page with your developer account to generate the access token. Save this token to ACCESS_TOKEN environment variable.

  • Download the ngrok binary and run ./ngrok http 5000

  • Save a string of your choice as VERIFY_TOKEN environment variable.

  • Run python bot.py

  • Configure the webhook: Enter the https URL of the ngrok forwarded port as the callback URL, and set verify token to the value in VERIFY_TOKEN.

  • Let the callback URL be verified, and you are ready to roll.

Author

👤 Rohit Ner

Acknowledgements

  • Hat tip to anyone whose code was used.

📝 License

Copyright © 2020 Rohit Ner.

This project is GPL licensed.