Skip to content

A simple web application built with Node.js and Express.js to display system information and run Neofetch.

License

Notifications You must be signed in to change notification settings

masato-ro/NodInfo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NodInfo

NodInfo is a simple web application built with Node.js and Express.js that displays system information and provides the ability to run Neofetch.

Features

  • Home Page: Displays a welcome message and the application version.
  • System Info Page: Provides detailed information about the system, including CPU, memory, network interfaces, environment variables, and the currently used npm packages.
  • Neofetch Output Page: Shows the output of the Neofetch command.

Project Structure

  • server.js: The main server file of the application, handling routes and rendering pages.
  • views/: Directory for storing EJS template files.
  • public/: Directory for storing static files (e.g., CSS, JS, etc.).

Installation and Running

1. Clone the Repository

git clone <your-repo-url>
cd nodinfo

2. Install Dependencies

npm install

3. Run the Application

node server.js

The application will run at http://127.0.0.1:3000/.

Routes

  • /: Home page, displaying a welcome message.
  • /info: Displays detailed system information.
  • /neofetch: Runs Neofetch and displays its output.
  • /*: Catches all other undefined routes and returns a 404 Error.

Dependencies

  • express: Used for building the web server.
  • systeminformation: Used for retrieving system information.
  • strip-ansi: Used for removing ANSI color codes from the Neofetch output.
  • ejs: Used as the view engine for rendering HTML.

License

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

Version

  • Current Version: 0.1

About

A simple web application built with Node.js and Express.js to display system information and run Neofetch.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published