An open API service indexing awesome lists of open source software.

https://github.com/nakamura196/dts-typescript

Distributed Text Services (DTS) API for the TEI/XML files available in the Kouigenji Monogatari Text DB
https://github.com/nakamura196/dts-typescript

dts tei xml

Last synced: about 1 month ago
JSON representation

Distributed Text Services (DTS) API for the TEI/XML files available in the Kouigenji Monogatari Text DB

Awesome Lists containing this project

README

          

# dts-typescript

[Distributed Text Services (DTS)](https://dtsapi.org/) v1.0 API implementation for the TEI/XML files available in the [Kouigenji Monogatari Text DB](https://kouigenjimonogatari.github.io/) (校異源氏物語テキストDB).

Multiple citation trees are supported:
- **Default**: page / line navigation
- **Waka** (`tree=waka`): navigation by waka (tanka) poems embedded in the text (``)

## 🌐 Website

[Visit the demo page](https://dts-typescript.vercel.app/api/dts) to try it out.

## Setup

```bash
npm install
```

## Development Server

Start the development server on http://localhost:3403

```bash
npm run dev
```

## Test

```bash
npm test
```

## Deploy

```bash
vercel deploy
```