BetterX is a powerful enhancement tool designed to improve your X (formerly Twitter) experience. It provides a flexible plugin system that allows users to customize and extend the functionality of the X platform.
- 🔌 Plugin System: Easily extend X's functionality with custom plugins
- 🎨 Custom UI: Inject custom UI elements to enhance your X experience
- Clone the repository:
git clone https://github.com/Feur-Inc/BetterX.git
- Navigate to the project directory:
cd BetterX
- Install dependencies:
npm install -g pnpm
pnpm install
To build BetterX, run the following command:
npm run build
This will use Webpack to compile and bundle the project.
main.js
: The main application file that initializes BetterXplugin-manager.js
: Manages loading and toggling of pluginsui-manager.js
: Handles custom UI injection
To create a new plugin, use the following template:
import { Devs } from "@utils/constants";
import definePlugin, { OptionType } from "@utils/types";
export default definePlugin({
name: "YourPluginName",
description: "Description of your plugin",
authors: [Devs.YourName],
start() {
// Initialization code
},
stop() {
// Cleanup code
},
settings: {
someOption: {
type: OptionType.BOOLEAN,
default: true,
description: "Description of the option"
}
}
});
We welcome contributions to BetterX! Please read our Contributing Guidelines for more information on how to get started.
This project is licensed under the GNU GPL. See the LICENSE file for details.
- Thanks to all the contributors who have helped make BetterX better!
- Thanks to SauceyRed for Bring Twitter Back
- Thanks to Vencord for the inspiration