Cookiecutter template for a Static site generator powered by TEI/XML files
uvx cookiecutter gh:acdh-oeaw/dse-static-cookiecutterThe current repo should ease the process of publishing TEI/XML encoded files as a Static-Site Application using mainly XSLT to generate static HTML files.
Important
DSE-Static-Cookiecutter is developed for digital editions projects run at the ACDH. Therefore some parts of the code (especially the usage imprint service {{cookiecutter.directory_name}}/shellscripts/dl_imprint.sh) won't work properly outside of our institutional context.
Important
DSE-Static-Cookiecutter is tested to work on Linux/Mac. To make it work on Windows you'll need to change some parts of the initial setup.
- Make sure you have uv as Python package and project manager installed
- To generate a new dse-static-site project run
uvx cookiecutter gh:acdh-oeaw/dse-static-cookiecutterand answer the appearing questions - Change into the created directory, have a look at the README.md in this directory and start developing/customizing your great digital editions project.
- Generate HTML files from your TEI/XML documents using XSLT
- GitHub Actions workflows are configured to
- build your application and serve them via GitHub Pages
- bake your application into a Dockerfile publish it via GitHub's container registry.
- XSLTs provided by DSE-Static-Cookiecutter are designed in a modular fashion, trying to avoid code duplications
- Recent version of Bootstrap implemented
- Opinionated way to organize data/code; but everything can be changed/overwritten/customized
- Handling of indices for persons, places, organizations, or works is included
- Search and filterable overview pages of your editions (table of contents) and indices
- Example code on how to implement a faceted full-text search powered by Typesense
- Geovisualization of places via leaflet.js powered maps; contributed by @cfhaak and @kisram
- Ships with an Oxygen XML Editor project
.xprincluding some transformation scenarios for local development/testing of TEI to HTML transformations.
As mentioned above, DSE-Static-Cookiecutter implements a faceted full text search with Typesense. This breaks of course the static site paradigme but as ACDH we are confident to keep our own typesense instance up and running for a long time. If you don't have your own typesense instance you could have a look at https://cloud.typesense.org/.
Alternatively you could rewrite the XSLT's to produce valid XHTML files and implement a powerful full text search using the awesome staticSearch.
Previouse versions of DSE-Static-Cookiecutter shipped with an option to implement staticSearch but this had to be dropped due to limited maintainance resources.
- Try out Digital Edition Micro-Editor for customization of interactive features
- Lesen im Alpental
- Die Korrespondenz von Leo von Thun-Hohenstein
- A Digital Edition of W. H. Auden's Letters to Stella Musulin
- Arthur Schnitzler: Briefe (ongoing)
- Hermann Bahr – Arthur Schnitzler
- Die Entstehung des Bundes-Verfassungsgesetzes 1920 (ongoing)
- Hanslick Online (ongoing)
- Die Korrespondenz der Kaiserin Eleonora Magdalena (1655–1720) (ongoing)
- Choralhandschriften und Drucke der Zentralbibliothek der Wiener Franziskanerprovinz Graz
- Sitzungsprotokolle der Österreichischen Akademie der Wissenschaften (ongoing)
- Grazer Nuntiatur: Korrespondenz 1580–1602
- Die große Transformation
- Mächtekongresse 1818–1822
- Josef Staribacher: Tagebücher
- Paul Tillich: Korrespondenz 1886–1933 (ongoing)
- Religion and Culture by Paul Tillich (ongoing)
- Das erste Wiener Merkantilprotokoll
- Downed Allied Air Crew Database Austria 1940–1945
- Nuntiatur Pius XI: Korrespondenz 1923–1936
- Arthur Schnitzler: Interviews
- Wiener Schnitzler – Schnitzlers Wien
- Karl Kraus: Rechtsakten der Kanzlei Oskar Samek
- Arthur Schnitzler: Kulturveranstaltungen
- Auden in Austria Digital (ongoing)
- Karl Kraus 1933: Dritte Walpurgisnacht (ongoing)
- Oberkammeramtsrechnungsbücher der Stadt Wien 1424 bis 1768
- Die Protokolle des österreichischen Kabinettsrates 1919–1920 (ongoing)
- Digitale Edition des Tagebuchs von Max Kalbeck (1896–1897) (ongoing)
- Leopold I. Korrespondenz (ongoing)
- Digitale Karl Kraus Bibliographie (ongoing)
- Letters 1916 (conversion to static)
- Die Ministerratsprotokolle 1848–1918 (conversion to static)
dse-static-cookiecutter is licensed under the MIT License. See the LICENSE file for details. Be aware that this does not apply to third party libraries included in this project as Saxon or CSS/JS libraries included in vendor.