项目作者: Kiku-Reise

项目描述 :
🍬 Automated News Feed Aliexpress Goods
高级语言: TypeScript
项目地址: git://github.com/Kiku-Reise/alilend.git
创建时间: 2019-12-15T12:56:42Z
项目社区:https://github.com/Kiku-Reise/alilend

开源协议:MIT License

下载


Alilend Telegram bot

This is the code for the Telegram bot — @alilendbot, that automated news feed about interesting and discount goods from Aliexpress.

Installation and local launch

  1. Clone this repo: git clone https://github.com/Kiku-Reise/alilend
  2. Create .env with the environment variables listed below
  3. Run yarn install in the root folder
  4. Run yarn develop

And you should be good to go! Feel free to fork and submit pull requests. Thanks!

Environment variables

  • TOKEN — Telegram bot token
  • CHANNEL_HANDLE — Handle of the Telegram ad channel
  • CHANNEL_ID — ID of the Telegram ad channel

Bot should be admin at CHANNEL_ID.
Also, please, consider looking at .env.sample.

License

MIT — use for any purpose. Would be great if you could leave a note about the original developers. Thanks!