[minetest-bower] mod repository and package manager
-
- Member
- Posts: 844
- Joined: Wed Jul 11, 2012 15:02
[minetest-bower] mod repository and package manager
Minetest Bower is a Minetest mod repository. If you are familiar with CLI, you can use Minetest Bower to install specified Minetest mods and dependency mods quickly and easily under Linux, Windows, and Mac OS X. Minetest Bower needs primarily two software packages named NodeJS and Git, which are easy to install.
The repository is unmoderated. Anybody may submit mods using one of several different approaches. Different versions by different people of similar mods are permitted but each version must have different names.
Minetest-Bower Website
Browse Mods | Submit a Mod | Support & Suggestions
The repository is unmoderated. Anybody may submit mods using one of several different approaches. Different versions by different people of similar mods are permitted but each version must have different names.
Minetest-Bower Website
Browse Mods | Submit a Mod | Support & Suggestions
Last edited by cornernote on Tue Aug 11, 2015 04:46, edited 4 times in total.
- Evergreen
- Member
- Posts: 2135
- Joined: Sun Jan 06, 2013 01:22
- GitHub: 4Evergreen4
- IRC: EvergreenTree
- In-game: Evergreen
- Location: A forest in the midwest
- Contact:
Re: [minetest-bower] mod repository and package manager
Yes! I can't +1 this enough. I think having a minetest mod package manager is a much better solution than mmdb currently is.
Back from the dead!
-
- Member
- Posts: 940
- Joined: Tue Aug 05, 2014 14:09
- GitHub: MinetestForFun
- IRC: MinetestForFun
- In-game: MinetestForFun
- Location: On earth
- Contact:
Re: [minetest-bower] mod repository and package manager
Great work ! I hope it will be used instead of mmdb :)
MinetestForFun Team mods : [spidermob] [fishing]
---
Our Minetest servers :
MinetestForFun (Survival - PvP - Hardcore)[FR/EN]
MinetestForFun HUNGER GAMES
MinetestForFun SKYBLOCK
MinetestForFun CREATIVE
---
Our Minetest servers :
MinetestForFun (Survival - PvP - Hardcore)[FR/EN]
MinetestForFun HUNGER GAMES
MinetestForFun SKYBLOCK
MinetestForFun CREATIVE
- benrob0329
- Member
- Posts: 1341
- Joined: Thu Aug 06, 2015 22:39
- GitHub: Benrob0329
- IRC: benrob0329
- In-game: benrob03
- Location: Michigan
- Contact:
Re: [minetest-bower] mod repository and package manager
This is AWESOME!!!
- addi
- Member
- Posts: 666
- Joined: Thu Sep 20, 2012 03:16
- GitHub: adrido
- Location: Black-Forest, Germany
Re: [minetest-bower] mod repository and package manager
WOW! this is like the mtmdb should be!
Really great, (talking about the webpage, not the command line tool)
It would be better to have that tool as graphical widget in minetest main menu instead of moddb
Btw. your links in fist post leads both to https://minetest-bower.herokuapp.com/submit
some ideas:
some mods does already have a description.txt and a screenshot.png file, those should be taken automatically.
(Personally i would prefer your .json file could also read by minetest)
It would be great if the dependence.txt file would also read automatically and displays the list on the web page.
The web page does also need a download link, witch is maybe configurable by .json file?
Definitely great work!
Really great, (talking about the webpage, not the command line tool)
It would be better to have that tool as graphical widget in minetest main menu instead of moddb
Btw. your links in fist post leads both to https://minetest-bower.herokuapp.com/submit
some ideas:
some mods does already have a description.txt and a screenshot.png file, those should be taken automatically.
(Personally i would prefer your .json file could also read by minetest)
It would be great if the dependence.txt file would also read automatically and displays the list on the web page.
The web page does also need a download link, witch is maybe configurable by .json file?
Definitely great work!
-
- Member
- Posts: 844
- Joined: Wed Jul 11, 2012 15:02
Re: [minetest-bower] mod repository and package manager
You should checkout MTPM. rubenwardy has already added support for minetest-bower's bower.json file.addi wrote:It would be better to have that tool as graphical widget in minetest main menu instead of moddb
(Personally i would prefer your .json file could also read by minetest)
Very hard with modpacks, as all the sub-directories need to be scanned. However with simple mods this will work.addi wrote:some mods does already have a description.txt and a screenshot.png file, those should be taken automatically.
It would be great if the dependence.txt file would also read automatically and displays the list on the web page.
Yes, and a forum link (as its often different to the homepage link). See here. The downloads could however come directly from the github API. Need to think more about that.addi wrote:The web page does also need a download link, witch is maybe configurable by .json file?
Also, screenshots/download links could be added to the readme file (which is displayed on the mod page on minetest-bower website).
Thanks for your feedback, please post these and any other suggestions as issues on the github project.
- rubenwardy
- Moderator
- Posts: 6978
- Joined: Tue Jun 12, 2012 18:11
- GitHub: rubenwardy
- IRC: rubenwardy
- In-game: rubenwardy
- Location: Bristol, United Kingdom
- Contact:
Re: [minetest-bower] mod repository and package manager
Minetest Package Manager (MTPM) is another CLI mod/subgame/tp tool I've been working on for months, it's written in pure lua and based on the main menu's mod manager code so that it could be included into Minetest.
- lordtoran
- New member
- Posts: 7
- Joined: Sun Jun 07, 2015 19:34
- GitHub: lordtoran
- Location: Germany
- Contact:
Re: [minetest-bower] mod repository and package manager
Idea: How about a small and simple GUI package manager for the less computer literate, written in Java, so it can be installed directly from the page with a click or two. So someone can just go and refer a Minetest newbie to Bower.
- rubenwardy
- Moderator
- Posts: 6978
- Joined: Tue Jun 12, 2012 18:11
- GitHub: rubenwardy
- IRC: rubenwardy
- In-game: rubenwardy
- Location: Bristol, United Kingdom
- Contact:
Re: [minetest-bower] mod repository and package manager
lordtoran wrote:Idea: How about a small and simple GUI package manager for the less computer literate, written in Java, so it can be installed directly from the page with a click or two. So someone can just go and refer a Minetest newbie to Bower.
A quick google: https://github.com/rakuten-frontend/bower-browser
-
- Member
- Posts: 844
- Joined: Wed Jul 11, 2012 15:02
Re: [minetest-bower] mod repository and package manager
It's not that simple. You have to support all the download mechanisms that bower supports, and you also have to support recursive dependency management with semver version numbers.lordtoran wrote:Idea: How about a small and simple GUI package manager for the less computer literate, written in Java, so it can be installed directly from the page with a click or two. So someone can just go and refer a Minetest newbie to Bower.
If you're looking for a GUI, check out the MTPM as that is exactly what it is. MTPM will have all the packages that are registered in minetest-bower, and will eventually be an in-game gui that you can use to browse and install mods and their dependencies.
-
- Member
- Posts: 26
- Joined: Wed Dec 24, 2014 08:56
- GitHub: neoascetic
- IRC: neoascetic
- In-game: neoascetic
Re: [minetest-bower] mod repository and package manager
I absolutely love the idea and frontend implementation. Good work, @cornernote, thank you!
I even started implementing something similar a year ago, but in lua/lapis (http://leafo.net/lapis/), here the sources if you are interested: https://github.com/krondor-game/mmdb.
Personally, I think that having everything (including masterserver page, but excluding, of course, client/server app) in lua should increase contributions number and feedback from mods writers, because... same language, you know, and also should make this pretty small language a little bit more popular.
I don't know, however, if using of bower for these purposes is OK. For me, bower is always something for frontend web-developer. Maybe a separate format must be used instead?
I even started implementing something similar a year ago, but in lua/lapis (http://leafo.net/lapis/), here the sources if you are interested: https://github.com/krondor-game/mmdb.
Personally, I think that having everything (including masterserver page, but excluding, of course, client/server app) in lua should increase contributions number and feedback from mods writers, because... same language, you know, and also should make this pretty small language a little bit more popular.
I don't know, however, if using of bower for these purposes is OK. For me, bower is always something for frontend web-developer. Maybe a separate format must be used instead?
-
- Member
- Posts: 844
- Joined: Wed Jul 11, 2012 15:02
Re: [minetest-bower] mod repository and package manager
It would be nice to have it all in lua, however it would mean re-writing all the code that handles dependencies and fetching the right versions using semantic versioning. It made sense to use bower as it already handles all this very nicely.
-
- Member
- Posts: 26
- Joined: Wed Dec 24, 2014 08:56
- GitHub: neoascetic
- IRC: neoascetic
- In-game: neoascetic
Re: [minetest-bower] mod repository and package manager
We may have website in lua at least :)
-
- Member
- Posts: 844
- Joined: Wed Jul 11, 2012 15:02
Re: [minetest-bower] mod repository and package manager
Only if you make a browser in lua ;)
-
- Member
- Posts: 26
- Joined: Wed Dec 24, 2014 08:56
- GitHub: neoascetic
- IRC: neoascetic
- In-game: neoascetic
Re: [minetest-bower] mod repository and package manager
You know what I mean. I am talking about backend part of the website :)
-
- Member
- Posts: 844
- Joined: Wed Jul 11, 2012 15:02
- lordtoran
- New member
- Posts: 7
- Joined: Sun Jun 07, 2015 19:34
- GitHub: lordtoran
- Location: Germany
- Contact:
Re: [minetest-bower] mod repository and package manager
Two small things about the installation on Linux:
did not work for me as the command tries writing to system paths. It should probably be
A second suggestion would be that nodejs is already a dependency of npm, so it does not need to be specified separately to apt-get/aptitude.
edit: If rating mods would be added to the online repository, it would be possible to sort the list by popularity (by a combination of rating, number of ratings and times downloaded).
Code: Select all
npm install -g bower
Code: Select all
sudo npm install -g bower
edit: If rating mods would be added to the online repository, it would be possible to sort the list by popularity (by a combination of rating, number of ratings and times downloaded).
-
- Member
- Posts: 818
- Joined: Tue Apr 14, 2015 01:59
- GitHub: raymoo
- IRC: Hijiri
- In-game: Raymoo + Clownpiece
Re: [minetest-bower] mod repository and package manager
How do I specify dependency versions for my mod?
EDIT: I guess use a normal bower config file?
EDIT: I guess use a normal bower config file?
Every time a mod API is left undocumented, a koala dies.
-
- Member
- Posts: 844
- Joined: Wed Jul 11, 2012 15:02
Re: [minetest-bower] mod repository and package manager
Exactly! You can have a look at these 2 links that provide additional documentation on your question:Byakuren wrote:How do I specify dependency versions for my mod?
EDIT: I guess use a normal bower config file?
https://minetest-bower.herokuapp.com/docs/bower-format
https://minetest-bower.herokuapp.com/docs/semver
- Wuzzy
- Member
- Posts: 4804
- Joined: Mon Sep 24, 2012 15:01
- GitHub: Wuzzy2
- IRC: Wuzzy
- In-game: Wuzzy
- Contact:
Re: [minetest-bower] mod repository and package manager
How does Minetest Bower handle mods with equal directory names?
I like the project idea, I haven't tested it really. The website seems to be well implemented so far.
Good idea for automatically using the mod's metadata (like screenshot) and displaying it in a nice way, rather than requiring to manually upload this stuff seperately.
One thing which I would like to see is to display the “real” mod name on the home page (the name under which the mod is advertised, e.g. “Player Model” instead of “playermodel”) in big letters rather than the “technical” directory name which is ugly. (The technical name should still be displayed for clarity).
I would also add support for “README” files.
Edit: Okay, I noticed that the download seems to always point on the “master.zip”. Does Minetest Bower have no concept of releases? I tend to push incomplete things on master as I do more or less tested releases seperately.
Edit 2: Can you please delete the mod “minetest_hudbars”? This must have been added by mistake, there is not actually a mod called like this, to my knowledge. This seems to be just a duplicate of the “hudbars” mod uploaded under a wrong name.
I like the project idea, I haven't tested it really. The website seems to be well implemented so far.
Good idea for automatically using the mod's metadata (like screenshot) and displaying it in a nice way, rather than requiring to manually upload this stuff seperately.
One thing which I would like to see is to display the “real” mod name on the home page (the name under which the mod is advertised, e.g. “Player Model” instead of “playermodel”) in big letters rather than the “technical” directory name which is ugly. (The technical name should still be displayed for clarity).
I would also add support for “README” files.
Edit: Okay, I noticed that the download seems to always point on the “master.zip”. Does Minetest Bower have no concept of releases? I tend to push incomplete things on master as I do more or less tested releases seperately.
Edit 2: Can you please delete the mod “minetest_hudbars”? This must have been added by mistake, there is not actually a mod called like this, to my knowledge. This seems to be just a duplicate of the “hudbars” mod uploaded under a wrong name.
- rubenwardy
- Moderator
- Posts: 6978
- Joined: Tue Jun 12, 2012 18:11
- GitHub: rubenwardy
- IRC: rubenwardy
- In-game: rubenwardy
- Location: Bristol, United Kingdom
- Contact:
Re: [minetest-bower] mod repository and package manager
It does not allow mods with the same name
-
- Member
- Posts: 844
- Joined: Wed Jul 11, 2012 15:02
Re: [minetest-bower] mod repository and package manager
Hey Wuzzy, thanks for all the positive feedback!
Supports the following MD filenames:
'README.md', 'readme.md', 'Readme.md'
And the following text filenames:
'README.txt', 'readme.txt', 'Readme.txt', 'README', 'readme'
See https://github.com/cornernote/minetest- ... e.php#L315
Names are assigned on a first in first served basis. Once the name is used it cannot be used by another mod.Wuzzy wrote:How does Minetest Bower handle mods with equal directory names?
Bower doesn't support this, however I do a humanize (which converts "craft_guide" to "Craft Guide", however doesn't do so well at converting "playermodel" as it would become "Playermodel").Wuzzy wrote:One thing which I would like to see is to display the “real” mod name on the home page (the name under which the mod is advertised, e.g. “Player Model” instead of “playermodel”) in big letters rather than the “technical” directory name which is ugly. (The technical name should still be displayed for clarity).
It supports readme files with MD and TXT formatting:Wuzzy wrote:I would also add support for “README” files.
Supports the following MD filenames:
'README.md', 'readme.md', 'Readme.md'
And the following text filenames:
'README.txt', 'readme.txt', 'Readme.txt', 'README', 'readme'
See https://github.com/cornernote/minetest- ... e.php#L315
There is support for dependency versions, see https://minetest-bower.herokuapp.com/docs/semver. Is that what you mean?Wuzzy wrote:Edit: Okay, I noticed that the download seems to always point on the “master.zip”. Does Minetest Bower have no concept of releases? I tend to push incomplete things on master as I do more or less tested releases seperately.
I have removed it from the database.Wuzzy wrote:Edit 2: Can you please delete the mod “minetest_hudbars”? This must have been added by mistake, there is not actually a mod called like this, to my knowledge. This seems to be just a duplicate of the “hudbars” mod uploaded under a wrong name.
- Wuzzy
- Member
- Posts: 4804
- Joined: Mon Sep 24, 2012 15:01
- GitHub: Wuzzy2
- IRC: Wuzzy
- In-game: Wuzzy
- Contact:
Re: [minetest-bower] mod repository and package manager
No, I am not talking about SemVer and dependencies. On the website, it seems you always get to download the master.zip, which is the latest and greatest (and buggiest) development version. This should not be the default. Is there really no way to download or at least link to an official release Zip file, like version 2.4.5 of mod XYZ, instead of whatever random and buggy development stage the mod may be in at the moment?
-
- Member
- Posts: 844
- Joined: Wed Jul 11, 2012 15:02
Re: [minetest-bower] mod repository and package manager
Do you code php? I'd merge a PR with a feature to list all releases. If not feel free to add an issue requesting it and I'll see what I can do. Only issue is getting some time to work on it.
Who is online
Users browsing this forum: No registered users and 6 guests