Page 4 of 6

Re: [Request]: Official Library & Wrapper

Posted: 25 Sep 2018, 01:05
by Qriist
I wasn't aware of such an interface. Carry on.

Re: [Request]: Official Library & Wrapper

Posted: 25 Sep 2018, 01:15
by nnnik
Most of the mentioned systems use some sort of web interface to submit new libraries - at least if I'm not completely wrong about this. But I don't have any substantial information about that - and I don't think many others do either.

This is why I would like to collect information somewhere.
Maybe you could create a Google Docs File (or similar) and describe how the package system for apt-get works.
If noone else submits anything then we will get a clone of apt-get.

Re: [Request]: Official Library & Wrapper

Posted: 25 Sep 2018, 01:26
by Qriist
I can look around for info pertaining to aptget, sure, but I'm reasonably certain it only has download capabilities. It's meant to maintain your local system.

I'll look at the linked solutions tomorrow and examine their upload functions, if any.

Re: [Request]: Official Library & Wrapper

Posted: 25 Sep 2018, 12:06
by iseahound
Just to be clear, we're talking about 3 things in this thread:

1) A repository. Download/publish.
2) A command line tool that interfaces with the repository.
3) Some user interface / website that interfaces with the repository.

Also, we need a way to manage package versions. Please learn from the mistakes of package.json.

Re: [Request]: Official Library & Wrapper

Posted: 25 Sep 2018, 12:15
by nnnik
So far we haven't settled on anything yet because there is no description available to this topic for any other package manager.

Re: [Request]: Official Library & Wrapper

Posted: 25 Sep 2018, 12:23
by tank
Composer?

Re: [Request]: Official Library & Wrapper

Posted: 25 Sep 2018, 12:32
by nnnik
My point is that there is no complete description available in the form of the post or the form of a downloadeable file in this topic.
At least I haven't seen anything like it.

Re: [Request]: Official Library & Wrapper

Posted: 10 Oct 2018, 22:10
by joedf
WOAH just saw this! Yes, please! I have been missing support on this. ASPDM works, but it needs to be setup on a server.
it's hosted here for now: http://aspdm.ahkscript.org/
But we need to have some kind of account connection, currently accounts are manually created... But login and uploads work. We need dedicated people to verify package before they are approved, eg avoid malicious stuff etc..
The process has been discussed and described here: https://github.com/ahkscript/ASPDM/blob ... delines.md

I did quite a bit of work this with fincs and many other users... now it's just been waiting in the shadows... :(

Re: [Request]: Official Library & Wrapper

Posted: 10 Oct 2018, 23:45
by nnnik
Well does it have a CLR for the client side?

Re: [Request]: Official Library & Wrapper

Posted: 11 Oct 2018, 05:45
by kczx3
Do you mean CLI? It has a GUI application that you can download from the site however I think it could use some work. As could the API from ASPDM

Re: [Request]: Official Library & Wrapper

Posted: 14 Oct 2018, 20:47
by jeeswg
I would find individual lists more useful than a collective list. I welcome all to contribute.
Your Favourite Scripts and Functions - AutoHotkey Community
https://autohotkey.com/boards/viewtopic ... 17&t=57652

If you had a voting system, that would make a collective list more interesting.

Btw here are some ideas for functions, if we don't have equivalents already.
User Defined Functions - AutoIt Wiki
https://www.autoitscript.com/wiki/User_ ... _Functions

Re: [Request]: Official Library & Wrapper

Posted: 14 Oct 2018, 21:23
by joedf
@kczx3 please, post your comments. I would like to know :)
And yes I do agree that it can improve very much so. :+1:

@jeeswg I was thinking something like "boost" for ahk... but never time in it ... anyway no more than libcrypt.ahk
https://autohotkey.com/boards/viewtopic.php?t=3812

Re: [Request]: Official Library & Wrapper

Posted: 15 Oct 2018, 02:29
by nnnik
The point of a package manager is it to share every script that fulfills specific criteria and was submitted to the library page.
This is not about favorites.

Re: [Request]: Official Library & Wrapper

Posted: 15 Oct 2018, 04:37
by tank
Chocolatey is the windows package manager like apt-get

Re: [Request]: Official Library & Wrapper

Posted: 15 Oct 2018, 09:44
by joedf
perhaps an aspdm/Chocolatey setup?

Re: [Request]: Official Library & Wrapper

Posted: 24 Oct 2018, 06:26
by sancarn
tank wrote:
14 Sep 2018, 16:25
* Library should be hosted on GitHub
* Library should have a support thread on the forum
* Library should have general instruction readme on GitHub.
* Library scripts should have links to the support thread and GitHub in header comments.

Do at least this and i will set a cron job to use a page just like https://github.com/ahkscript/awesome-AutoHotkey except as a JSON page with GITHUB ZIP file download links with a server cron job to pull these packages to the server daily and set a download from the forum next to the download link above

Code: Select all

[
 {
   "Author": "Author",
   "Thread URL": "Thread URL",
   "GitHub Zip": " GitHub Zip"
 },
 {
   "Author": "Author",
   "Thread URL": "Thread URL",
   "GitHub Zip": " GitHub Zip"
 }
]
To be honest, in the light of keeping things simple for now, this would at least be a good start. A full package manager could easily extend this system.

The problem with any package manager, or whatever, is it is going to be fairly high maintenance and that requires time (assuming that nobody has an existing / is actively maintaining a package manager at this time).

Given how this thread seems to have died,
I think this is the best, low maintenance solution there is.
tank wrote:
15 Oct 2018, 04:37
Chocolatey is the windows package manager like apt-get
Surely a better bet, if anything would be NuGet, given that it comes pre-installed with Windows 10+?

Re: [Request]: Official Library & Wrapper

Posted: 24 Oct 2018, 09:36
by joedf
I could rework ASPDM's client interface into a github version. I had a prototype in the early days that still works today...

Re: [Request]: Official Library & Wrapper

Posted: 05 Nov 2018, 13:52
by Chunjee
iseahound wrote:
12 Sep 2018, 19:40
We're all just waiting for someone to create the AutoHotkey version of https://pypi.org/ or https://www.npmjs.com/ or https://rubygems.org/ or https://crates.io/ etc.
npm is no longer Javascript exclusive and I have been somewhat successfully storing AHK libs in that format but have not yet registered them on npm, maybe I'll try today.


I posted a video demonstrating the concept here: https://www.youtube.com/watch?v=KtYKiPH07ZQ
You may view an example program that pulls its dependencies (with yarn) here: https://github.com/Chunjee/SA-omdbcloner
One such lib can be found here: https://github.com/Chunjee/string-similarity.ahk
I've written a little bit about how some ahk changes would assist in this matter (because things start breaking when a dependency has a dependency, etc): https://autohotkey.com/boards/viewtopic ... 13&t=57833

Re: [Request]: Official Library & Wrapper

Posted: 05 Nov 2018, 23:10
by joedf
Very interesting :+1:

Re: [Request]: Official Library & Wrapper

Posted: 06 Nov 2018, 00:14
by iseahound
I really don't want a node_modules folder...