In this tutorial, we will go over the steps required to install goploader on a system running Windows 11. Goploader is a self-hosted file sharing and storage solution written in Go. It allows you to securely upload files and share them with others.
Before we begin, you will need to make sure you have the following software installed on your system:
Open a command prompt or PowerShell window.
Navigate to the directory where you want to install goploader. For example, C:\Users\username\Documents
.
Clone the goploader repository by running the following command:
git clone https://github.com/Depado/goploader.git
Navigate into the goploader directory by running:
cd goploader
Build the goploader binary by running:
go build -tags "sqlite" -o goploader.exe cmd/goploader/main.go
If this command does not work, try running go get
first.
Once the build is complete, you should see a file named goploader.exe
in the goploader
directory.
Run the binary by executing the following command:
.\goploader.exe
This will start the goploader server on port 8080 by default, and you should see output similar to the following:
INFO[0000] Successfully connected to database database=sqlite3
INFO[0000] Starting goploader port=8080
You can access the goploader web interface by navigating to http://localhost:8080
in your web browser.
By default, goploader will store uploaded files in the ./files
directory. You can change this by configuring the GOPLOADER_STORAGE_PATH
environment variable.
Here's an example of how to set the storage path to C:\goploader-files
:
set GOPLOADER_STORAGE_PATH=C:\goploader-files
To run goploader as a service, you can use a tool like NSSM (Non-Sucking Service Manager) to create a Windows service.
Here's an example of how to create a service using NSSM:
Download and extract NSSM from https://nssm.cc/download.
Open a command prompt or PowerShell window as an administrator.
Navigate to the directory where you extracted NSSM.
Run the following command to create a new service:
nssm install goploader C:\path\to\goploader.exe -port 8080 -database sqlite -storage-path C:\goploader-files
Replace C:\path\to\goploader.exe
with the path to your goploader binary, and C:\goploader-files
with the path to your desired storage directory.
Open the Windows Services snap-in by running services.msc
.
Find the goploader
service and start it.
Now goploader should be running as a Windows service, and you can access the web interface by navigating to http://localhost:8080
in your web browser.
In this tutorial, we have gone over the steps required to install goploader on a system running Windows 11. With goploader, you can securely upload and share files with others on your own server.
If you want to self-host in an easy, hands free way, need an external IP address, or simply want your data in your own hands, give IPv6.rs a try!
Alternatively, for the best virtual desktop, try Shells!