Give me star if you like this project
You can clone this repository as a .zip file here.
Or, you can clone it using your IDE or another git program.
You can generate new github token here
Remember to copy the generated token. Do not close the window before copying.
You have to edit Config Class. If you know how to use java, edit the Config class to you want.
If you don't know how to use java, just input requirements between " symbols.
Use the IDE of your choice. You can also use notepad.
- Github Username: Mooner510
- Github Email: mooner@mooner.com
- Directory: ./repo
- Github Token: "ghp_abcdefghijklmnopqrstuvwxyz"
- Repositories: [dummy-commit-3, dummy-commit-4]
package kr.mooner510.commitspammer;
import java.util.List;
public class Config {
public static final String userName = "Mooner510"; // TODO: Enter your github username
public static final String email = "mooner@mooner.com"; // TODO: Enter your github email
public static final String repoPath = "./repo"; // TODO: Enter your root repository directory path
public static final String token = "ghp_abcdefghijklmnopqrstuvwxyz"; // TODO: Enter your github token
public static final List<String> remotes = List.of( // TODO: Enter your name of repositories for dummy-commit
"dummy-commit-3",
"dummy-commit-4"
);
}
Create new class for run. There is an example.
import kr.mooner510.commitspammer.Commiter;
public class Main {
public static void main(String[] args) {
new Commiter(Config.remotes, false, 20000);
}
}
import kr.mooner510.commitspammer.Commiter;
public class Main {
public static void main(String[] args) {
new Commiter(Config.remotes, true, 60000);
}
}
import kr.mooner510.commitspammer.Pusher;
public class Main {
public static void main(String[] args) {
new Pusher(Config.remotes, 20000);
}
}