toys/feishu-robot
anjingyu 4fab0b31e1 chore: update 2025-03-28 10:14:57 +08:00
..
docs chore: update 2025-03-28 10:14:57 +08:00
feishurobot chore: migrate 2024-04-14 23:20:38 +08:00
.gitignore chore: migrate 2024-04-14 23:20:38 +08:00
README.md chore: migrate 2024-04-14 23:20:38 +08:00
requirements.txt chore: migrate 2024-04-14 23:20:38 +08:00
setup.py chore: migrate 2024-04-14 23:20:38 +08:00

README.md

FeiShu Robot SDK and Tools

NOTE: Uncompleted, do not have a GA version.

This project contains simple Python3 SDK and executable tools to help user to manage the FeiShu group via customized robot easily.

Features

  • Build the Markdown notes(daily/weekly) and publish to specific FeiShu group.

How to Install

First, please guarantee that the python command is in your PATH, so that you can call this command anywhere.

NOTE: On Linux, please make sure the python command points to python3.

python setup.py install

How to Use

Before use this command line tool, please define two required environment variables:

  • FEISHU_ROBOT_SECRET: The secret key of your robot.
  • FEISHU_ROBOT_HOST: The URL of your robot webhook.

On Linux/macOS:

fs_publish <directory contains daily MD>

On Windows:

fs_publish <directory contains daily MD>

The daily MD file should be named yyyy-mm-dd.md, such as 2022-01-11.md.