• Stars
    star
    204
  • Rank 191,222 (Top 4 %)
  • Language
    JavaScript
  • License
    MIT License
  • Created over 6 years ago
  • Updated 11 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Plugin library for BetterDiscord.

ZeresPluginLibrary - Download Language Grade

This is the repo for Zere's Plugin Library for BetterDiscord. You can follow development here. There will be more info and shit to come, but for now here ya go.

Library Documentation

View the library documentation here: https://rauenzi.github.io/BDPluginLibrary/docs

The information below is just a quickstart guide and overview on using the build scripts provided.

Using The Library

If you'd like a real-world example, take a look at https://github.com/rauenzi/BetterDiscordAddons

First add the library builder to your repo:

npm install zerespluginlibrary

Then add to your package.json:

{
    //...
   "scripts": {
    // ...
       "build": "zpl build",
       "init": "zpl init"
   }
   // ...
}

Create your ZPL config. You can use .zplrc, .zplrc.js, or a top-level zplConfig key in package.json;

// .zplrc.js
module.exports = {
    base: "./examples",
    out: "./release",
    copyToBD: true,
    addInstallScript: true
};

Initialize your first plugin with:

npm run init PluginName

You should a new folder with an index.js and config.json. When you're ready to build, just run:

npm run build PluginName

and a new PluginName.plugin.js will be created in your output folder.

Building The Lib

npm install
npm run build

This generates a BD compatible ./release/0PluginLibrary.plugin.js file to be added to your plugins folder.

Configuration

The library is configurable with the default configuration found in the package.json.

releaseFolder

Absolute or relative path to the folder where plugins that are built should be placed.

Default: "./release"


bdFolder

Absolute or relative path to the BetterDiscord folder. Useful when combined with copyToBD. This folder is found automatically on most system.

Default: "<os-specific>/BetterDiscord"


copyToBD

Boolean to determine if the built plugin should also be automatically copied over to your BD plugins directory. Very convenient for development.

Default: false


More Repositories

1

BetterDiscordAddons

A series of plugins and themes for BetterDiscord.
JavaScript
571
star
2

BBDInstaller

Installer for the BetterDiscord fork BandagedBD
C#
217
star
3

Nox

A beautiful dark material theme for Discord
SCSS
103
star
4

Trilium-SingleFile

An addon for Trilium to easily import SingleFile archives.
TypeScript
24
star
5

Trilium-Breadcrumbs

A widget to show note breadcrumbs at the bottom of the page.
JavaScript
23
star
6

Trilium-MarkdownPreview

A widget for trilium notes for live previewing markdown files with support for anchors, images, and sync scroll.
JavaScript
21
star
7

discordbot.py

An extention of discord.py to ease bot development
Python
21
star
8

Trilium-LaTeXPreview

A widget for Trilium Notes to preview LaTeX notes.
JavaScript
8
star
9

VHDL-Communications

Example code showing different communications such as TTL, SPI and I2C.
VHDL
8
star
10

trilium.rocks

A community-based website for Trilium Notes users!
TypeScript
7
star
11

trilium-etapi

An easy to use api for Trilium ETAPI.
TypeScript
6
star
12

trilium-types

A @types package for Trilium Notes!
6
star
13

EnhancedDiscordPlugins

A selection of my BetterDiscord plugins for EnhancedDiscord.
CSS
6
star
14

trilium-pack

A simple way to pack addons as zip files for Trilium Notes.
JavaScript
5
star
15

BlockCatcher

This is a WebGL game in which you must catch as many blocks as possible until time runs out.
JavaScript
5
star
16

Planum

Discord bot with an xp and levelling system including role rewards.
JavaScript
4
star
17

BoiBot

BoiBot is the Discord bot that's here for the bois.
JavaScript
4
star
18

TableTennisDB

Discord bot for table tennis equipment stats, world rankings, schedules and more!
JavaScript
4
star
19

better-formatting

A lightweight formatting plugin for powercord
JavaScript
3
star
20

ModernRenai

A UserCSS theme for the Katawa Shoujo forums on the Ren'Ai.
CSS
3
star
21

BlockCatcherFX

JavaFX version of the super popular BlockCatcher web game!
Java
2
star
22

Object3D-Demo

JavaScript
2
star
23

Hangman

My hangman game, this uses external serial communications but can be used separately..
Java
2
star
24

Intelligent-Line-And-Marker-Tracking-Car

Code, Documentation, and Demo, of an autonomous car that tracks a black line as well as markers in the form of sign posts.
C
2
star
25

Tools-and-Utilities

This repo contains a set of useful libraries and tools mainly in Java as of right now. However more and more will be added in the future.
Java
2
star
26

Z-Networking

JavaScript
1
star
27

BurstBoards

PHP
1
star
28

rauenzi.github.io

HTML
1
star