alltheseas / Page-a-Day

Automated daily publication of book page(s) on nostr. Zappable by readers. Zaps go to book author.
GNU General Public License v3.0
2 stars 0 forks source link

Provide book [feature request] #1

Open alltheseas opened 1 year ago

alltheseas commented 1 year ago

User Story

As a book author, I can provide a digital copy of a book that I would like to share on nostr, so that Page-a-Day can publish pages of my book daily.

Acceptance Criteria

  1. Author can upload a digital copy of their book, OR
  2. Author can link to a digital copy of their book, and
  3. Author sees that the book was detected successfully.

questions Which format is the book upload in? Where is the book stored? Is a hyperlink to a file easier to start with than upload?

@fryheid

fryheid commented 1 year ago

Which format is the book upload in? I recently worked with some pdf parsing, so I know for sure that works well, although I have to test out parsing one page at a time. Later on we can look into epubs.

Where is the book stored? I'm still going back on forth on storing the books on relays, a relay of our own or a database

Is a hyperlink to a file easier to start with than upload? Upload is easier for me start with

alltheseas commented 1 year ago

One question that I do not know the answer to is does the author publish from a specific npub associated with the book, or from their personal npub.

Currently multiple profiles is not widely supported in nostr clients.

fryheid commented 1 year ago

I actually have epubs working instead of pdfs, but the structure is not always a one size fits all. Do we want to use kind-23 for markdown support or do we post everything as kind-1 plain text?

Books will be stored on a database