https://github.com/acdh-oeaw/dse-static-cookiecutter

Cookiecutter template for a Static-Site Digital Scholarly Edition

https://github.com/acdh-oeaw/dse-static-cookiecutter

Science Score: 57.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
    Found 3 DOI reference(s) in README
  • Academic publication links
    Links to: zenodo.org
  • Academic email domains
  • Institutional organization owner
    Organization acdh-oeaw has institutional domain (www.oeaw.ac.at)
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (13.6%) to scientific vocabulary

Keywords

cookiecutter dse-static
Last synced: 9 months ago · JSON representation

Repository

Cookiecutter template for a Static-Site Digital Scholarly Edition

Basic Info
  • Host: GitHub
  • Owner: acdh-oeaw
  • Language: XSLT
  • Default Branch: main
  • Homepage:
  • Size: 14.3 MB
Statistics
  • Stars: 12
  • Watchers: 5
  • Forks: 4
  • Open Issues: 3
  • Releases: 13
Topics
cookiecutter dse-static
Created over 4 years ago · Last pushed 10 months ago
Metadata Files
Readme

README.md

DOI

DSE-Static-Cookiecutter

Cookiecutter template for a Static site generator powered by TEI/XML files

What is this for

The 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-CH. 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.

Quickstart

[!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.

  • Install the latest Cookiecutter if you haven't installed it yet (this requires Cookiecutter 2.1.0 or higher) by running pip install -U cookiecutter
  • To generate a new dse-static-site project run cookiecutter gh:acdh-oeaw/dse-static-cookiecutter and 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.

Features

  • 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
  • Digital Edition Micro-Editor for customization of interactive features is enabled; contributed by @linxOD
  • Geovisualization of places via leaflet.js powered maps; contributed by @cfhaak and @kisram
  • Ships with an Oxygen XML Editor project .xpr including some transformation scenarios for local development/testing of TEI to HTML transformations.

Full Text Search

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-CH 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.

Projects using DSE-Static-Cookiecutter (by start date)

2021

  • https://schnitzler-tagebuch.acdh.oeaw.ac.at (ongoing)
  • https://schnitzler-lektueren.acdh.oeaw.ac.at

2022

  • https://rita.acdh.oeaw.ac.at
  • https://thun-korrespondenz.acdh.oeaw.ac.at
  • https://amp.acdh.oeaw.ac.at (finished 2024)
  • https://schnitzler-briefe.acdh.oeaw.ac.at (ongoing)
  • https://schnitzler-bahr.acdh.oeaw.ac.at (ongoing)

2023

  • https://b-vg.acdh.oeaw.ac.at (ongoing)
  • https://hanslick.acdh.oeaw.ac.at (ongoing)
  • https://kaiserin-eleonora.oeaw.ac.at (ongoing)
  • https://ofm-graz.acdh.oeaw.ac.at

2024

  • https://akademieprotokolle.acdh.oeaw.ac.at (ongoing)
  • https://grazer-nuntiatur.acdh.oeaw.ac.at
  • https://gtrans.acdh.oeaw.ac.at
  • https://maechtekongresse.acdh.oeaw.ac.at
  • https://sappho-digital.com
  • https://staribacher.acdh.oeaw.ac.at
  • https://tillich-briefe.acdh.oeaw.ac.at (ongoing)
  • https://tillich-lectures.acdh-dev.oeaw.ac.at (ongoing)
  • https://wmp1.acdh.oeaw.ac.at

2025

  • https://daacda.acdh.oeaw.ac.at
  • https://nuntiatur-pius-xi.acdh.oeaw.ac.at
  • https://schnitzler-interviews.acdh.oeaw.ac.at
  • https://wienerschnitzler.org
  • https://www.kraus.wienbibliothek.at

Owner

  • Name: Austrian Centre for Digital Humanities & Cultural Heritage
  • Login: acdh-oeaw
  • Kind: organization
  • Email: acdh@oeaw.ac.at
  • Location: Vienna, Austria

GitHub Events

Total
  • Create event: 11
  • Release event: 3
  • Issues event: 21
  • Watch event: 4
  • Delete event: 11
  • Issue comment event: 6
  • Push event: 32
  • Pull request review event: 1
  • Pull request event: 17
Last Year
  • Create event: 11
  • Release event: 3
  • Issues event: 21
  • Watch event: 4
  • Delete event: 11
  • Issue comment event: 6
  • Push event: 32
  • Pull request review event: 1
  • Pull request event: 17

Issues and Pull Requests

Last synced: 9 months ago

All Time
  • Total issues: 60
  • Total pull requests: 36
  • Average time to close issues: 2 months
  • Average time to close pull requests: about 3 hours
  • Total issue authors: 5
  • Total pull request authors: 6
  • Average comments per issue: 0.5
  • Average comments per pull request: 0.06
  • Merged pull requests: 33
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 13
  • Pull requests: 11
  • Average time to close issues: 3 days
  • Average time to close pull requests: about 3 hours
  • Issue authors: 3
  • Pull request authors: 3
  • Average comments per issue: 0.08
  • Average comments per pull request: 0.0
  • Merged pull requests: 10
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • csae8092 (33)
  • martinantonmueller (17)
  • cfhaak (2)
  • dominikfill (2)
  • linxOD (1)
Pull Request Authors
  • csae8092 (31)
  • dominikfill (6)
  • linxOD (4)
  • cfhaak (3)
  • kisram (1)
  • martinantonmueller (1)
Top Labels
Issue Labels
enhancement (17) bug (6) documentation (2) wontfix (2) facility management (1) help wanted (1)
Pull Request Labels

Dependencies

Dockerfile docker
  • python 3.10-bullseye build
{{cookiecutter.directory_name}}/requirements.txt pypi
  • acdh-tei-pyutils *