Skip to content

gvinaccia/lines-parser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Lines Parser

an unofficial parser for .lines binary files for reMarkable paper tablet

currently only a basic renderer works but the output is usable

Installing

the package is available on npm, you can install either via npm: npm install lines-parser or yarn: yarn add lines-parser

How to use

the following command will parse the file at linesFilePath and create a png for each page in the file in the directory specified by outputPath, the promise returned will resolve an object for each page

parse(linesFilePath, outputPath)
    .then(result => {
        for (const page of result.paths) {
            console.log(page.path);
        }
    })

Todo

  • page templates
  • handling pressure for lines
  • stroke texturing
  • ...

Credits

thanks to @ax3l for the great article

About

an unofficial parser for .lines binary files for reMarkable paper tablet

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published