Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Synchronize script description #212

Closed
reek opened this issue Jul 22, 2014 · 10 comments
Closed

Synchronize script description #212

reek opened this issue Jul 22, 2014 · 10 comments

Comments

@reek
Copy link

reek commented Jul 22, 2014

Hi,

I write you to know if it is possible to add a feature, whose task would be to synchronize the Github README.md with the description of the script.

The operation would be similar to the feature that allows you to synchronize a script from another address. But in the present case it would venture to synchronize the script with the description of raw Github README.md

Greasefork
https://greasyfork.org/scripts/735-anti-adblock-killer-reek

Github
https://github.com/reek/anti-adblock-killer/blob/master/README.md

That would make me a great service if you can add this feature, I hope it is not too complicated to set up and I thank you in advance

Regards
Reek

@jerone
Copy link
Contributor

jerone commented Jul 22, 2014

Some related discussions for OUJS: OpenUserJS/OpenUserJS.org#81

+1 👍

@reek
Copy link
Author

reek commented Jul 22, 2014

Hi Jerone,

I see we had the same idea 👍

Regards
Reek

@tobbexiv
Copy link
Contributor

I like the Idea Zren or Martii had on OpenUserJS/OpenUserJS.org#81.

First check if there is a .md file with the script name and only if no such file exists, check for the readme.md. With this check it is possible to have more than one script in the same repo.

@eight04
Copy link

eight04 commented Aug 15, 2014

How about writing description in comment block?

// ==UserScript==
// ... @metas ...
// ==/UserScript==

/************************************
# markdown available

*   feature 1
*   feature 2
*   ...
************************************/

your script...

This will work with single file too.

Update:
I just wrote this, with jQuery and marked.

@tobbexiv
Copy link
Contributor

If you have a look at some scripts, this would add thousands of (to the script functionality) useless lines to the code and blow up the script size unnecessarily. So having a second file would be better (and most important have a similar implementation like OpenUserJs and other pages).

@TimidScript
Copy link

Was going to suggest import script description from OUJS but this is better. Nice link @jerone ^_^

Import Script Description from Greasy Fork #310

@JasonBarnabe
Copy link
Collaborator

OK guys, try it out. You can configure it from the Sync screen.

@jixunmoe
Copy link
Contributor

jixunmoe commented Oct 1, 2014

Sweet.

@TimidScript
Copy link

Nice 👍

@reek
Copy link
Author

reek commented Oct 1, 2014

Thanks !

2014-10-01 23:14 GMT+02:00 TimidScript notifications@github.com:

Nice [image: 👍]


Reply to this email directly or view it on GitHub
#212 (comment)
.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants