Giter Site home page Giter Site logo

glektarssza / ftb-tool Goto Github PK

View Code? Open in Web Editor NEW
4.0 1.0 0.0 924 KB

A simple CLI tool for searching for and downloading Feed the Beast modpacks.

License: MIT License

JavaScript 0.98% TypeScript 98.63% Shell 0.38%
cli cli-tool command-line downloader feed-the-beast ftb minecraft mod modding modpack

ftb-tool's Introduction

FTB Tool

A simple CLI tool for searching for and downloading Feed the Beast modpacks.

Table of Contents

Contributing

This project accepts outside contributions. Please see the following sections for information about how to get setup for contributing.

Setup

Getting setup to develop is fairly straight forward. Follow these steps:

  1. Run npm install to install required dependencies.

That's about it! To run the tool locally simply use:

npm run dev -- <ARGS>

Code Styling

This project uses a combination of Husky, ESLint, and Prettier for code styling. To run ESLint you can use:

npm run lint

To automatically fix any lint issues that can be fixed you can run:

npm run lint:fix

This project is configured with a pre-commit hook to run the linting tool and abort a Git commit if it finds issues. You can bypass this with the --no-verify flag:

git commit --no-verify

Please do not use this unless you only changed non-linted files and there was already a linting error in the codebase.

All pull requests should not fail linting. The linting rules can be changed with discussion.

Testing

To run unit tests use:

npm test

All existing tests should pass before you submit a pull request.

Building Standalone Binaries

This project uses @yao-pkg/pkg to create standalone binaries for use on various operating systems.

To create a standalone binary for your current operating system:

npm run build:standalone

To create a standalone binary for your all supported operating systems:

npm run build:standalone:all

The final binaries will be placed in the dist folder, suffixed with the operating system they are destined for.

License

Copyright (c) 2023 G'lek Tarssza

Licensed under the MIT License.

See LICENSE.md for the full license.

ftb-tool's People

Contributors

dependabot[bot] avatar glektarssza avatar

Stargazers

 avatar  avatar

Watchers

 avatar

ftb-tool's Issues

Archive generation fails on Windows

Operating System

Windows

App Version

v0.3.1

Steps to Reproduce

  1. Download any modpack with the --archive=zip option set.

Expected Results

  • A valid zip file is generated.

Actual Results

  • The generated zip file is not valid (Unexpected end of file).

Additional Details

No response

I acknowledge that:

  • I have searched for similar issues and found none.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.