Skip to content

codershubinc/aaxion

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

103 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

wakatime

⚡️ Aaxion

Aaxion is a lightweight, high-performance file server designed to repurpose old hardware into efficient storage nodes. I built this to utilize my old laptop's 1TB storage as a dedicated file cloud for my main devices.


🚀 Key Features

  • Zero-Buffer Streaming: Uploads and downloads are streamed directly to disk/network. A 10GB file transfer uses only ~32KB of RAM.
  • Resumable Uploads: Supports chunked uploading to bypass network limits (e.g., Cloudflare Tunnel) and resume interrupted transfers.
  • Temporary Sharing: Generate one-time secure links for external file sharing.
  • Cross-Platform: Written in Go, runs on Linux (primary) and Windows.

📥 Installation

  1. Download: Check the latest release and get the binary for your OS.
  2. Permissions:
    • Linux: chmod +x aaxion-linux-amd64
    • Windows: No action needed for aaxion-windows-amd64.exe
  3. Run:
    ./aaxion-linux-amd64
    # or
    ./aaxion-windows-amd64.exe
  4. Enjoy: The server starts on port 8080 by default.

⚙️ How it Works

(Current Version: Linux optimized, Windows experimental)

  • Service: On Linux, it runs efficiently as a systemd background service.
  • File System: It monitors a specified root directory (e.g., /home/swap/*) and serves the file tree via JSON APIs.
  • Security: Built-in path sanitization prevents directory traversal attacks. Hidden files (starting with .) are automatically excluded.
  • API: Check the full API Documentation here.

📱 Usage

Aaxion is designed to work with the Aaxion Mobile App:

  1. Download the app from the Aaxion-Mob Repository.
  2. Open the app and navigate to Settings.
  3. Enter your server's IP address and Port (Default: 8080).
  4. Browse, upload, and share files directly from your phone.

📊 Resource Usage

Aaxion is engineered for extreme efficiency using Go's io.Copy streaming interfaces. It does not load files into memory.

Idle State

  • CPU: ~0.0% - 0.1%
  • RAM: ~10 MB
  • Footprint: Minimal background noise, perfect for older hardware.

ideal state

Under Load (Heavy Transfer)

Even while uploading a 10GB file, the resource usage remains flat because data is piped directly to the disk.

  • CPU: ~0.8% - 1.0% (I/O Wait)
  • RAM: ~20 MB (Peak)
  • Disk: ~1 MB (Log storage)

under load

License

Aaxion is free software licensed under the GNU Affero General Public License v3.0. Copyright (C) 2026 Swapnil Ingle.

Note: If you deploy this server and allow others to use it, you must provide them with access to the source code (including your modifications).

Releases

No releases published

Packages

 
 
 

Contributors