Code Monkey home page Code Monkey logo

Comments (10)

Cantido avatar Cantido commented on June 15, 2024

We could really easily generate a PDF using Asciidoctor, too. That has a ruby API.

from notebook.

Cantido avatar Cantido commented on June 15, 2024

Basically anything that has a ruby API we could write a converter for, I don't think that would be any issue at all. I think the most work would go into structuring the output in a useful & interesting way.

from notebook.

drusepth avatar drusepth commented on June 15, 2024

Oooooooh, I really like the idea of a PDF. We could generate a table of contents, make it look gorgeous (after our MVP to just get data to users), and make it a legit feature. I'm thinking similar to those D&D books you can buy, where it's just a big, gorgeous tome of info about people, creatures, places, and items.

from notebook.

Cantido avatar Cantido commented on June 15, 2024

I'm really excited for this now. Also, I'm thinking some kind of nested navigator that lets you check/uncheck categories for export would be appreciated.

from notebook.

drusepth avatar drusepth commented on June 15, 2024

e.g.
pathfinderpage1

from notebook.

Cantido avatar Cantido commented on June 15, 2024

Yeah I see what you mean. We can definitely do this. Also just exporting the generated Asciidoc text would let users supply their own CSS, so they can take it and polish it up however they want.

from notebook.

drusepth avatar drusepth commented on June 15, 2024

Yeah, for sure. We should check everything by default in a list of

  • Universes
  • Characters
  • Locations
  • Items

and let them select/deselect content types, but also expand each (accordion-style) and check/uncheck specific pieces of content to export also.

from notebook.

drusepth avatar drusepth commented on June 15, 2024

So I think our initial data export formats should be

  • JSON blob of all universes, characters, locations, and items (replacing relation IDs with relation names)
  • CSV format for each content type (characters.csv, locations.csv, etc). Zip if we can, otherwise just let them download one at a time.
  • Human-readable outline format using a hierarchy going down from universes, e.g.
Universes
  Tudor Universe
    Characters
      Mr. Tudor
        Age: 85
        ...
      Mrs. Tudor
        Age: 82
        ...
      ... (other characters)
    Locations
      ...
    Items
      ...
  Second Universe
    ... (same)

  Other Universes (for content without a universe)
    ... (same)

Once we have those two knocked out, we can start planning an awesome PDF export (with the above selecting/deselecting of content to include) to blow users away with.

from notebook.

Cantido avatar Cantido commented on June 15, 2024

Another suggested format: org-mode

from notebook.

drusepth avatar drusepth commented on June 15, 2024

The exporter has been done & live for some time now. Lets leave future improvements to their own issues (e.g. #219).

from notebook.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.