commit dd536a47ad423e06ac4ec5e96b98a084cff7cd46 Author: nate smith Date: Wed Jan 31 20:23:20 2024 -0800 initial commit diff --git a/README.md b/README.md new file mode 100644 index 0000000..cbc836f --- /dev/null +++ b/README.md @@ -0,0 +1,33 @@ +# Trunkless + +_being a web-based tool for making cut-up poetry using the entire1 Project Gutenberg collection of English books._ + +Trunkless is a spiritual successor to [prosaic](https://github.com/vilmibm/prosaic). + +This repository contains code for: + +- processing the Gutenberg corpus +- creating and accessing a large `sqlite3` corpus of lines +- hosting a web front-end + +The actual Gutenberg collection of books can be found at [The Internet Archive](https://archive.org/details/pg_eng_txt_2024). + +## TODO + +- [ ] ingest + - [ ] strip header/footer + - [ ] emit clean lines of appropriate length + - [ ] associate lines with book metadata + - [ ] db schema +- [ ] server + - [ ] `/` + - [ ] `/line` +- [ ] front-end + - [ ] dark/light mode toggle + - [ ] cookie for dark/light mode + - [ ] editing interface + - [ ] save feature (as plaintext, as image) + - [ ] `htmx` or just raw ajax for accessing `/line` + - [ ] font and icon styling + +_1 as of January, 2024_ diff --git a/index.html b/index.html new file mode 100644 index 0000000..13c2489 --- /dev/null +++ b/index.html @@ -0,0 +1,35 @@ + + + + Trunkless + + + +

Trunkless

+
+ about + light|dark +
+

+ + + +

+

+ todo, dna display +

+
+
+ + + + diff --git a/main.js b/main.js new file mode 100644 index 0000000..70b786d --- /dev/null +++ b/main.js @@ -0,0 +1 @@ +// TODO