npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

node-sysresource

v1.2.0

Published

1. Run command in Terminal at choosen location: ```bash npx node-sysresource ``` 2. Go into choosen folder named by you or node-sysresource and run: ```bash npm run start ``` 3. Open site - sysresource.vercel.app and add your s

Downloads

101

Readme

Get Started by a simple command through terminal

  1. Run command in Terminal at choosen location:
    npx node-sysresource
  2. Go into choosen folder named by you or node-sysresource and run:
    npm run start
  3. Open site - sysresource.vercel.app and add your server, both API and Websocket are supported.

SysResource

SysResource is a powerful system resource monitoring tool that allows you to track server performance metrics such as CPU usage, memory utilization, and uptime. It provides detailed information about server hardware and software configurations, with a user-friendly interface that includes real-time charts and sound alerts for system thresholds and server downtime. It supports WebSocket and API integrations, offering flexible options for monitoring multiple servers.

Features

  • Server Monitoring: Monitor CPU, memory, uptime, hostname, CPU cores, total memory, free memory, platform, type, architecture, environment, and more.
  • Charts: Real-time line chart representations for CPU and memory usage.
  • Grouping: Organize servers into groups for better management and separation.
  • Alerts: Sound notifications when a server goes down or resource usage surpasses thresholds.
  • WebSocket & API: Two options to monitor resources – via WebSocket or API.
  • Settings: Configure API interval, max retries, and store settings in local storage.
  • Documentation: Comprehensive documentation to help you get started.

Usage

After installation, open the application in your browser. You'll be able to:

  • Monitor system resources such as CPU and memory in real-time.
  • Group servers based on different criteria.
  • Set custom API intervals and max retry attempts, stored in local storage.
  • Use WebSocket or REST API to fetch system data.
  • Receive sound alerts when servers go down or resources exceed configured thresholds.

API Documentation

Sysresource exposes several APIs to fetch server data. Below is an example of how to use the API:

  • Get Server Data:
    GET /sysresource
  • Response
    {
    "hostname": "DESKTOP-S283TVV",
    "cpuUsage": 34,
    "cpu": "Intel(R) Core(TM) i9-9900K CPU @ 3.60GHz",
    "cpuCore": 8,
    "totalMemory": 17108,
    "freeMemory": 4767,
    "release": "10.0.19045",
    "platform": "win32",
    "uptime": 2925,
    "type": "Windows_NT",
    "machine": "x86_64",
    "architecture": "x64",
    "environment": "NodeJS"
    }

For complete API documentation, visit API Docs

Settings

You can configure several settings for sysresource:

  • Websocket Interval: Set the interval for messages.
  • API Key: Define the Connection Key through env file.

Contributing

Contributions are welcome! Please follow these steps to contribute:

  1. Fork the repository.
  2. Create a new branch (git checkout -b feature-branch).
  3. Commit your changes (git commit -m 'Add feature').
  4. Push to the branch (git push origin feature-branch).
  5. Open a pull request.

License

This project is licensed under the MIT License – see the LICENSE file for details.