Developer’s Guide

Running Locally

Place .env with environment variables to project root, then run:

poetry install
poetry run python run.py

Environment Variables

  • HOLODULE_YOUTUBE_KEY: Required. API key of YouTube Data API.

  • HOLODULE_PAGE: Holodule page URL to get. Must be a “シンプル版” (e.g. 全体).

  • HOLODULE_DIR: Directory to place result .ics files. Default to public.

  • HOLODULE_LOGLEVEL: Loglevel of logging module. Default to INFO.

TODO

  • Type checking

  • Documentation

  • Test

References

Adding scripts to your workflow

Workflow syntax for GitHub Actions

pipx - On Linux

Building and testing Python

deploy-pages and Deploy GitHub Pages site.

upload-pages-artifact