satyagraha / gfm_viewer

An Eclipse plugin providing an accurate view of GitHub Flavored Markdown (.md) files
95 stars 27 forks source link

[question] offline usage #7

Closed paulvi closed 11 years ago

paulvi commented 11 years ago

I have noticed that the plugin works only online. While most of developers have broadband, some have unstable or slow Internet connection.

Is the option to work offline?

satyagraha commented 11 years ago

If you are offline you should close the GFM View and use the preview window of the Winterwell Markdown editor http://www.winterwell.com/software/markdown-editor.php which works off-line. The GFM View is fundamentally a client of a cloud service, and if you can't get through the cloud then I can't see how it could work.

If GitHub made available their markdown rendering source code as a project or jar, then we could use that instead but that is not the case at present.

paulvi commented 11 years ago

Now this is big issue

I got this issue today

{"message":"API Rate Limit Exceeded for 124.207.205.1"} 

gfm-viewer

By the way, is processing executed if View is minimized? (I edited and saved .md a lot of time these days http://eclipse-china.github.io/Day/materials but used preview only time-to-time )

paulvi commented 11 years ago

Well, now I definitely now that transformation happens every time file is saved, even though the View is minimized. It is really bad

gfm-err2

Especially if I am to see a lot of such dialogs today.

satyagraha commented 11 years ago

The solution to the rate limit issue is straightforward and is explained in the Username/Password section at https://github.com/satyagraha/gfm_viewer#configuration - you can create a dummy account on GitHub for this purpose if you don't want to use your main account.

Suppressing transformation if the view is not visible could be quite complex: I will think about it.

paulvi commented 11 years ago

Thank you for good doc.

As most lazy users I will just wait for next version.

(I do want to peek into code, but no free time so far. But I really need working Tycho example. I am glad I have found one)

paulvi commented 11 years ago

By the way, there were no more pop-up dialogs today. So it degradates gracefully.

satyagraha commented 11 years ago

Certainly pop-ups should be avoided, I think exceptions should be caught in the background job and simply posted to the error log.

satyagraha commented 11 years ago

Closing given #9 addresses this issue.