Git Product home page Git Product logo

rm-zoterosync's Introduction

rm-zoterosync

I made this because I wanted to be able to get my zotero library onto my reMarkable and I did not want to use a cloud server to do so. This is possible because you can ssh into a reMarkable and run any executable that is compiled for Linux ARMv7.

How to run it on your reMarkable

Download the executable from here. Copy it on your reMarkable using scp and run it with rm-zoterosync & so that it executes in the backgroud.

You have to specify 2 environment variables before running it on your reMarkable: ZOTERO_USERID (which is not your username and you can find it at here) and ZOTERO_APIKEY.

Some weird decisions I took

  • The go code will only sync your zotero collections for which a folder in your remarkable exists with the exact same name.
  • All the files that are downloaded from Zotero are saved in My Files and not inside any folder, this is due to the fact that I can't specify the folder I want to use when using the upload API provided by the WebUI.
  • All the files that you want to sync should have a public URL present in their Zotero metadata. (This could be modified if this utility downloaded the files directly from Zotero, but it was not neccessary for me)

Compile from source

If you want to compile the source code on your own you have to use the Go compiler and set these environment variables before compiling: GOOS="linux", GOARCH="arm" and GOARM=7

rm-zoterosync's People

Contributors

maaarcocr avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar

Forkers

onyiny-ang

rm-zoterosync's Issues

json: cannot unmarshal string into Go struct field ZoteroDirData.parentCollection of type bool

Hi!

thanks for a nice repo.

I was trying to use your code, I have scp'd the rm-zoterosync to my remarkable (to ~/.), i have exported the ZOTERO_USERID and ZOTERO_APIKEY, created the folder My Library in my reMarkable.

When i run ./rm-zoterosync i get json: cannot unmarshal string into Go struct field ZoteroDirData.parentCollection of type bool - does that tell you anything? :)

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.