/bilibili-box

将你的B站最新投稿显示在 pinned gist。

Primary LanguageTypeScript

Bilibili-box

Update a pinned gist to contain the latest videos of a user


📌✨ For more pinned-gist projects like this one, check out: https://github.com/matchai/awesome-pinned-gists

Setup

English | 中文

Prep work

  1. Create a new public GitHub Gist (https://gist.github.com/)
  2. Create an access token with the gist scope and copy it. (https://github.com/settings/tokens/new)
  3. Find UID in Bilibili personal space link (https://space.bilibili.com/37728693)

Project setup

  1. Fork this repo

  2. Edit the environment variables in .github/workflows/schedule.yml:

    • UID: The user handle of the bilibili account.
    • GIST_ID: The ID portion from your gist url: https://gist.github.com/matchai/6d5f84419863089a167387da62dd7081.
  3. Go to the repo Settings > Secrets

  4. Add the following environment variables:

    • GH_TOKEN: The GitHub access token generated above.