alltheseas/Page-a-Day

Provide book [feature request]

Opened this issue · 3 comments

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

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

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.

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