Commit Graph

169 Commits

Author SHA1 Message Date
Johannes Zillmann
ae6d47d329 Change dev port from 8080 to 3005 2021-01-08 17:36:28 +01:00
Johannes Zillmann
e1d464696a Upgrade Svelte 2021-01-08 17:36:10 +01:00
Johannes Zillmann
42f54e6b38 Load Example PDF 2021-01-06 22:40:09 +01:00
Johannes Zillmann
66c6e7577f Fix metadata retrieval 2021-01-04 23:06:24 +01:00
Johannes Zillmann
84569ac482 makeup 2021-01-04 23:05:27 +01:00
Johannes Zillmann
989e14e295 Directly link to core 2021-01-04 23:02:31 +01:00
Johannes Zillmann
ace930bd57 minimal tailwind config 2021-01-03 20:09:46 +01:00
Johannes Zillmann
e6ce7132ce Show parse results 2021-01-03 20:09:35 +01:00
Johannes Zillmann
26e5b785cd Initial UI module 2021-01-03 14:18:22 +01:00
Johannes Zillmann
0aa56386c7 Publish utilities 2021-01-03 14:10:02 +01:00
Johannes Zillmann
a3695a4a56 Initial pdfJs integration 2020-12-20 19:18:38 +01:00
Johannes Zillmann
f988bd565e Core project setup
* `ts`, `jest`, `prettier` and `tslint`
* Used resources
  * https://itnext.io/step-by-step-building-and-publishing-an-npm-typescript-package-44fe7164964c
  * https://til.hashrocket.com/posts/lmnsdtce3y-import-absolute-paths-in-typescript-jest-tests
2020-12-19 14:06:40 +01:00
dependabot[bot]
ea67f4b244 Bump eslint from 3.15.0 to 4.18.2 (#13)
Bumps [eslint](https://github.com/eslint/eslint) from 3.15.0 to 4.18.2.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v3.15.0...v4.18.2)

Signed-off-by: dependabot[bot] <support@github.com>
2019-11-08 18:53:51 +01:00
Christian Oliff
4faf64932e Fix typo (#12) 2019-11-08 18:02:31 +01:00
Johannes Zillmann
2869b5e5de Upgrade pdfjs from 1.7.246 to 2.0.489
* Required web pack 2+ => updated to 3
* Add web pack-dev-server to be able to test worker.js stuff
2018-04-25 23:52:44 +02:00
Johannes Zillmann
b1bcb5388d Set title empty if its null 2018-04-25 23:47:03 +02:00
Johannes Zillmann
315db62d78 Release 0.1.1 2017-05-02 19:30:05 +02:00
Johannes Zillmann
ecde2ea0f5 Prevent headline detection code from detecting headline > 6 2017-05-02 19:26:11 +02:00
Johannes Zillmann
908f0b4be1 Add favicon 2017-05-02 19:19:57 +02:00
Johannes Zillmann
d7ad8088a8 Menu cleanup 2017-05-02 19:19:45 +02:00
Johannes Zillmann
66022d0deb Release 0.1 2017-04-01 22:07:18 +02:00
Johannes Zillmann
46a965785a Cleanups & readme
* Move line-item transformations to own package
* Have WordFormat names instead of whole enum in globals
* Rename PdfUploadView to UploadView
* Correct license
2017-03-30 07:40:41 +02:00
Johannes Zillmann
cf5d81a1bb Add License 2017-03-30 06:55:38 +02:00
Johannes Zillmann
32b55b3efc Create CNAME 2017-03-29 08:41:03 +02:00
Johannes Zillmann
ef0bd7ebbe Add example files 2017-03-29 08:17:14 +02:00
Johannes Zillmann
5ef6c362b0 Affix for debug panel 2017-03-29 08:15:39 +02:00
Johannes Zillmann
96d4f72889 Fix loading when PDF has non-resolvable fonts
* Sometimes pdf.js gave fontId like Helvetica & Times instead of g_d0_f1, etc…, but those never got resolved through the callback. Now we simply ignore those.
* Also fixed that no fonts could be parsed
2017-03-29 08:11:14 +02:00
Johannes Zillmann
c4c23ac6ee Add Footer & some messaging 2017-03-29 08:08:55 +02:00
Johannes Zillmann
a0c5bb29d6 rename element type to block type 2017-03-28 09:11:00 +02:00
Johannes Zillmann
c4679238cd Improve list detection
* Add ‘ ‘ on compact lines when line starts with list character
* Add – as list character
* rename functions.jsx to stringFunctions.jsx
2017-03-28 09:00:21 +02:00
Johannes Zillmann
106e2bfa8e separate type and format for a word 2017-03-28 08:15:27 +02:00
Johannes Zillmann
9dbc57b4fe [DONE] format words properly 2017-03-28 06:11:42 +02:00
Johannes Zillmann
09facb09b4 WIP Introduce word/wordType/lineItem
* Way to do the markdown transformation of inline formats (bold, italic, link, footnote, etc..) at the end and not in the middle
* Introduce StashingStream as a helper
2017-03-27 07:34:58 +02:00
Johannes Zillmann
fde670e83f [DONE] fix formatting - all functionality restored*
* the formats in code/quote blocks are still disturbing…
2017-03-24 21:06:35 +01:00
Johannes Zillmann
e144d6a6d5 [WIP] stabilized formatting 2017-03-24 13:31:56 +01:00
Johannes Zillmann
10cc7cf0ab [WIP] first draft complete formats transformation 2017-03-24 12:30:35 +01:00
Johannes Zillmann
81518a857b [WIP] don’t make paragraph bolds to headline 2017-03-24 08:06:54 +01:00
Johannes Zillmann
e19294f35f [WIP] remove old stuff 2017-03-24 08:05:59 +01:00
Johannes Zillmann
bd7d9bc0e9 [WIP] Switch order of Debug & Result view 2017-03-24 07:08:54 +01:00
Johannes Zillmann
d927b45087 [WIP] use fontMap to map fonts to formats 2017-03-22 20:08:34 +01:00
Johannes Zillmann
b5bb56b647 [WIP] parse metadata & display title 2017-03-22 07:19:21 +01:00
Johannes Zillmann
94c2561717 [WIP] store font-map in appState 2017-03-21 23:12:45 +01:00
Johannes Zillmann
a35ecd28b6 [WIP] add headers for all Uppercase lines 2017-03-20 07:10:43 +01:00
Johannes Zillmann
07e7fbb505 [WIP] Add remove whitespace and detect links again 2017-03-18 08:56:08 +01:00
Johannes Zillmann
4600dc6ee7 [WIP] headline detection for non TOC pdfs 2017-03-16 07:40:57 +01:00
Johannes Zillmann
77576ebd7e [WIP] Headlines for title pages 2017-03-16 07:08:46 +01:00
Johannes Zillmann
1eda51c0b4 [WIP] detect more headlines with already detected heights 2017-03-16 06:52:45 +01:00
Johannes Zillmann
a9b851ceb6 [WIP] robustify TOC headline finding 2017-03-16 06:01:07 +01:00
Johannes Zillmann
dbd9d8bf5f [WIP] find not found TOC-Headers by size 2017-03-15 08:42:46 +01:00
Johannes Zillmann
93f15a38b5 [WIP] move different typed transformations to different folders 2017-03-15 06:09:18 +01:00