Coder Social home page Coder Social logo

jzin's Introduction

jzin

jzin logo

jzin is ultimately a script to convert specially-formatted JSON into a PDF. Specifically, these PDFs are expected to be used to print as books, small booklets, zines, etc. As such, it also handles complex layout and page ordering in order to facilitate concepts like N-up printing, signatures, and so on.

diagram showing jzin creating a pdf

jzin2pdf

This is the main script which generates the PDF based on the jzin JSON file. It does this with the powerful perl module PDF::API2.

jzinDesigner

This is a web app used to manipulate jzin files via a simple user interface.

Generators

The generators directory contains tools to create jzin from various sources of data, such as social media feeds, etc.

More info

Information and demonstrations can be found at jzin.org.

jzin makes use of (and, in fact, spawned) BookPageOrder for page-layout and ordering.


To-Do: pre-launch

  • Instagram import
  • RSS import
  • Strip newlines from text
  • Gutters
  • Preferences
    • Language
  • Template pager disabled on 1-page templates
  • Better text UI
    • Deprecate overflow/wrap for now (?)
  • Fix doc buttons to be toggles instead (e.g. index page)
    • TOC should be disabled until chapter pages exist
  • Image UI
    • Better image options (fitInto etc)
  • Add/Remove elements on page
    • Expand undo buffer
  • UTF-8 not working on feeds (e.g. RSS)
  • Book signatures
  • Bug squashing
    • Remove delete from template-edit mode (image/text)
    • Fonts not affective on startup
    • Index not wrapping sometimes
    • 2-page templates not showing page-prev-next on startup
    • Disallow editing of index (kinda?)
    • Move page should be disabled for special pages (index, TOC)
    • Delete pages should delete "companions" (e.g. back of chapter page)
    • Disable/cursor/wait while printing
  • Web presence (minimal)

To-Do: future wishlist

  • Add images (url, upload, paste)
  • Add fonts (url, upload)
  • Index/toc field on text (and image?) options
  • Edit font/style of index/chapter/toc/etc sticks
  • Allow delete/add of elements in template mode
  • SVG support
  • Mixed fonts/weight/etc
    • Markdown support
    • Emoji
  • Twitter import
  • Halftoning of images (in frontend/js? backend?)
  • Clipping images
  • TOC into PDF
  • Web presence - expanded
  • Graphic support (lines, circles, etc.)
  • Rotation
  • Maybe improvements to have real undo? (all operations)
  • Handle multi-image posts (e.g. Instagram carousels)
  • Port jzin-to-pdf to JS with pdf-lib??

jzin's People

Contributors

naknomum avatar

Stargazers

 avatar  avatar

Watchers

 avatar

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.