SyntaxToolkit is planned to have a set of tools that will merge multiple apps into one using the APi's of said programs. This app is still in its very early stages of development, so right now the only tool available is to view and play your Steam library.
Create a new file called .env in the root project folder, and in it, type:
STEAM_API_KEY = 'API KEY';
STEAM_ID = 'STEAM ID';
DC_TOKEN = 'DISCORD BOT TOKEN';
APP_ID = 'DISCORD BOT APP ID';
The server will run on localhost:80.
Click here for how to find your API key
Click here for how to find your Steam ID
Click here for how to setup a Discord bot
Make sure you have npm installed. Open 3 terminals (ex. powershell) in the project directory. In one type:
npm i
npm run frontend
And in the second one type:
npm run backend
And in the last one, type:
npm run dcbot
You can find your Steam API key on this website.
Go to your Steam profile on this website or Steam client, hover over your profile name, and click on Profile
.
Once you're on your Steam profile, click on the Edit Profile
button.
On the Edit Profile page, scroll down until you see Custom URL
. Delete any text that is in the textbox (it might already be empty) and copy your Steam ID into the URL below the textbox.
Firstly, go to the Discord developer website and click on the New Application
button in the top-right corner.
Name your bot and make sure to accept the DTOS and Developer Policy
You should find your app ID on the General Information
page. Click on the copy button to copy it.
Go to the Bot
tab. You should find a Reset Token
button under your bot's name. Click on it and make sure to copy the token, as otherwise you will have to regenerate it.
If you plan to host the application on your computer, you can just type in localhost
and you're good to go. But if you plan to use the site on a different machine, then you have to:
Click Windows\Super + R
, type in cmd
into the windows that appeared, and click OK
.
Type in ipconfig
if on Windows or ifconfig
if on MacOS or Linux into the window that just appeared. The IPv4
section is what you're looking for.