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 Bun:
- Linux/macOS:
curl -fsSL https://bun.sh/install | bash
- Windows:
powershell -c "irm bun.sh/install.ps1|iex"
-
Install dependencies:
bun install
To build BetterX, run the following command:
bun run build
This will use Webpack to compile and bundle the project.
main.js
: The main application file that initializes BetterXplugin-manager.ts
: 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],
// Set to false if your plugin can be enabled/disabled without a restart
requiresRestart: false,
start() {
// Initialization code
},
stop() {
// Cleanup code
},
settings: {
someOption: {
type: OptionType.BOOLEAN,
default: true,
description: "Description of the option"
onChange: function() {
// Execute on option changed
}
}
}
}
});
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