Coder Social home page Coder Social logo

paperify's Introduction

CURRENTLY NOT UNDER ACTIVE DEVELOPMENT

Paperify

dependencies Status License: GPL v3

About

A lightweight, yet powerful markup and document conversion web interface (React) using Pandoc at the backend.

Developement

After cloning do

$ yarn && yarn start

then navigate your browser to http://localhost:4200.

Production

Run

$ yarn build

then copy the build files from build/ to your webserver

paperify's People

Contributors

angular-cli avatar jmuccigr avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

paperify's Issues

Make location of index.html relative instead of absolute?

The index.html file currently includes: <base href="/">. On my local installation, I prefer to have it in a subdirectory, so I made this into <base href=".">. Everything seems ok. You could even eliminate it entirely and all seems well.

Is there some reason to include it?

File Upload

Add possibility to convert formats which cannot be represented as text like DOCX files.

Site not processing

@olastor, The site is currently not producing any output:

headers: t {normalizedNames: Map, lazyUpdate: null, lazyInit: function, has: function, get: function, …}
message: "Http failure response for https://www.paperify.org/api/list/params: 502 HTTP/2.0 502"
name: "HttpErrorResponse"
ok: false
status: 502
statusText: "HTTP/2.0 502"
url: "https://www.paperify.org/api/list/params"

Backend error

(I'm assuming you want backend issues over here too.)

Trying to get this running locally and I run into this error:

[Error] Failed to load resource: the server responded with a status of 404 (Not Found) http://localhost:3002/temp/4e1d2ac0191eea22b0462ddbdff8ba38664f6a949d697ce9958040996a00d971.pdf

The problem here is that there is no such file. Instead a perfectly fine PDF is sitting in the cache folder (cleverly called "cache" on my system), inside a folder with that nice random string as a name, and itself named "document.pdf".

Extra blank slide in beamer

The following creates a blank slide after the title slide in beamer output, but not on my local pandoc installation:

---
title: My Presentation
author: Me!
---

# Heading

- one
- two
- three

-----

hi

-----

bye

Additional command line parameters disappear.

The additional command line parameters disappear after closing the settings window. They are still applied and stored internally, but I can't edit them.

Steps to reproduce:

  1. Enter additional command line parameters in the settings window.
  2. Save and close the window.
  3. Open the settings window again. The parameters are gone.

By the way I love this service. Great work!

Long wait with no feedback

I have short document with a few wikimedia commons images. Once I start the conversion, I get the yellow spinning bar on the right, but after it stops, I have to wait for close to a minute to see the output PDF. I'm not sure what's going on, maybe the images are big, but there should be some feedback to the user that the site is still responding. My own install of pandoc took just a few seconds.

Chrome problem and multiple images

Chrome seems to barf on some images in the document. For example, the following short document produces nothing on the PDF side. Works fine in Safari.

---
title: Test
subtitle: How many is too many?
date: Wednesday, 21 February 2018
---

![caption](https://upload.wikimedia.org/wikipedia/commons/b/b7/Manly_Palmer_Hall_collection_of_alchemical_manuscripts%2C_1500-1825_%281600%29_%2814590663419%29.jpg)

I noticed it when I was loading a page with multiple image. I wonder if it's a character in the filename.

--pdf-engine generates an error

An error occurred:

pandoc: unrecognized option `--pdf-engine=xelatex'
Try pandoc --help for more information.

Ditto for latex-engine.

(Loving the beamer output!)

Extra page inserted after incremental list in beamer

An incremental list followed on the same page by delayed text results in an extra, duplicate of the page with all list items on it, before the following text appears on the next slide. Minimal case:

- Ad vestibulum ornare fugiat
- consequat fringilla lacinia 

. . . 

nibh habitasse est proin tristique hendrerit. Porta facilisis scelerisque massa convallis pellentesque imperdiet imperdiet egestas conubia quisque magnis pharetra praesent tempus duis dis vestibulum morbi, pulvinar maecenas nulla fringilla. Irure dignissim laboris congue nisi commodo inceptos placerat adipisicing diam eros proident justo risus congue ultrices adipisicing pharetra potenti gravida, class nam nostra pretium.

Losing bottom of markdown page

Sometimes markdown content will extend off the screen, but the screen won't scroll. A resize will fix it, but then it will happen again.

Safari 11.0.3 on MacOS 10.13.3

Parameter check boxes

pandoc's parameters are typically either on/off switches (like --incremental) or options (like slide-level). For ease of use, provide checkboxes or radio buttons to select them, instead of having the user type them in. It relieves the user of having to know or look up what the parameters are.

This could be handled by a pop-up window or just a roll-up section at the top of the page.

If you're trying to make it easy to use pandoc to generate PDFs, might as well go further!

Native download doesn't work in Safari

MacOS 10.13.3, Safari 11.0.3

The (right-hand-side) PDF doesn't download when I click on Safari's usual download icon on the document. The download button on the left heading does work though.

In Chromium the native PDF download method works fine.

In FireFox, the PDF doesn't even display for me.

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.