initial commit
This commit is contained in:
commit
dd536a47ad
33
README.md
Normal file
33
README.md
Normal file
@ -0,0 +1,33 @@
|
||||
# Trunkless
|
||||
|
||||
_being a web-based tool for making cut-up poetry using the entire<sup>1</sup> 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
|
||||
|
||||
_<sup>1</sup> as of January, 2024_
|
35
index.html
Normal file
35
index.html
Normal file
@ -0,0 +1,35 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>Trunkless</title>
|
||||
</head>
|
||||
<body>
|
||||
<div id="blueprint" style="display:none">
|
||||
<div class="linecontainer">
|
||||
<span class="linecontrols">
|
||||
<button id="pin">pin</button>
|
||||
<button id="edit">edit</button>
|
||||
<button id="move">move</button>
|
||||
</span>
|
||||
<span class="linetext"></span>
|
||||
</div>
|
||||
</div>
|
||||
<h1>Trunkless</h1>
|
||||
<div id="pagecontrols">
|
||||
<a href="/about">about</a>
|
||||
<a id="togglescheme" href="/#togglescheme">light|dark</a>
|
||||
</div>
|
||||
<p id="poemcontrols">
|
||||
<button id="regen">regen</button>
|
||||
<button id="new">new</button>
|
||||
<button id="save">save</button>
|
||||
</p>
|
||||
<p id="dna">
|
||||
todo, dna display
|
||||
</p>
|
||||
<div id="lines">
|
||||
</div>
|
||||
<script src="/main.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
|
Loading…
x
Reference in New Issue
Block a user