GliderGeek / pocket2rm

get articles from read-later platform pocket to the remarkable paper tablet
MIT License
187 stars 15 forks source link

simplify installation process #7

Open GliderGeek opened 4 years ago

GliderGeek commented 4 years ago

currently difficult for someone without programming knowledge. potential improvements:

faroit commented 4 years ago

I wonder if it would be easier to just send via the remarkable cloud and use rmapi to send the docs?

GliderGeek commented 3 years ago

i think it depends on your needs. the reason i like pocket a lot is that there are existing integrations for my other devices (and i already had an account there):

getting this to work on my phone with a push to remarkable cloud is a bit difficult i think.

faroit commented 3 years ago

Not clear if I understand what you are saying: Are you running this tool on your phone? I guess not. What I meant its replacing the ssh connection within this package with rmapi or rmapy to simplify installation process on the backend side. This could also be additional. But using the rm cloud to send files seems more flexible to me.

GliderGeek commented 3 years ago

ok, i misinterpreted your comment. interesting idea, will think about it.

r4v5 commented 3 years ago

Would you be willing to use github actions / github releases to build a pre-compiled version of the ARM binary? Downside is you'd also probably need to start versioning them, which can be a hassle.

GliderGeek commented 3 years ago

Yeah i would be open to that. Would that help a lot? I guess it would be mainly helpful if all go binaries were present (also pocket2rm-setup for windows/mac/linux such that it’s no longer needed to compile manually?

GliderGeek commented 3 years ago

@faroit: getting rid of scp would be beneficial as i think that this is not available by default on windows?

regarding rmapi: do you know if it's possible to place files in a random place on the device using this? from glancing over the repo, it seems that this is only works for placing files inside the "My files" part of the device (/home/root/.local/share/remarkable/xochitl/).

i need to place files in:

do you know if this works with rmapi?

stiliajohny commented 3 years ago

hi @GliderGeek and all, I have prepared a bash install script.. ( push and PR comes up soon )

Would you consider having a script to do all the install?

also on your point to have a popup, it will have a dependency on a cli app like zenity I would recommend ( as I have done ) within the script to ask for it and pass it to the go app like a variable eg: main --key RGTHFVBKJLUOIT

I know in python its called argparser not sure in go :D

GliderGeek commented 3 years ago

in the meantime the installation has been significantly simplified by the introduction of a single install script. it would still be nice to make this an order of magnitude easier, such that non-devs can also use this.

RhvdG commented 3 years ago

I'd like to install this, but the instructions are not clear to me. Do I need to install golang? What does 'clone or download this repository' mean? I'd also like to see an uninstall 'magic phrase', just in case. To give you an idea of my competence using the command line: I can ssh into the device, I installed the ddvk hacks without any trouble.

GliderGeek commented 3 years ago

Do I need to install golang

yes

What does 'clone or download this repository' mean?

the green button on the main repository page. if you dont know what cloning means, i would go for download.

Screenshot 2021-02-23 at 08 53 28

I'd also like to see an uninstall 'magic phrase', just in case

There is none at the moment. There are a few files copied to your device we you should manually remove to uninstall.

I understand that this might be a bit intimidating when you're not familiar with software development.