View Full Version : AVSRepo - plugin manager for Avisynth+
ChaosKing
20th October 2018, 20:33
You probably saw that Myrsloik made an awesome plugin manager VSRepo for VapourSynth (https://forum.doom9.org/showthread.php?t=175590). I created some packages for avisynth, mostly for pinterfs github repo for easy mvtools / masktools updates.
.\avsrepo.exe install abcxyz mvtools masktools fft3dfilter
.\avsrepo.exe -t win32 -b D:\AvisynthRepository\AVSPLUS_x86\plugins -s D:\AvisynthRepository\SCRIPTS install masktools
.\avsrepo.exe -t win64 -b D:\AvisynthRepository\AVSPLUS_x64\plugins -s D:\AvisynthRepository\SCRIPTS install mvtools
.\avsrepo.exe update
If you want to upgrade your existing (unknown) plugins you need to add the -f (force) parameter.
I plan to add detection of the avisynth plugins folder in the beta release.
https://github.com/theChaosCoder/avsrepo
EDIT
You don't need to install python anymore. The script is "compiled" to an exe.
Download https://github.com/theChaosCoder/avsrepo/releases
(don't forget to remove your old plugins/scripts!)
If your plugins are stored in "program files" you need to run the script with admin privileges.
ChaosKing
12th December 2018, 14:31
With the help of PyInstaller I managed to make an exe with a bundled python dependency (you don't need python installed anymore). It still has some problems but you can use it to install and update scripts.
Download here: https://github.com/theChaosCoder/vsrepo/releases/download/v0.1/avsrepo.zip
Repo: https://github.com/theChaosCoder/vsrepo/tree/AVSRepo/local
Example: "just download" in current folder*
avsrepo.exe -t win32 -p install avs_mvtools
avsrepo.exe -t win32 -p install avs_abcxyz
* for abcyxz rgtools+masktools will be automatically downloaded since it is a dependency.
Example: Update all plugins
avsrepo.exe -f -t win32 -p -b D:\AvisynthRepository\AVSPLUS_x86\plugins -s D:\AvisynthRepository\SCRIPTS upgrade-all
avsrepo.exe -f -t win64 -p -b D:\AvisynthRepository\AVSPLUS_x64\plugins -s D:\AvisynthRepository\SCRIPTS upgrade-all
-b is for the binary path
-s for scripts
-f force update if local file exists and is unknown (hash unknown)
ChaosKing
28th February 2019, 23:38
Update https://github.com/theChaosCoder/vsrepo/releases/tag/v0.2
7z is now included. Repo update should work out of the box now.
Many plugins are added.
StainlessS
1st March 2019, 00:32
You are taking away jobs from the workers, what on earth would groucho have to do now, you dont thiink or consider other people, I'm quite aghast,
(you do know how much Groucho likes to lord it over others with the "I told you so" type stuff, well you are gonna take all of that stuff away from him,
you just dont consider how other poeple might feel, your bad CK, :) )
EDIT: Downloading, thanx :)
ChaosKing
1st March 2019, 01:27
You are taking away jobs from the workers, what on earth would groucho have to do now, you dont thiink or consider other people, I'm quite aghast,
(you do know how much Groucho likes to lord it over others with the "I told you so" type stuff, well you are gonna take all of that stuff away from him,
you just dont consider how other poeple might feel, your bad CK, :) )
EDIT: Downloading, thanx :)
No no no, I'm creating new jobs! We are hiring: package creator and maintainer. And the best thing is, only github releases can be updated automatically. No bot is stealing our jobs it just creates more work for everyone, for free. Isn't it wonderful :D
ChaosKing
1st March 2019, 16:59
@StainlessS Have you ever considered hosting your plugins/scripts on github? MediaFire and sendspace doesn't allow direct linking. Plus you get all the git benefits.
StainlessS
1st March 2019, 18:48
Sounds like a good idea, but I aint got no clue bout git, looks like a lot of study and I dont like that [me is lazy] :)
One day I will (think I've got some kind of git software somewhere, even for XP).
ChaosKing
1st March 2019, 19:04
It's super easy with https://www.gitkraken.com/
(free for personal use)
StainlessS
1st March 2019, 19:41
Yip, thats one of the ones I've got I think (but think mine is Vista or W7+)
real.finder
2nd March 2019, 13:21
You need to install python.
why not convert the .py to .exe? :) or at least post some way (Guide) to use it with portable python
ChaosKing
2nd March 2019, 13:28
look at the second post or here https://github.com/theChaosCoder/vsrepo/releases/tag/v0.2
Changed the first post a bit to make it more clear.
real.finder
2nd March 2019, 14:12
look at the second post or here https://github.com/theChaosCoder/vsrepo/releases/tag/v0.2
Changed the first post a bit to make it more clear.
I didn't note the 2nd post so :rolleyes:
anyway did you add the chikuzen plugins I edit/build? https://forum.doom9.org/showpost.php?p=1798117&postcount=36
ChaosKing
2nd March 2019, 14:22
Nope https://github.com/theChaosCoder/vsrepo/blob/AVSRepo/local/avs_tcannymod.json, https://github.com/theChaosCoder/vsrepo/blob/AVSRepo/local/avs_combmask.json
Could you make a release on github? This way it is easy to auto update in the future.
EDIT
Or you already did?
https://github.com/realfinder/TCannyMod/releases
real.finder
2nd March 2019, 14:29
Nope https://github.com/theChaosCoder/vsrepo/blob/AVSRepo/local/avs_tcannymod.json, https://github.com/theChaosCoder/vsrepo/blob/AVSRepo/local/avs_combmask.json
Could you make a release on github? This way it is easy to auto update in the future.
EDIT
Or you already did?
https://github.com/realfinder/TCannyMod/releases
I already did but not for all of them as you see, I think doom9 Attachments give direct link so no problem
ChaosKing
2nd March 2019, 21:37
Alpha3 https://github.com/theChaosCoder/avsrepo/releases
- Avsrepo has now its own repo on github
- Fixed some exit() errors
- is now a 32Bit binary
- runs always in "portable" -p mode for now. no need for -p
I don't think it runs on xp.
ChaosKing
8th March 2019, 11:49
from here https://forum.doom9.org/showpost.php?p=1798117&postcount=36
I build some plugins of chikuzen since he/she absent from the scene
TCannyMod and CombMask 32 bit plugins work with xp unlike original chikuzen plugins, yadifmod2 already work in xp but this one is work with new colour format in avs+ (chikuzen update the source in github but didn't make new release)
edit: there are another update for this https://forum.doom9.org/showthread.php?p=1821422#post1821422
Have you tested it with high bit depth? Here https://github.com/chikuzen/yadifmod2/issues/1 it says it is not complete yet.
real.finder
8th March 2019, 15:52
from here https://forum.doom9.org/showpost.php?p=1798117&postcount=36
Have you tested it with high bit depth? Here https://github.com/chikuzen/yadifmod2/issues/1 it says it is not complete yet.
no, and didn't see this before
ChaosKing
9th March 2019, 23:27
Now with a web gui http://vsdb.top/avsrepogui
Groucho2004
10th March 2019, 01:05
Now with a web gui http://vsdb.top/avsrepoguiVery nice! :thanks:
lansing
10th March 2019, 01:21
Now with a web gui http://vsdb.top/avsrepogui
This looks more like a database to me than a gui
ChaosKing
10th March 2019, 01:52
This looks more like a database to me than a gui
B-B-But you can click on the + sign!!!!!!1111 :eek:
lansing
10th March 2019, 03:29
B-B-But you can click on the + sign!!!!!!1111 :eek:
That is still just a database.
A gui for this should be something like a program with different buttons binding to different commands the repo program have. And then when you click "available" for example, it'll show the list of available plugins. And right next to each item on the list there'll be checkbox so you can select the plugins you want and click the install button to install them.
There shouldn't be any interaction with the keyboard.
Myrsloik
10th March 2019, 23:35
B-B-But you can click on the + sign!!!!!!1111 :eek:
Obviously you need to register a custom url handler (https://msdn.microsoft.com/en-us/windows/desktop/aa767914) and make avsrepo respond to it.
Just saying...
ChaosKing
11th March 2019, 00:00
Hmm not a bad idea, but I don't like when a website (or weblink) wants to trigger some app on my computer.
Also my half-finished VSRepoGUI program in .net is waiting for me. :D
ChaosKing
30th April 2020, 13:57
Does someone want to help me with adding additional scripts from here https://github.com/realfinder/AVS-Stuff to avsrepo? So that you can easily auto update your plugins and scripts...
You only need a text editor and this needs to be done only once!
The following scripts exists already:
abcxyz, dehalo_alpha, qtgmc, lsfmod, smdegrain, zs_rf_shared
Example file lsfmod.json (lines with bold text need to be changed)
{
"name": "LSFmod", <-- script name
"type": "PyScript",
"description": "A LimitedSharpenFaster mod with a lot of new features and optimizations.", <-- description
"website": "http://avisynth.nl/index.php/LSFmod", <-- Not really needed, but would be nice to have a link to avs wiki
"github": "https://github.com/realfinder/AVS-Stuff",
"category": "Sharpening",
"identifier": "lsfmod", <-- = filename without .json
"modulename": "lsfmod", <-- = filename without .json
"dependencies": [
"rgtools",
"masktools",
"variableblur",
"warpsharp", <-- remove uneeded deps
"zs_rf_shared" <-- list of all dependencies = modulname from above
],
"releases": [
{
"version": "v2.186 - git:d8cb6eb",
"published": "2020-03-03T18:06:35Z",
"script": {
"url": "https://raw.githubusercontent.com/realfinder/AVS-Stuff/d8cb6eb025e1990e270d28ca88c5ee7bd771bdc5/avs%202.5%20and%20up/LSFmod.avsi", <-- this part is a bit tricky. We want the latest commit of that file, not the lastest master commit. See web link below.
"files": {
"LSFmod.avsi": [ <-- filename = url name
"LSFmod.avsi", <-- same url name
"def5e47e28633cc545a74d2362860dcea753f384e5a45b3a8caf397c71b91031"
]
}
}
}
]
}
How to get the correct git link: https://i.imgur.com/U8pY7Ye.gifv
You can fill out this and post it here. I will do the rest. :thanks: (or make a PR here https://github.com/theChaosCoder/avsrepo)
{
"name": "",
"type": "PyScript",
"description": "",
"website": "",
"github": "https://github.com/realfinder/AVS-Stuff",
"category": "Sharpening",
"identifier": "changeme",
"modulename": "changeme",
"dependencies": [
"rgtools",
"masktools",
"zs_rf_shared"
],
"releases": [
{
"version": "no-need-to-change",
"published": "no-need-to-change",
"script": {
"url": "",
"files": {
".avsi": [
".avsi",
"no-need-to-change"
]
}
}
}
]
}
real.finder
30th April 2020, 18:11
you should use https://github.com/realfinder/AVS-Stuff/tree/master
the Community one is the Default :) the master one is the stable
ChaosKing
30th April 2020, 19:02
argh yes. I used another browser to capture the screen and forgot to change the branch.
But now that I think about it. Why is community not stable and master unstable? Wouldn't this make more sense the other way round?
Master = most up to date code
Community = a stable version for the community
real.finder
30th April 2020, 19:56
argh yes. I used another browser to capture the screen and forgot to change the branch.
But now that I think about it. Why is community not stable and master unstable? Wouldn't this make more sense the other way round?
Master = most up to date code
Community = a stable version for the community
it's stable
well, I did made the community tree for community involvement, mean if someone want to help update/fix things by fork then Pull request and I make it Default for easinesses but seems no one did...
so I used it now for updates that need community tests :P also the first reason still work
ChaosKing
25th May 2020, 22:00
I switched all plugins to Asd-g's git repo https://github.com/Asd-g/ but the dll file names are different now. Delete the old dll files and re-install.
EDIT
Forget what I wrote. I used a wrong config and confused myself. Should be all good.
ChaosKing
1st June 2020, 11:55
You need to download the new release of avsrepo as the old one is not compatible anymore.
Big Thanks goes to "camjac251" who created a github action for releases.
The new version uses now upx compression, so please test and report if you experince any problems with the new builds.
cork_OS
24th June 2020, 21:50
The previous AVSRepoGUI version worked. I've edited paths in avsrepogui.json and it runs with administrator rights.
But now I've just redownloaded AVSRepoGUI package, updated avsrepo and AVSRepoGUI crashes.
https://i.ibb.co/ncNKFFS/AAQy-Gp-K-1.png (https://imgbb.com/)
ChaosKing
25th June 2020, 00:00
Ahh yeah thanks for the reminder. It needs to be updated, it is not compatible to the "new" avs packages anymore. I will try to make a release this week.
ChaosKing
28th June 2020, 12:53
@cork_OS Try this https://github.com/theChaosCoder/AVSRepoGUI/releases
cork_OS
28th June 2020, 18:25
@cork_OS Try this https://github.com/theChaosCoder/AVSRepoGUI/releases
Thanks, now it works!
ChaosKing
24th November 2020, 00:37
New release: Uses Python 3.8 now. Removed UPX compression as it makes avsrepo unnecessary slow just to save some megabytes
VoodooFX
24th November 2020, 02:16
New release: Uses Python 3.8 now. Removed UPX compression as it makes avsrepo unnecessary slow just to save some megabytes
"api-ms-win-core-path-l1-1-0.dll" is missing error. On Win7.
ChaosKing
24th November 2020, 09:35
It was actually build with python 3.9 and 3.9 is not compatible with win7 anymore. Fixed build script. Should be working now, please test.
VoodooFX
24th November 2020, 20:16
Now there is no missing dll error, but:
GUI disappears/crash when I press "Settings".
Lower half is cut off of what is written in the search field.
ChaosKing
24th November 2020, 21:01
Now there is no missing dll error, but:
GUI disappears/crash when I press "Settings".
Oh Settings should be hidden since it's not ready yet :scared:
Lower half is cut off of what is written in the search field.
Everytime something breaks in Win7. I'm starting to hate it...
StainlessS
25th November 2020, 03:51
Everytime something breaks in Win7. I'm starting to hate it...
Give windows 10 a chance, you will forget all about how much you hate windows 7. [Displacement of ire]
ChaosKing
25th November 2020, 08:45
Win10 has many small quality of life updates. I would not want to go back to Win7.
cork_OS
3rd March 2021, 22:27
Virustotal 36/71 https://www.virustotal.com/gui/file/b30e2612528d02486f364df84cc41f26ae20ef363dfa8747627921030c43589c/detection
ChaosKing
4th March 2021, 08:31
The binary is build & uploaded by github actions https://github.com/theChaosCoder/avsrepo/blob/master/.github/workflows/release.yml
Unless github machines or pyinstaller are infected itself these are false positives.
PyInstaller bundles / packs / unpacks stuff. This makes antivir engines more nervous.
zambelli
20th April 2021, 03:30
Unless github machines or pyinstaller are infected itself these are false positives.
PyInstaller bundles / packs / unpacks stuff. This makes antivir engines more nervous.
The really odd thing is that only AvsRepo-32.exe is getting flagged as Trojan:Win32/Azorult. AvsRepo-64.exe is not triggering any alerts. :confused:
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.