Git 호스트가 정적 사이트 생성기로 기능하는 사례에 대한 소개입니다.
이 글에서는 Git 저장소를 정적 HTML로 변환하는 도구인 sorcery에 대해 설명합니다. sorcery는 저장소의 갱신 시 자동으로 개요와 브랜치별 최신 디렉터리 트리를 생성하며, 구문 강조된 소스 코드를 포함합니다. 또한 Forgejo가 디스크 부족과 스크래퍼 부하 문제를 해결하기 위해 사전 생성 비용을 지불하는 내용도 다룹니다.
An introduction to the use of a Git host as a static site generator.
This article discusses a tool called sorcery that converts Git repositories into static HTML. Sorcery automatically generates outlines and the latest directory trees per branch upon repository updates, including syntax-highlighted source code. It also addresses how Forgejo copes with disk shortage and scraper load issues by paying a pre-generation cost.