GameArch (Game Archive) is a self-hosted open-source tool for your videogame collection.
want to contribute? simply open a PR in the dev
branch, or get in touch.
First, you can edit the two dotenv files in the root of the project for enabling / disabling the auto open for Browsers, and in the Backend folder to set the credentials for the Nodemailer, the initial created User and so on.
yarn install
install the dependencys.yarn start
in the Frontend directory starts the react app on port 3000 (Linux).yarn start-win
in the Frontend directory starts the react app on port 3000 (Windows).yarn start
in the Backend directory starts the express server on port 5000.yarn build
in the Frontend directory trigger a production build for the Frontend.
- clone the
main
branch to your machine withgit clone https://github.com/Cryptec/GameArch.git
and change the directory withcd GameArch
. - switch to the Frontend directory with
cd Frontend
, followed byyarn install
install the dependencys. Repeat this in the Backend directory. - in both directorys change the name of
example.env
to.env
. To edit the files use your favourite editor likenano
. it is important to set the email settings, otherwise the reset password function will not work! yarn start
in the Backend directory starts the express server on port 5000.yarn build
in the Frontend directory trigger a production build for the Frontend.
Thanks to christophkoenig there is also a Docker conatiner available. You can find the instructions in his repository https://github.com/christophkoenig/docker-gamearch
- define the platforms/consoles for your needs in
/Frontend/src/utils/platforms.js
The Telegram bot is an experimental feature in development, to easily check infos about the collection or gameinfos "on the go".
To use the bot, you need to start the Telegram bot BotFather to receive a Bot-token.
Add this token in the /Backend/.env
file to BOT_TOKEN
, and set TELEGRAM_BOT
to enabled (default is disabled!). Now your created bot is connected with your GameArch installation.
Some commands to use are:
/start
- Start the bot.
/help
- List all commands.
/games <FirstLetter>
- Lists all owned game titles that start with the mentioned letter.
/find <GameTitle>
- Checks if the game is in the collection and replies with title and some infos.
/info <GameTitle>
- Replies the description of the provided title.
/wishlist
- Replies the wishlist.
All commands also work at reply to a message. For example, list all games beginning with the letter 'B', and then reply to a game with /info
.
More detailed infos will be provided in the Bot itself.
once a sale price is given, the game is automatically marked as 'Not Owned' and of course no longer counts towards the total value of the collection. If you want to undo the whole thing, you should also do this using the resolution mode, namely delete the sale price and, if necessary, mark the game as 'owned' again. You can also simply mark the game as owned again in 'normal' mode, but this changes automatically as soon as you switch back to sale mode, because this recognizes the specified sale price in the database.
Long story short: if you own the game again, delete the sale price!
the ideal resolution for Boxcover like N64 or SNES to display perfectly in the 'Grid-view' is 800px x 560px!
If you want to backup your GameArch Data, you need to save your db.sqlite
file from the /Backend/db
folder, and also the images from the /Backend/public/uploads
folder.
To restore simply copy the db file and the images back in place in your new installation.