Skip to content

wakate/shiorin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

f281cbf · Aug 31, 2024
Oct 8, 2019
Aug 31, 2024
Sep 22, 2022
Aug 31, 2024
Sep 22, 2022
Sep 22, 2022
Aug 26, 2023
Aug 26, 2023
Sep 21, 2019
Sep 22, 2022
Sep 24, 2017
Oct 8, 2019
Sep 22, 2022

Repository files navigation

shiorin

イベントのしおりをHTMLで生成するツールです。 情報科学若手の会で使用します。

shiorinについて

ディレクトリ構成

.
├── README.md
├── abst_table.py
├── md
├── paper
├── room.py
├── shiori_generator.py
├── table.py
├── tasks.py
├── templates
├── time_table.py
└── web

Installation

用意するもの

  • 実行環境

    • poetry
    • 日本語フォント(ex. fonts-ipafont-gothic fonts-ipafont-mincho)
  • 足りないディレクトリ

    次のディレクトリとファイルを入手して、適切に配置してください。

    • data
    • md
    • web/image
    • web/logo
    • paper/image
    • paper/logo

インストール手順

git clone https://github.com/wakate/shiorin.git
cd shiorin
poetry install
poetry run pyppeteer-install

使い方

$ invoke gen-web # generate web_shiori
$ ls web
css        image      index.html logo
$ invoke gen-web-pdf # generate pdf from web_shiori
$ invoke gen-paper # generate paper_shiori
$ ls paper
cover.html     css            image          info.html      logo           room.html      ryokan.html    timetable.html
$ invoke gen-paper-pdf # generate pdf from paper_shiori