NethLink is a tool designed to link NethServer systems and provide remote access tools. This project aims to offer a simple yet powerful user interface for managing NethServer systems more efficiently.
To install NethLink on macOS, use Homebrew:
brew install --cask nethlink
For Windows, you can install NethLink via Winget:
winget install NethLink
For Linux, you can install NethLink manually using the following steps:
-
Download the NethLink AppImage using
curl
orwget
:Using
curl
:curl -L -o nethlink.AppImage https://github.com/NethServer/nethlink/releases/download/v<VERSION>/nethlink-<VERSION>.AppImage
Using
wget
:wget https://github.com/NethServer/nethlink/releases/download/v<VERSION>/nethlink-<VERSION>.AppImage
-
Make the AppImage executable:
chmod +x nethlink.AppImage
-
Run the application:
./nethlink.AppImage
This will allow you to run NethLink on your Linux machine. You can also move the nethlink.AppImage
to a directory in your PATH
to make it easier to run from anywhere.
- macOS: Version 10.15 (Catalina) or later.
- Windows: Windows 10 or later.
- Rosetta: Required on macOS for ARM architectures.
⚙️ Usage
- Launch the app: After installation, open
NethLink.app
on macOS or the executable on Windows. - Connect your NethServer: Enter your server's hostname, your username and your password
- Access your server: Once configured, you can access your NethServer with ease.
NethLink is an open-source project and we welcome contributions from the community. To contribute, follow these steps:
- Fork the repository.
- Create a branch for your feature or bugfix (
git checkout -b feature/your-feature
). - Commit your changes (
git commit -am 'Add a new feature'
). - Push the branch (
git push origin feature/your-feature
). - Open a pull request.
Distributed under the MIT License. See the LICENSE file for more details.
To get started with NethLink development, follow the steps below.
Install the project dependencies using npm:
npm install
To run the application in development mode, use:
npm run dev
To build the application for different platforms:
# For Windows
npm run build:win
# For macOS
npm run build:mac
# For Linux
npm run build:linux
To release a new version of the application, use the following commands:
# For major release
npm run publish:major
# For minor release
npm run publish:minor
# For patch release
npm run publish:patch
Use the following environment variables for testing purposes:
DEV=true
Runs the app in development mode.
INSTANCE=<number_of_the_instance>
Enables multiple instances of the process. Use this function with caution, as it can cause issues. This is only for testing purposes. When this variable is set, a newuser_data_<instance_number>.json
is created and the instance only changes its related file.
The user data folders for different operating systems are as follows:
- Windows:
%APPDATA%/nethlink/
- Linux:
~/.config/nethlink/
- macOS:
~/Library/Application Support/nethlink/
There are two files: user_data.json
and available_users.json
. The first file contains the data of the currently logged-in user, while the second contains data for all users who have logged in at least once on the device.