How to Host “AT’s Unblocked Games” Locally on Your Computer
Ever wanted to access AT’s Unblocked Games but couldn't because a firewall, proxy, or network filter blocked the website or one of its hosted domains?
If you have a copy of the project and are allowed to run it on your computer, you can host it locally using Node.js, Astro, and Netlify CLI. The website will run from your own computer through a localhost address.
This guide explains how to download the project, install Node.js and Git, configure Node.js if you don't have administrator access, install the required dependencies, build the website, and start the local server.
Important: Only use this on computers and networks where you are permitted to run the software. Hosting the project locally does not authorize you to bypass restrictions imposed by a school, employer, or network administrator.
Requirements
You'll need:
- Windows or Linux
- Node.js and npm
- Git (optional, but recommended)
- Internet access for downloading the project and dependencies
- Permission to run the software on your computer
Useful Downloads
- ATProducts repository: https://github.com/ATProductsLLC/atproducts.xyz
- Node.js: https://nodejs.org/en/download
- Git for Windows: https://git-scm.com/install/windows
A Netlify account is not normally necessary simply to run the project locally, although some Netlify-specific functionality may require authentication.
Step 1 — Download the games Branch
The project is hosted in the ATProductsLLC/atproducts.xyz GitHub repository.
There are two ways to download it.
Option A — Use Git
Git is recommended because it makes updating the project much easier.
If you don't already have Git, download it here (recommended to install via WinGet):
https://git-scm.com/install/windows
After installing Git, open Command Prompt or PowerShell and run:
git clone -b games https://github.com/ATProductsLLC/atproducts.xyzThen enter the project directory:
cd atproducts.xyzYou now have a local copy of the games branch.
Updating the project later
One advantage of using Git is that you can easily download updates.
From inside the atproducts.xyz directory, run:
git pull origin gamesThis downloads the latest changes from the games branch.
Option B — Download a ZIP
If you don't want to install Git, you can download the repository manually.
Open the repository:
https://github.com/ATProductsLLC/atproducts.xyz
Select the games branch.
Click Code.
Click Download ZIP.
Extract the ZIP file.
Open the extracted atproducts.xyz directory.
Git is recommended if you expect to update the project frequently, but downloading a ZIP works if you only need a local copy.
Step 2 — Install Node.js and npm
This project requires Node.js and npm.
Download Node.js from the official website:
https://nodejs.org/en/download
For most users, the LTS version is the recommended choice.
Windows — Using the Installer
If you have administrator access, the easiest method is to download the Windows installer and install Node.js normally.
After installation, open a new Command Prompt or PowerShell window.
Check Node.js:
node -vThen check npm:
npm -vBoth commands should return version numbers.
Windows — Without Administrator Access
If you don't have administrator privileges, you can use the Node.js ZIP version instead.
Open:
https://nodejs.org/en/download
Download the appropriate Windows ZIP package.
Extract it to a permanent location. For example:
C:\Users\YourName\nodejsMake sure the extracted directory contains:
node.exeYou will then need to add this directory to your User PATH.
Step 3 — Add Node.js to Your User PATH
This step is necessary if you're using the Node.js ZIP version and Windows cannot find node or npm.
If you're using the ZIP version without administrator access, add Node.js to your User environment variables rather than the system-wide PATH.
Windows
- Press Windows + S.
- Search for: Edit environment variables for your account
- Open it.
- Under User variables for YourName, find Path.
- Select Path.
- Click Edit.
- Click New.
- Enter the directory containing
node.exe.
For example:
C:\Users\YourName\nodejsClick OK.
Click OK again to save your changes.
Important: Add the directory containing node.exe, not node.exe itself.
For example, if Node.js is located at:
C:\Users\John\nodejs\node.exeyour PATH entry should be:
C:\Users\John\nodejsRestart your terminal
Close any Command Prompt, PowerShell, or Windows Terminal windows that were open before you changed PATH.
Open a new terminal and run:
node -vThen:
npm -vIf both return version numbers, Node.js is ready.
Step 4 — Open the Project Directory
Open Command Prompt or PowerShell and navigate to the project directory.
For example:
cd C:\Users\YourName\Downloads\atproducts.xyzIf you cloned the repository from your current directory, you can simply use:
cd atproducts.xyzYou should be inside the directory containing the project's package.json.
Step 5 — Install the Project Dependencies
From inside the atproducts.xyz directory, run:
npm installThis installs the packages specified by the project's package.json.
This may take a while depending on your computer and internet connection.
After it finishes, you should have a node_modules directory.
Tip: You generally don't need to manually install every package listed in package.json. npm install handles that for you.
Step 6 — Install Astro and Netlify CLI
The project uses Astro to build the website and Netlify CLI to serve it locally.
Install both command-line tools with:
npm install -g astro netlify-cliThe -g option installs the packages globally so their command-line commands can be used from your terminal.
Check Astro:
astro --versionThen check Netlify CLI:
netlify --versionBoth should return version information.
Step 7 — Do I Need a Netlify Account?
For basic local development, you generally don't need a Netlify account simply to run a local server.
However, the project's setup may use Netlify-specific functionality that requires authentication or a linked Netlify site.
If the Netlify CLI asks you to log in, run:
netlify loginYou may also need to link the local project:
netlify linkFollow the prompts displayed by the Netlify CLI.
Step 8 — Build the Website
From inside the atproducts.xyz directory, run:
astro buildAstro will build the website and generate the output in the dist directory.
Wait for the build to finish successfully before continuing.
Step 9 — Start the Netlify Local Server
Now run:
netlify dev --dir=distNetlify should start a local server and display a URL, commonly something similar to: http://localhost:8888.
Open the URL shown in your terminal.
You should now see the locally hosted version of AT's Unblocked Games.
Tip: Don't assume the port will always be 8888. If Netlify displays a different localhost address, use the address shown in your terminal.
Why Use netlify dev?
You might wonder why you can't simply open dist/index.html in your browser.
The project contains a netlify.toml configuration file. This can configure Netlify-specific behavior such as HTTP headers and Content Security Policy (CSP) rules.
Opening the HTML file directly would use a file:// URL and would not reproduce the same server environment.
Instead, use:
netlify dev --dir=distThis serves the built website through Netlify's local development environment, allowing you to test Netlify-specific configuration locally.
This is particularly useful if you need the CSP configured in netlify.toml to be applied while testing the site.
Step 10 — Access the Local Website
Once Netlify is running, open the localhost URL shown in your terminal.
For example:http://localhost:8888.
The website is now running locally on your computer.
Keep the terminal window open while you're using the site.
To stop the server, press CTRL + C.
Updating the Website
If you cloned the project using Git, updating it is straightforward.
First, stop the running server: CTRL + C.
Then download the latest changes:
git pull origin gamesReinstall dependencies:
npm installBuild the updated website:
astro buildStart the local server again:
netlify dev --dir=distTroubleshooting
node is not recognized
If you see 'node' is not recognized as an internal or external command, check that the directory containing node.exe has been added to your User PATH.
For example:
C:\Users\John\nodejsAfter changing PATH, close and reopen your terminal.
Then run:
node -vnpm -vnpm is not recognized
First check whether Node.js itself works:
node -vIf Node.js works but npm doesn't, make sure you extracted the complete Node.js ZIP package.
Then close and reopen your terminal and try:
npm -vastro is not recognized
Try reinstalling Astro:
npm install -g astroThen:
astro --versionIf it still isn't recognized, your npm global executable directory may not be in your User PATH.
netlify is not recognized
Install the Netlify CLI again:
npm install -g netlify-cliThen:
netlify --versionIf the command still isn't recognized, check your npm global executable PATH.
Netlify asks me to log in
If the project requires a Netlify-specific feature, the CLI may ask you to authenticate.
Run:
netlify loginThen, if necessary:
netlify linkFollow the instructions provided by Netlify.
Port 8888 is already being used
If another application is using port 8888, Netlify may select another available port or report a conflict.
Use the localhost URL displayed by Netlify rather than assuming the site will always use port 8888.
The CSP isn't working
If you're using netlify dev specifically to test the CSP in netlify.toml, make sure you've rebuilt the project after making changes:
astro buildThen restart the server:
netlify dev --dir=distYou can also open your browser's Developer Tools and look in the Console for Content Security Policy violations.
In Chrome or Edge, press F12 and open the Console tab.
Quick Start
Once Git and Node.js are installed, the basic process is:
git clone -b games https://github.com/ATProductsLLC/atproducts.xyz cd atproducts.xyz npm install npm install -g astro netlify-cli astro build netlify dev --dir=distThen open the localhost URL displayed by Netlify.
For future updates:
git pull origin games npm install astro build netlify dev --dir=distOfficial Links
- ATProductsLLC/atproducts.xyz: https://github.com/ATProductsLLC/atproducts.xyz
- Node.js: https://nodejs.org/en/download
- Git for Windows: https://git-scm.com/install/windows
Thank you for reading,
— Alex Toucan, Founder and Owner of AT Products LLC