This Node.js application allows you to view and search for TeamViewer devices. It sorts devices by their connection status and allows for filtering by device alias.
- View all devices with their connection status
- Sort devices with offline ones at the top
- Search for devices by alias
- Clone the repository:
git clone https://github.com/zak23/Teamviewer-Device-List.git
cd Teamviewer-Device-List
- Install dependencies:
npm install
- Create a .env file in the root directory with the following content:
API_TOKEN=your_teamviewer_api_token
- Start the application:
node server.js
The application will be available at http://localhost:3000.
For deployment, we recommend using Docker. Here’s a basic Docker setup:
- Create a Dockerfile in the root directory with the following content:
# Use the official Node.js image
FROM node:16
# Set the working directory
WORKDIR /app
# Copy package.json and package-lock.json
COPY package*.json ./
# Install dependencies
RUN npm install
# Copy the rest of the application code
COPY . .
# Expose port 3000
EXPOSE 3000
# Start the application
CMD ["node", "server.js"]
- Build and run the Docker container:
docker build -t teamviewer-devices .
docker run -p 3000:3000 --env-file .env teamviewer-devices
- Use API token that has read-only permissions to ensure that no changes can be made to the TeamViewer settings.
- The application can be outward-facing and accessed by technical staff.
The application can be modified to better suit your specific needs. If you have any requests for changes or additional features, please let us know.
If you encounter any issues or have any questions, please contact us at [email protected]