This is meant to be an open source self hosted way to play a fantasy manager for some leagues. If you want to try this out use my hosted version which is located here. For any questions feel free to post a question in the discussions tab.
- Completely free and open source.
- Many different leagues to use(Bundesliga, EPL, etc).
- You can even make your own custom plugin to support any league.
- Unlimited users and unlimited leagues.
- Customize starting money.
- Customize starred player bonus.
- Limit transfer amount(Note all users are allowed unlimited transfers while they have an empty squad).
- Ability to allow players to be bought by multiple users in the same league.
- Ranking tables for(Only in leagues):
- Top points for every matchday
- Top points in total
- Filter by origin (Fantasy, Prediction, or all)
- Many ways to search through players:
- By price
- By total points
- By average points
- By the last match points(Requires the server to have been up for the last match day)
- By Club
- By Name
- By Position
- Predict matches to earn more points for the league.
- Customize points for predictions.
- Download player data as json or csv
- See all historical player data(As long as the server was up).
- See historical squads for every league.
- And all of these features in a Modern Responsive UI available in a light and dark theme.
- Customize UI to look however you want.
- Web admin panel for website administrator to change settings.
The official roadmap is on this kanban. If you would like to have a feature added you can request it in an issue or make it yourself and add a pull request.
Here is a sample screenshot for more go to the screenshots folder which is in the public folder or to the main page of my hosted version.
There are 2 options to run this with and without docker. If you are unsure I would recommend docker it is easier. If you would like to install this without docker you can use the Dockerless version. After installing with either process follow the post-installation guide
- First download this file and edit the file to your preferences.
wget 'https://raw.githubusercontent.com/Lukasdotcom/fantasy-manager/main/docker/docker-compose.yaml'
- Then run this.
docker-compose up
Required Tools:
- First clone this git repository
git clone -b stable https://github.com/lukasdotcom/fantasy-manager
- Then copy the .env.sample file located in the docker folder. Edit the values like mentioned in the file and then put the contents into a file called .env.local in the root folder of the project
- Run the command below and the webserver will be exposed on port 3000
npm run start
- To update this just run the command below in the git repository. Then stop the website and start it up again.
git pull
- You need to first of all login to the admin user. By default this should be the very first user to login. If your user is not the admin or you want to change the admin go to admin for help changing the admin user.
- Then go into the admin panel for that user. (You should see it in the menu)
- Enable all the plugins you want. Plugins are basically leagues and you can add custom ones, but all the official ones should be listed.
Read the contributing guidelines.
This service collects some simple analytics when you host this service that currently includes only the following information. This is collected daily and in aggregate so individual user data of your server is never sent to the analytics server. You may optout by setting ANALYTICS_OPT_OUT to optout.
- serverID - This is a random id that is generated the first time the server boots.
- version - The version of the server.
- users - The number of users.
- activeUsers - The number of users that were logged in on that day.
- Then for every type of league (Bundesliga, EPL, etc) there are 2 pieces of data collected:
- Active Users - The number of Active Users in a league with that type.
- Users - The number of users in a league of this type.
- The total number of users using dark or light theme.
- From the active users the total of the dark and light theme.
- The total number of users using a certain language.
- From the active users the total of a certain language.
To change a user to the admin user follow these steps:
- You need to figure out the userID of the user that you want to change. To do this go to the usermenu of the user and it should tell you the userID.
- Then edit the enviromental variables for the server and change it to the userID you just found.
- Then restart the server.