So I know we already have the Script Exchange forum of course, but a combination of two things got me to do this. First of all, while a great place for us, I think and have seen that for newbies, people unfamiliar with XY/Scripting, or the forum, it might not always be the best way to go. Because of the way it works, a place for discussion, when you're new and just looking for a script to do something, it might not be as obvious as for us used to it already.
I just thought a place where people could just look up different scripts available could turn out useful in such cases, maybe especially for those who don't know/do scripting nor have the time/intention to change that, but would still like to benefit from it by using scripts done by others. Plus, it's always a nice way to promote XY and what can be done, both with scripting (promoting that feature) and through scripting (promoting the scripts themselves and what they can add to XY), which I'm sure couldn't be a bad thing, right?
Also, as you may know I make it so my own scripts can be auto-updated with XYAU, which required me to do a bit of work uploading the files and updating text files (with version info), etc which had became a little of a PITA over time to be honest, and I was looking for a way to have the work done for me. Plus, it should make it easier for everyone to have their own scripts work with XYAU without the need of having to maintain your own download & version info URLs.
And this is how I started working on a little project of an XY Scripts Library, now up @ http://88.191.26.34/XYscripts/
It's not much, just a way to have scripts online with download links, etc and a little description of the script. I tried to make it use a syntax similar to what works in XYwiki, although it's nowhere near as advanced obviously. The rendering isn't quite the same, and only basic stuff are supported such as ''italic'' and '''bold''' of course, lists using *, # or @ and titles:
== this is h2 ==
=== this is h3 ===
It also supports the <tip>tips</tips> and <infos>info box</infos> like on XYwiki.
Of course every scripter is welcome to create an account and share their scripts, that's the whole point! As you'll see, it works with a "version system" each requiring to include a version number (a.bb.cccc), the date the version was released (yyyy.mm.dd), the required version of XY, the changelog for this version and, of course, the actual XYS file. Also, I added the required version of common-jacky.
And to make my life easier, as that was (also) the point here when uploading an XYS file and clicking on "Load file and try to auto-fill form" it will look for an Internal INI section at the end of the file, looking for keys name, version, requiredXY, and requiredCJ. (Note that if an extra key CJoptional is set to 1 then requiredCJ is ignored.)
It will also look for a changelog at the beginning of the file, and if formatted like I do mine it will extract the date and changelog for this version. For this to work, the XYS file must begin with a multi-line comment like this one:
Code: Select all
/* Script Name
v0.01.0000 2009.01.18 XY v7.80.0032
+ changelog goes here
*/
Okay, so that's it, for now there are only some scripts of mine there, but hopefully it'll grow over time...
Again, feel free to add your scripts!
Hope it'll be useful to (some of) you, and as always any questions/comments/ideas are welcome!
-jacky