#KJSPKG - A package manager that allows you to download example scripts directly into your instance!

1337 messages · Page 2 of 2 (latest)

somber ice
#

2.8k messages hih

smoky cradle
#

Lmao

#

Well

#

See you in another 8 months ig

somber ice
#

what

fervent cobalt
#

what

fierce pathBOT
#

@fervent cobalt 😳

smoky cradle
#

Oh wait no

#

This thread is 10 months old

smoky cradle
#

apparently views on packages without readmes didn't count up

#

this is truly one of the bugs of all time

somber ice
fervent cobalt
#

you should've done QA pepelaugh

#

not a me issue

#

I resign

smoky cradle
#

sorry uhh kitsuny for kjs lootbags, lio for gravescroll and buddingamethyst, and myself for bad apple pepelaugh

smoky cradle
#

grrr this is inconsistent I should change this

fervent cobalt
#

don't blame yourself or me

#

this is definetly a user issue

#

they should've just added a readme

smoky cradle
#

ok but that way I'm blaming myself though

#

cause

#

I didn't add a readme

#

either way

rough charm
#

How do we upload packages to it?

brazen cargo
smoky cradle
#

Yeah ^

#

Mundm beat me to it hih

sand niche
#

heh does website translatable?

fervent cobalt
#

there's no i18n, no

smoky cradle
sand niche
#

heh I just like to translate

fervent cobalt
smoky cradle
#

You don’t need extra packages if you can do the thing you want with the ones you have heh

smoky cradle
#

hey check out the new languages 👍

fervent cobalt
#

oh no

#

sorry what the fuck is this

somber ice
fervent cobalt
#

contribute

somber ice
#

can you not read

somber ice
smoky cradle
#

touch grass button

fervent cobalt
#

I'm sorry for the chatgpt instance that had to sit though all of this

smoky cradle
#

bold of you to assume I even have an openai account heh

fervent cobalt
#

......

#

bard or whatever idfk what u used for this

#

tell it that it did a shit job

smoky cradle
#

my brain bigbrain

fervent cobalt
#

what is wrong with you.

smoky cradle
#

kjspkg has officially reached 50 packages
thank y'all <3

fallen fjord
#

Cool shit

smoky cradle
#

Thank you

fallen fjord
#
  • had an UI
fervent cobalt
#

what

fallen fjord
#

Modrinth mods

fervent cobalt
#

?????

brazen cargo
#

that's really difficult I would assume

#

and doesn't give much value

fervent cobalt
#

not difficult. but I don't get the point

#

kjspkg is for kjs scripts

#

not mods

#

use packwiz

fallen fjord
brazen cargo
#

idk how difficult it is to use the api

fervent cobalt
#

google it

brazen cargo
#

but yeah makes no sense

fallen fjord
#

Oh sh#t

fervent cobalt
#

no token required for mr

fallen fjord
#

Also man someone should someday decide to get a lot of developers together to rewrite Minecraft Java Edition

#

In a sane language like Go

brazen cargo
#

that's not really allowed

fallen fjord
brazen cargo
#

i don't think you can rewrite using mixins

fallen fjord
#

You'd need written permission from Microsoft ;(

fervent cobalt
brazen cargo
#

yeah, they won't give you that

fervent cobalt
fallen fjord
#

The programming language

#

Golang

fervent cobalt
#

I like go. don't get me wrong. but go is not sane for sth like mc.

#

have u ever seen its type system?

#

it's kinda.. lacking in places

#

and I'm saying that as someone who writes 80% of my projects in go

fallen fjord
#

I know

#

But anything is better than Java

#

ESPECIALLY FOR ANDROID DEVELOPMENT

fervent cobalt
#

....

#

use kotlin then.

fallen fjord
#

I swear to god the amount of Java errors I get when connecting my phone to ADB is insanity

fervent cobalt
#

you can write mods in kotlin.

fallen fjord
#

I get at least 3,000 a second

fervent cobalt
#

java is not bad.

brazen cargo
fallen fjord
#

Including my fucking banking app

#

It just complains that "CANNOT ACQUIRE HANDLE TO KNOX SECURITY MODULE"

#

WHAT THE FUCK DO YOU WANT ME TO DO SAMSUNG

fervent cobalt
#

samsuing issue

#

not java related

fallen fjord
#

And will repeatedly retry until it works

#

Which takes like 300 tries

#

At least

#

YouTube has a memory leak

#

Every UI you open is permanent

#

Essentially; Java is too stupid to deallocate the UI

fervent cobalt
#

how is this a java issue

#

?????

fallen fjord
#

So it keeps on collecting

smoky cradle
#

??offtopic

fierce pathBOT
smoky cradle
#

Thank you

fervent cobalt
#

^

fallen fjord
#

Even though it isn't referenced

#

Anyways waiting for the day that the copyright on Minecraft's code expires

fervent cobalt
#

?? kek

brazen cargo
#

that won't happen like ever

smoky cradle
fierce pathBOT
smoky cradle
#

Was planned but I never finished it

#

Might come back to the idea later

fervent cobalt
#

this looks shit

smoky cradle
brazen cargo
#

tkinter just looks shit

#

yeah but the white color of the lists is shit and can be changed

#

also they're missing scroll bars

fervent cobalt
#

^

#

why not build a memory-itensive electron app that is based on the website

#

that just adds an Install button

#

:tro

somber ice
#

well an electron app weights at min 200mb

fervent cobalt
#

that's perfect

smoky cradle
#

It can be improved a bit but in general tkinter apps just don’t look good

fervent cobalt
#

tbh

#

imo

#

the only native ui lib that doesn't look completely shit is gtk.

#

qt is a close second

smoky cradle
#

I chose it because the app is meant to be light and not intended to look pretty

#

Just a small util for people who don’t want to use the cli

fervent cobalt
#

use tauri

smoky cradle
#

malezjaa told me to use it but look at where he and his carbonjs are heh

#

Also I don’t want to learn rust

fervent cobalt
#

use wails

smoky cradle
#

The fuck is that

fervent cobalt
#

not rust

smoky cradle
#

No I don’t want to learn go either

fervent cobalt
#

then use electron

smoky cradle
#

No

#

Memory hog

fervent cobalt
#

then cry about it

brazen cargo
#

then make a mod

#

and make a nice mc themed gui

#

xd

smoky cradle
rough charm
marble wigeon
#

Kjspkg mod would be cool tho

#

Install scripts from inside your game

#

Just sayin

smoky cradle
marble wigeon
#

Oop

#

Gcat learning modding??

marble wigeon
#

Oh-

rough charm
rough charm
smoky cradle
#

1.21 is now supported under version code 11

rough charm
#

how's KJSPGK going

smoky cradle
#

Needs a rework but fine enough for now

#

Packages added occasionally

marble wigeon
#

rewrite in brainfuck

smoky cradle
#

Truly

smoky cradle
#

So I know a guy who knows a guy who knows this other guy who invited me to a private discord server
and in that server was another guy by the name of redstonewizard08 who for some reason had the courage to rewrite the entirety of kjspkg and the lookup in rust and svelte 5 respectively
I do not hablo rust so I will probably soon be stepping away from the project and letting the new generation take my place (granted, I wasn't working on it much myself lately hehtroll)
so expect good shit, and it was nice knowing y'all, cya in another project!

oak galleon
smoky cradle
#

this is all yours now enjoy tr

oak galleon
#

Lol

#

kjspkg is basically becoming modrinth but specifically for kubejs and it's a web service and a CLI. It also has a fully documented REST API :D

#

Note that the CLI hasn't been started yet and the UI is still in progress (rewriting it)

marble wigeon
oak galleon
oak galleon
#

Guys do I add global tags and a search filter system

#

And if so I need tag ideas

smoky cradle
#

Through the manifest

oak galleon
#

Actually that's a good idea

smoky cradle
#

Things have been going on

fervent cobalt
#

i have been going on

smoky cradle
# smoky cradle So I know a guy who knows a guy who knows this other guy who invited me to a pri...

Welp
Took a bit heh

Plans change, things move, ideas appear and disappear out of existence
All of this to say, KJSPKG has been completely rewritten...
In Go.
Not exactly what I said originally but, after a long back and forth and exactly 2 forks of it, we've finally landed on something.
The only thing rewritten is the CLI, currently nothing else is affected. The rewrite is being handled by tizu (quite unfortunate timing) and he has some interesting things planned, looking forward to seeing those.
The backend remained the same, so you still host files on github unlike redstonewizard's version which used a dedicated db.
The rewrite is already pulled into the main repo.
Lookout for more updates as the situation is still ongoing and maybe things will soon change even more. Hopefully not, but still.

somber ice
#

ok

marble wigeon
#

whats unfortunate about the timing

fierce pathBOT
#

[➤](#off-topic message)
He’s gone.
Too many times has he shit on other people.
We don’t need that here.

smoky cradle
#

fuck off gnome god

marble wigeon
#

fr okay

smoky cradle
smoky cradle
#

You can now upload scripts though the KJSPKG Lookup website! This feature was suggested by the one and only @main dust back in [i am too lazy to check some long time ago basically (we love procrastinating here at mm if you haven't figured that out already trollwide2)] and only now have we fully implemented it (and by we I mean mostly tizu heh).

To upload a package, go to https://kjspkglookup.modernmodpacks.site/me and auth through github, then press the plus button and follow all of the instructions.

A more thorough guide is available here. This should hopefully make the process of adding new packages a little less painful heh

Happy uploading!

rough charm
smoky cradle
#

The current side project I am focused on is this little thing called homework

#

After which I will continue doing FA trollwide2

sand niche
#

ah...

git checkout feat/main/i18n/zh-tw
> error: invalid path 'src/routes/me/add/(licenses)/BSD 2-Clause "Simplified" License.txt'
> error: invalid path 'src/routes/me/add/(licenses)/BSD 3-Clause "New" or "Revised" License.txt'
main dust
smoky cradle
#

Huh

#

Where is this from

sand niche
#

from git cli

#

Maybe it's because Windows doesn't support using parentheses as pathnames

smoky cradle
sand niche
#

I want to fix the translation lol

smoky cradle
#

Ah makes sense

#

Well yeah ig windows jank or smth

sand niche
#

Oh wait, Windows does not support using " as a path name.

rough charm
#

bruh lol

smoky cradle
#

Lemme try to change the file names

sand niche
#

thx

smoky cradle
#

Try it now

sand niche
#

yeah it works

#

thx

sand niche
smoky cradle
#

You can also do fabric 1.12 heh

sand niche
#

What if it were made into a form like this?

marble wigeon
#

fabric is on 1.16

#

your graph is WRONG

#

oh wait is kubejs on fabric 1.16 though..

sand niche
#

I'm checking CF since Modrinth is only 1.18+

marble wigeon
#

oh

sand niche
#

I checked and there doesn't seem to be a Fabric version for 1.16

smoky cradle
sand niche
#

oh

#

the legacy curseforge project

smoky cradle
sand niche
#

edited

smoky cradle
#

I use a redirector usually on my pc to auto redirect to legacy cf lol

#

I'm just on my phone

smoky cradle
# sand niche edited

I mean it's kinda unnecessary
Nobody is actually going to upload a fabric 1.12 package

#

And even if they do I'm just not gonna accept it heh

#

This is kinda too much work

#

Also the neoforge and quilt separations were a big discussion point (ahem @oak galleon ahem)

#

But currently we've decided that they are also sorta unnecessary since you can kinda guess

#

Kjs up to 1.20 is only on lexforge

#

And from 1.21 it's only neo

#

Quilt is kinda interchangable with fabric and I doubt a lot of people are going to need it's apis specifically for their packages

#

And even then there are ways to detect if the current environment is fabric or quilt in the script itself

sand niche
#

Quilt mod loader is compatible with Fabric mod, but Fabric mod loader is not compatible with Quilt mod. We have to admit that there are some Quilt-only mods

smoky cradle
#

I know

sand niche
#

But it's true that on kubejs it doesn't matter

smoky cradle
#

But then still

#

You can just detect for those mods within the scrips instead heh

#

Or add these mods as package dependencies

sand niche
#

You can also directly detect Quilt API heh

smoky cradle
#

Yeah that too

smoky cradle
marble wigeon
#

D:

sand niche
smoky cradle
#

The search sucks
It's sometimes unresponsive to the window size change
And yeah some pages are not even present

sand niche
#

It seems that some places cannot be translated, such as some single words

smoky cradle
#

Huh weird

sand niche
#

like slug / mod:id

smoky cradle
#

Ok yeah this is tizu's fault heh

#

Sec

#

Reported it to him

#

He is 100% asleep by now

sand niche
smoky cradle
#

Also forwarded

sand niche
#

Neither the ID/Repository label nor the placeholder of the input appear in json.

smoky cradle
#

Yeah he def screwed localization up

#

Everything will be fixed tomorrow

sand niche
#

nice

smoky cradle
#

It's 4 am for him and 5 am for me lol

#

I should go sleep

sand niche
#

lol

#

good night(?)

smoky cradle
#

Gn

#

Hopefully

#

If you find more bugs send them here we'll figure it out

sand niche
#
    "list.by": "by",
    "list.detailed.on_branch": "on branch",
    "list.detailed.at_path": "at path",
    "list.detailed.in_repo": "in repo",
    "list.download_singluar": "download",
    "list.download_plural": "downloads",
    "list.view_singular": "view",
    "list.view_plural": "views",
#

It is hoped that more keys can use %d/%s to locate the input content, which will be more convenient for multi-language translation.

#

like

    "list.by": "by %s",
    "list.detailed.on_branch": "on branch %s",
    "list.detailed.at_path": "at path %s",
    "list.detailed.in_repo": "in repo %s",
    "list.download_singluar": "%d download",
    "list.download_plural": "%d downloads",
    "list.view_singular": "%d view",
    "list.view_plural": "%d views",
#

The contents of in repo and at path are reversed.

sand niche
wicked blaze
#

Is there a list of packages?

#

Found ot

smoky cradle
wicked blaze
#

Github cooked

wicked blaze
smoky cradle
#

Weird

#

It works for me

#

Send me the link you get redirected to

wicked blaze
#

Yeah idk why that's there hahaha

#

That's what I get

smoky cradle
#

Ohhhh ik what happened

#

Ig I uploaded the image to a different repo of mine which is private so it obviously doesn't display for you lmao

#

It's supposed to be an image

#

Will fix later

wicked blaze
#

i got a problem with one of the packages, is this where i should ask for help?

smoky cradle
#

Otherwise on whatever repo the package is attached to