https://github.com/tricked-dev/argoninstallerrepo
https://github.com/tricked-dev/argoninstallerrepo
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/tricked-dev/argoninstallerrepo
- Owner: Tricked-dev
- Created: 2022-02-21T13:27:11.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2022-04-06T17:45:21.000Z (about 4 years ago)
- Last Synced: 2025-01-16T10:17:19.561Z (about 1 year ago)
- Language: TypeScript
- Size: 391 KB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
Awesome Lists containing this project
README
# TModInstaller repo
[](https://github.com/Tricked-dev/tmodinstallerrepo/actions/workflows/update.yml)
Minecraft mod installer gui application repository
current repos:
- [Skyclient](https://tmod.deno.dev/skyclient.json)
- [Feather](https://tmod.deno.dev/feather.json)
- [std](https://tmod.deno.dev/std.json)
## Contributing to the STD repo
The std repo is mend to be a selective repo for useful mods you can add new mods by editing the [std_data.json](./std_data.json) file.
## Creating a TMOD Installer repo
Creating a TMOD Installer repo is pretty easy you can view the example above.
important notes for hosting a repo:
- Use a fast host the repos get downloaded on each startup and having a slow host will slow everything down by alot
- Dont use github as a host but instead a service thats mend for things like this here's a few examples: [Deno deploy](https://deno.com/deploy), [Cloudflare Pages](https://pages.cloudflare.com/), [Cloudflare workers](https://workers.cloudflare.com/), [Heroku](https://heroku.com/), [A vps](https://www.ovhcloud.com/en/vps/), [Netlify](http://netlify.com/), [Vercel](https://vercel.com/), [More..](https://free-for.dev/#/?id=web-hosting#/?id=web-hosting#/?id=web-hosting).
Typescript interfaces to create a repo:
```typescript
interface DownloadMod {
mcversion: string;
version: string;
// Hash of the mod supported formats, sha256, sha512, sha1, md5; syntax md5;
hash: string;
url: string;
filename: string;
id: string;
}
interface Mod {
// Nicknames of this mod
nicknames: string[];
// ID OF THIS MOD
forgeid: string;
// Displayname
display: string;
description: string;
// URL to the icon of this mod
icon: string;
categories: string[];
// Array of mod-ids this "mod" conflicts with
conflicts: string[];
// Room for additional meta for this mod homepage github, discord, Creator...
meta: Record;
downloads: DownloadMod[];
}
interface repo {
// THE id of your repo this allows users to remove your repo and have all mods be removed and allows them to view where the mod is from
id: string;
// Mods that exist
mods: Mod[];
}
```