I generate the content with a Python app and create the website with the Hugo site generator. No server, no database, no hosting fees:
A little about my motivations:
It’s pretty much a 3-D content model: programming languages x world languages x article topics. So with 20-something articles per “book”, there are 11,400 web pages. Each is in an open source repo, linked from the website with “Edit on GitHub”.
Some examples: the home pages, with a listing of the programming languages:
- German: Das Forkful programming Kochbuch
- Hindi: फोर्कफुल प्रोग्रामिंग रेसिपी
Individual Cookbooks:
- Spanish / Python: Python: Recetas de programación Forkful
- Swedish / Python: Python: Forkful Programmeringsrecept
Topics:
- Japanese / Ruby / Interpolating a string: Ruby: 文字列の補間
- Japanese / Elixir / Interpolating a string: Elixir: 文字列の補間
- Hebrew / Ruby / Interpolating a string: Ruby: סטרינג אינטרפולציה
- Hebrew / Elixir / Interpolating a string: Elixir: מינתח תחריט סדרתי
With this architecture, it’s easy to add a new item in any of the three dimensions—query OpenAI, push a commit and deploy.