GithubHelp home page GithubHelp logo

ittai's Introduction


Ittai

Features | Installation | How to Build

What the heck?! I only need to use one style for my plugin?

Ittai?! I only need to use Ittai for my plugin?

Ittai is a plugin builder for Discord client mods. Which ones? Yes.


Features

  • Build even single-file BD plugins from multi-file projects.
  • Write one codebase, distribute one product.
  • Hot rebuild your plugins.
  • Use various flavors of JS to create your plugins.
  • I didn't forget about CSS!
    • Load your stylesheets easily.
      • import style from "./style.css";
      • start() {style.add();}
      • stop() {style.remove();}
    • SASS (SCSS)
    • Stylus
    • LESS
  • Build to almost any client mod.
    • BetterDiscord
    • Powercord v2
    • Vizality

Installation

Requirements

Installation Steps

git clone https://github.com/Kyza/ittai/
pnpm i
pnpm bin

How to Build

Command Options

  • --plugin="path/to/your/plugin"
  • --betterdiscord (optional)
    • Specify ="path/to/plugin/folder" to copy the built file to the folder.
    • Builds for BetterDiscord.
  • --powercordv2 (optional)
    • Specify ="path/to/plugin/folder" to copy the built files to the folder.
    • Builds for Powercord v2.
  • --vizality (optional)
    • Specify ="path/to/plugin/folder" to copy the built files to the folder.
    • Builds for Vizality.
  • --watch (optional)
    • Will watch for changes in your plugin's unbuilt files and automatically run the command again for you.

Build Command

This command will build your plugin for BetterDiscord, Powercord v2, and Vizality, but will only copy it to the Vizality plugin's folder. It will also hot rebuild your plugin for you.

ittai --plugin="./test/plugin" --betterdiscord --powercordv2 --vizality="C:/Users/Kyza/GitHub/vizality/addons/plugins/fgbd" --watch

ittai's People

Contributors

imgbotapp avatar kyza avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

mulverinex

ittai's Issues

Can't build plugin from BetterDiscord to Powercord

The command I used:
node index.js --plugin="D:\the\plugin\I\wanna\build\from" --betterdiscord="D:\path\ittai\builder\temp\" --watch (I used this in ittai\builder and I am not sure am I right)

And the result:

┏━━━━━━━━━━━━━━━━━━━━━━━━┓
┃                        ┃
┃  Ittai Plugin Builder  ┃
┃                        ┃
┗━━━━━━━━━━━━━━━━━━━━━━━━┛
Plugin Folder:             D:\the\plugin\I\wanna\build\from
BetterDiscord Plugin File: D:\path\ittai\builder\temp\pluginname.plugin.js
Watching Files:            true
Build for Production:      false
Module not found: Error: Can't resolve 'D:\the\plugin\I\wanna\build\from' in 'D:\path\ittai\builder'
Build failed after 278,685ms.

Why this happens? I used pnpm to install ittai and the plugin works in betterdiscord without any error poping out (it's just a plugin printing hello world in the console log when it starts). Also I didn't used any module in that plugin since I just wanna try to familiarize myself to use this to build different version of plugins.

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.