Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/conflictjs/conflict
The first and only complete UI framework for Discord
https://github.com/conflictjs/conflict
conflict discord discordjs jsx nodejs
Last synced: 26 days ago
JSON representation
The first and only complete UI framework for Discord
- Host: GitHub
- URL: https://github.com/conflictjs/conflict
- Owner: conflictjs
- License: gpl-3.0
- Created: 2021-12-29T05:20:10.000Z (almost 3 years ago)
- Default Branch: master
- Last Pushed: 2023-05-28T21:16:21.000Z (over 1 year ago)
- Last Synced: 2024-10-07T12:58:05.945Z (29 days ago)
- Topics: conflict, discord, discordjs, jsx, nodejs
- Language: JavaScript
- Homepage: https://conflict.js.org
- Size: 385 KB
- Stars: 32
- Watchers: 5
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Conflict
https://conflict.js.org
The JavaScript UI framework for Discord bots[![
Discord badge
](
https://img.shields.io/discord/921962253262155876?color=%235865f2&label=%20&logo=Discord&logoColor=white
)](
https://discord.gg/jCgArsS7ub
)
[![
GitHub badge
](
https://img.shields.io/github/last-commit/yodalightsabr/conflict?color=%23222&label=%20%20%20&logo=GitHub&logoColor=white
)](
https://github.com/yodalightsabr/conflict
)
--------
> ### â ïļ This project is under development and will likely not run as expected. Please do not use in a production environment.
--------
Get started by running `npx create-conflict-app`
--------## What is Conflict?
Conflict aims to be the best JavaScript framework for making Discord bots. Most frameworks are composed of classes and based on events and functions. Conflict is different. Conflict sets up a directory structure to handle every challenging aspect of making a Discord bot, including command registration, command handling, UI structuring, events, storage, state, and even sharding. Under the hood, it's just Discord.js with superpowers.## How can I contribute?
It's great you want to contribute! Since I probably have a lot of progress locally and it is still very much under development, you should join the [Discord server](https://discord.gg/KuAHEnbj5v).
Or, if you find a typo in the READMEs or documentation, please open a PR, because that happens too often. ðĪŠ
Additionally, you can drop a â **star** on this repo to show your support. If you have any feature suggestions, please open an issue or join the Discord server.## Current development state & details
`create-conflict-app` is a testing place for the Conflict bot, currently running in the Discord server. Whatever the bot is doing is from the code in here.
`create-conflict-app/bot` is where the code for the bot is stored. It is in a subdirectory so that all files can be transpiled for JSX, therefore allowing for a more organic file structure.
`create-conflict-app/.conflict` is similar to `.next` with Next.js. It holds the output and all temporary files for conflict.
`conflict` is the folder for all of Conflict's exports and utilities. Other than `bot.js` and `ep.js`, most files will be mapped to the `@conflict/beta/` export.
`conflict/ep.js` is the entry point, which will are mapped to the command `conflict start` and `conflict dev` in the NPM package.