Guru 7aec3668f2
Merge pull request #9 from codex-storage/fix-pathhandling
fixing the abrupt stop by handling path variables
2025-02-26 01:37:20 +05:30
2024-10-31 02:19:42 +00:00
2024-10-31 02:57:39 +00:00
2025-02-24 15:49:19 -07:00
2025-02-24 17:43:59 -07:00
2025-02-21 01:30:39 +05:30

Codex Installer

A command-line interface for installing and interacting with Codex Storage.

Features

  • Install and manage Codex node
  • Run Codex node with custom configuration
  • Check node status and connected peers
  • Upload and download files
  • View local data
  • Cross-platform support (Windows, Linux, macOS)

Installation

npm install -g codexstorage

Or run directly with npx:

npx codexstorage

Usage

Interactive Mode

Simply run:

codexstorage

This will start the interactive CLI menu where you can:

  1. Download and install Codex
  2. Run Codex node
  3. Check node status
  4. Upload a file
  5. Download a file
  6. Show local data
  7. Uninstall Codex node

Command Line Mode

Upload a file:

codexstorage --upload <filename>

Download a file:

codexstorage --download <cid>

Requirements

  • Node.js 14 or higher
  • For Linux users: libgomp1 library
  • For Windows users: curl command available

Development

  1. Clone the repository
  2. Install dependencies:
npm install
  1. Run the CLI:
npm start

License

MIT

Description
CLI application to set up a Codex node and interact with the test network
Readme
Languages
JavaScript 100%