[Request]: Official Library & Wrapper

Propose new features and changes
Qriist
Posts: 13
Joined: 11 Sep 2016, 04:02

Re: [Request]: Official Library & Wrapper

25 Sep 2018, 01:05

I wasn't aware of such an interface. Carry on.
User avatar
nnnik
Posts: 3475
Joined: 30 Sep 2013, 01:01
Location: Germany

Re: [Request]: Official Library & Wrapper

25 Sep 2018, 01:15

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.
Recommends AHK Studio
Qriist
Posts: 13
Joined: 11 Sep 2016, 04:02

Re: [Request]: Official Library & Wrapper

25 Sep 2018, 01:26

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.
iseahound
Posts: 330
Joined: 13 Aug 2016, 21:04
GitHub: iseahound

Re: [Request]: Official Library & Wrapper

25 Sep 2018, 12:06

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.
User avatar
nnnik
Posts: 3475
Joined: 30 Sep 2013, 01:01
Location: Germany

Re: [Request]: Official Library & Wrapper

25 Sep 2018, 12:15

So far we haven't settled on anything yet because there is no description available to this topic for any other package manager.
Recommends AHK Studio
User avatar
tank
Posts: 2401
Joined: 28 Sep 2013, 22:15
Facebook: charlie.simmons.7334
Google: ttnnkkrr
GitHub: ttnnkkrr
Location: Louisville KY
Contact:

Re: [Request]: Official Library & Wrapper

25 Sep 2018, 12:23

Composer?
We are troubled on every side‚ yet not distressed; we are perplexed‚
but not in despair; Persecuted‚ but not forsaken; cast down‚ but not destroyed;
https://www.facebook.com/ahkscript.org
If you have forum suggestions please submit a pull request
User avatar
nnnik
Posts: 3475
Joined: 30 Sep 2013, 01:01
Location: Germany

Re: [Request]: Official Library & Wrapper

25 Sep 2018, 12:32

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.
Recommends AHK Studio
User avatar
joedf
Posts: 6607
Joined: 29 Sep 2013, 17:08
Facebook: J0EDF
Google: +joedf
GitHub: joedf
Location: Canada, Quebec
Contact:

Re: [Request]: Official Library & Wrapper

10 Oct 2018, 22:10

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... :(
Image Image Image Image Image
Windows 10 x64 Professional, Intel i5-8500 @ 3.00 GHz, 16GB DDR4 3200 MHz, NVIDIA GTX 1060 6GB | [About Me] | [ASPDM - StdLib Distribution]
[Populate the AHK MiniCity!] | [Qonsole - Quake-like console emulator] | [LibCon - Autohotkey Console Library] | [About the AHK Foundation]
User avatar
nnnik
Posts: 3475
Joined: 30 Sep 2013, 01:01
Location: Germany

Re: [Request]: Official Library & Wrapper

10 Oct 2018, 23:45

Well does it have a CLR for the client side?
Recommends AHK Studio
User avatar
kczx3
Posts: 666
Joined: 06 Oct 2015, 21:39

Re: [Request]: Official Library & Wrapper

11 Oct 2018, 05:45

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
User avatar
jeeswg
Posts: 5288
Joined: 19 Dec 2016, 01:58
Location: UK

Re: [Request]: Official Library & Wrapper

14 Oct 2018, 20:47

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
User avatar
joedf
Posts: 6607
Joined: 29 Sep 2013, 17:08
Facebook: J0EDF
Google: +joedf
GitHub: joedf
Location: Canada, Quebec
Contact:

Re: [Request]: Official Library & Wrapper

14 Oct 2018, 21:23

@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
Image Image Image Image Image
Windows 10 x64 Professional, Intel i5-8500 @ 3.00 GHz, 16GB DDR4 3200 MHz, NVIDIA GTX 1060 6GB | [About Me] | [ASPDM - StdLib Distribution]
[Populate the AHK MiniCity!] | [Qonsole - Quake-like console emulator] | [LibCon - Autohotkey Console Library] | [About the AHK Foundation]
User avatar
nnnik
Posts: 3475
Joined: 30 Sep 2013, 01:01
Location: Germany

Re: [Request]: Official Library & Wrapper

15 Oct 2018, 02:29

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.
Recommends AHK Studio
User avatar
tank
Posts: 2401
Joined: 28 Sep 2013, 22:15
Facebook: charlie.simmons.7334
Google: ttnnkkrr
GitHub: ttnnkkrr
Location: Louisville KY
Contact:

Re: [Request]: Official Library & Wrapper

15 Oct 2018, 04:37

Chocolatey is the windows package manager like apt-get
We are troubled on every side‚ yet not distressed; we are perplexed‚
but not in despair; Persecuted‚ but not forsaken; cast down‚ but not destroyed;
https://www.facebook.com/ahkscript.org
If you have forum suggestions please submit a pull request
User avatar
joedf
Posts: 6607
Joined: 29 Sep 2013, 17:08
Facebook: J0EDF
Google: +joedf
GitHub: joedf
Location: Canada, Quebec
Contact:

Re: [Request]: Official Library & Wrapper

15 Oct 2018, 09:44

perhaps an aspdm/Chocolatey setup?
Image Image Image Image Image
Windows 10 x64 Professional, Intel i5-8500 @ 3.00 GHz, 16GB DDR4 3200 MHz, NVIDIA GTX 1060 6GB | [About Me] | [ASPDM - StdLib Distribution]
[Populate the AHK MiniCity!] | [Qonsole - Quake-like console emulator] | [LibCon - Autohotkey Console Library] | [About the AHK Foundation]
sancarn
Posts: 212
Joined: 01 Mar 2016, 14:52

Re: [Request]: Official Library & Wrapper

24 Oct 2018, 06:26

* 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.
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+?
User avatar
joedf
Posts: 6607
Joined: 29 Sep 2013, 17:08
Facebook: J0EDF
Google: +joedf
GitHub: joedf
Location: Canada, Quebec
Contact:

Re: [Request]: Official Library & Wrapper

24 Oct 2018, 09:36

I could rework ASPDM's client interface into a github version. I had a prototype in the early days that still works today...
Image Image Image Image Image
Windows 10 x64 Professional, Intel i5-8500 @ 3.00 GHz, 16GB DDR4 3200 MHz, NVIDIA GTX 1060 6GB | [About Me] | [ASPDM - StdLib Distribution]
[Populate the AHK MiniCity!] | [Qonsole - Quake-like console emulator] | [LibCon - Autohotkey Console Library] | [About the AHK Foundation]
User avatar
Chunjee
Posts: 62
Joined: 18 Apr 2014, 19:05
GitHub: Chunjee

Re: [Request]: Official Library & Wrapper

05 Nov 2018, 13:52

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
Last edited by Chunjee on 06 Nov 2018, 06:49, edited 1 time in total.
User avatar
joedf
Posts: 6607
Joined: 29 Sep 2013, 17:08
Facebook: J0EDF
Google: +joedf
GitHub: joedf
Location: Canada, Quebec
Contact:

Re: [Request]: Official Library & Wrapper

05 Nov 2018, 23:10

Very interesting :+1:
Image Image Image Image Image
Windows 10 x64 Professional, Intel i5-8500 @ 3.00 GHz, 16GB DDR4 3200 MHz, NVIDIA GTX 1060 6GB | [About Me] | [ASPDM - StdLib Distribution]
[Populate the AHK MiniCity!] | [Qonsole - Quake-like console emulator] | [LibCon - Autohotkey Console Library] | [About the AHK Foundation]
iseahound
Posts: 330
Joined: 13 Aug 2016, 21:04
GitHub: iseahound

Re: [Request]: Official Library & Wrapper

06 Nov 2018, 00:14

I really don't want a node_modules folder...

Return to “Wish List”

Who is online

Users browsing this forum: Bing [Bot] and 6 guests