Giter VIP home page Giter VIP logo

lines-are-rusty's Introduction

Lines Are Rusty

Re-implementation of https://github.com/ax3l/lines-are-beautiful in Rust.

Very, very early version. Just for the fun of it, with great contributions from Tim Ryan @tcr .

File format: https://plasma.ninja/blog/devices/remarkable/binary/format/2017/12/26/reMarkable-lines-file-format.html

Install via Cargo

Install rustup: https://rustup.rs/

cargo install --git https://github.com/ax3l/lines-are-rusty.git --branch develop

# Binary should now be available on your path
lines-are-rusty --help

Usage

# Render SVG from notebook page
lines-are-rusty notebook-page.rm -o notebook-page.svg

# Render PDF from notebook page
lines-are-rusty notebook-page.rm -o notebook-page.pdf

lines-are-rusty's People

Contributors

ax3l avatar davidrusu avatar nwoeanhinnogaehr avatar siraben avatar tcr avatar th-we avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

lines-are-rusty's Issues

Binaries

Would you mind to provide binaries?
While I was able to compile the program on Linux I was not on Windows (due to restriction policy).

Update to .rM v5 format

It would be great if you could reverse-engineer the .rM v5 format. The tables here seem to work, modulo the Skip entries.

Default values for custom colors missing

Hello! Thanks for your work on this project :)

Running the READMEs example on one of my notebooks with the current develop branch does not work, as -c seems to be a required parameter now.

$ lines-are-rusty notebook-page.rm -o notebook-page.pdf
Expected 5 colors per layer (black, grey, white, blue, red). Found: 

I've reviewed the last commits diff in bc6b33f, trying to pass values from the Default impl below, but that does not work as well:

$ lines-are-rusty -c "black,#bfbfbf,white,#0062cc,#d90707" notebook-page.rm -o notebook-page.pdf 
Error: Failed to parse lines data

Caused by:
    Unknown color: 4

The error seems to be raised from

impl TryFrom<i32> for Color {
, but I don't yet understand how it's caused.

Is this expected behavior, I am doing something wrong?

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.