nitelite
v1.0.7
Published
Nitelite is an Epic Games Launcher and a Fortnite automation tool
Downloads
6
Readme
What is Nitelite?
Nitelite is an Epic Games Launcher and a Fortnite automation tool. This is the ideal way to send any, for example, friend requests since those HTTP endpoints are encrypted by epic games. What this api lets you do is control your profile programatically so that you can make those requests as once intended. It makes use of Tesseract-OCR and robotjs to control the epic games launcher and feedsback what it traces. Nitelite is also a callback based api which means it'll work with most other apis you decide to use it with.
Awesome! How do I set it up
Setup is extremley simple! First install the library by using
npm install --save nitelite
Once the installation is done, close everything and open the epic games launcher. Signout and youre good to go! (The epic games launcher has to be completley visible and on the signin screen for nitelite to work properly.) Note: If you move a window or resize something signout, close the epic games launcher and open it again. Everything will be configured to the new window sizes now.
This library only works on windows!
This uses the Beta Launcher, please opt-in to the beta launcher
///Example
const Nitelite = require('Nitelite')
const launcher = new Nitelite();
///This will sign you in to epic games
launcher.signin('your-email','your-password', function(e){
if (!e.state){
e.authenticationWindow.insertCode('your-auth-code-if-prompted', function(e){
if (e.state){console.log("signed in")}
})
}else{
console.log("signed in")
}
});
Docs
State object
stateObj.state: (Boolean) returns if the operation was completed sucessfully or not
stateObj.whatever-window-it-opened: returns the window object from what it opened
Launcher object
Methods
signin(email, password, callback)
- email: (String) your epic games email
- password: (String) your epic games password
- callback:(Function) returns state object ->
if stateObj.state is true the second key will return a mainWindowLauncher object which you can access by stateObj.mainWindowLauncher
if stateObj.state is false the second key will return a authenticationWindow object which you can access stateObj.authenticationWindow
signInWindow object
Methods
signin(email, password, callback)
- email: (String) your epic games email
- password: (String) your epic games password
- callback:(Function) returns state object ->
if stateObj.state is true the second key will return a mainWindowLauncher object which you can access by stateObj.mainWindowLauncher
if stateObj.state is false the second key will return a authenticationWindow object which you can access stateObj.authenticationWindow
authenticationWindow object
Methods
insertCode(code, callback)
- code: (String) your epic games auth code (its up to you to get this if you use 2fa)
- callback:(Function) returns state object ->
if stateObj.state is true the second key will return a mainWindowLauncher object which you can access by stateObj.mainWindowLauncher
<<<<<<< HEADif stateObj.state is false there will be no second key
=======- `if stateObj.state is false there will be no second key
aa51d752de83d7a6be9be683dc25faed2f46d273
close(callback)
- callback:(Function) returns state object ->
stateObj.state will always be true and second key will always be a signInWindow object
mainWindowLauncher object
Methods
openFriendsWindow(callback)
- callback:(Function) returns state object ->
stateObj.state will always be true and second key will always be a friendsWindow object
signout(callback)
- callback:(Function) returns state object ->
if stateObj.state is true the second key will return a signInWindow object which you can access by stateObj.signInWindow
if stateObj.state is false there will be no second key
friendsWindow object
Methods
openAddFriendsWindow(callback)
- callback:(Function) returns state object ->
if stateObj.state is true the second key will return a addFriendsWindow object which you can access by stateObj.addFriends
if stateObj.state is false there will be no second key
close(callback)
- callback:(Function) returns state object ->
stateObj.state will always be true and second key will always be a mainWindowLauncher object
addFriendsWindow object
Methods
addFriend(friend, callback)
- friend: (string) sends a friend request
- callback:(Function) returns state object ->
stateObj.state will always be true and there will be no second key
close(callback)
- callback:(Function) returns state object ->
stateObj.state will always be true and second key will always be a friendsWindow object