1
0
mirror of https://github.com/c9fe/22120.git synced 2024-10-05 14:47:12 +02:00
Go to file
2024-08-30 00:10:05 +08:00
.github Update FUNDING.yml 2023-05-20 14:09:45 +08:00
docs OK 2024-07-31 00:07:52 +08:00
icons Adding icons to macos 2023-01-25 00:57:53 +08:00
public Fixed create require 2024-08-01 13:08:19 +08:00
scripts Windows builds 2024-08-29 14:58:50 +00:00
src WIndows works perfectly 2024-08-29 16:00:23 +00:00
stampers merge 2024-08-29 14:59:35 +00:00
.DS_Store Remove bin from npm package 2024-08-01 13:53:30 +08:00
.eslintrc.cjs create 2023-01-15 02:07:52 +08:00
.gitignore Windows builds 2024-08-29 14:58:50 +00:00
.npm.release Fix cross-format app root path issue 2023-01-15 15:12:05 +08:00
.npmignore Remove bin from npm package 2024-08-01 13:53:30 +08:00
.npmrelease Bump latest to npm: 4.2.6 2024-08-30 00:09:57 +08:00
CONTRIBUTING.md Create CONTRIBUTING.md 2023-09-21 08:23:40 +08:00
eslint.config.js Use 22 2024-07-31 18:03:58 +08:00
exec.js cross x build 2024-08-29 21:28:14 +08:00
global-run.cjs OK 2024-08-01 13:39:23 +08:00
LICENSE Update LICENSE 2024-03-22 23:31:27 +08:00
NOTICE create 2023-01-15 02:07:52 +08:00
package-lock.json 4.2.6 2024-08-30 00:09:57 +08:00
package.json 4.2.6 2024-08-30 00:09:57 +08:00
README.md Update README.md 2024-08-24 12:04:54 +08:00
test.sh Fixed create require 2024-08-01 13:08:19 +08:00

💾 DownloadNet (dn) Your Offline Web Archive with Full Text Search

source lines of code binary downloads visitors+++ DownloadNet slogan

Imagine a world where everything you browse online is saved and accessible, even when you're offline. That's the magic of DownloadNet (dn).

Why dn?

  • Seamless Offline Experience 🌍: With dn, your offline browsing feels exactly like being online. It hooks directly into your browser, caching every page you visit, so you never lose track of that one article or resource you meant to revisit.
  • Full Text Search 🔍: Unlike other archiving tools, dn gives you the power to search through your entire archive. No more digging through countless files—just search and find.
  • Completely Private 🔒: Everything is stored locally on your machine. Browse whatever you want, with the peace of mind that it's all private and secure.

Getting Started

1. Download a Pre-built Binary (Simplest Option) 📦

If youre not familiar with Git or npm, this is the easiest way to get started:

  1. Go to the Releases Page
  2. Download the binary for your operating system (e.g., Windows, macOS, Linux).
  3. Run the downloaded file. Thats it! Youre ready to start archiving.

2. Install via npm (For Users Familiar with Command Line) 🚀

  1. Open your terminal (Command Prompt on Windows, Terminal on macOS/Linux).
  2. Install dn globally with npm:
    npm i -g downloadnet@latest
    
  3. Start dn by typing:
    dn
    

Note

Make sure you have Node.js installed before attempting to use npm. If you're new to npm, see the next section for guidance.

3. New to npm? No Problem! 💡

If youve never used npm before, dont worry—its easy to get started.

  • What is npm? npm is a package manager for Node.js, a JavaScript runtime that allows you to run server-side code. Youll use npm to install and manage software like dn.
  • Installing Node.js and npm: The easiest way to install Node.js (which includes npm) is by using Node Version Manager (nvm). This tool allows you to easily install, manage, and switch between different versions of Node.js.

To install nvm:

  1. Visit the nvm GitHub page for installation instructions.
  2. Follow the steps to install nvm on your system.
  3. Once nvm is installed, install the latest version of Node.js by running:
    nvm install node
    
  4. Now you can install dn using npm as described in the section above!

Tip

Using nvm allows you to easily switch between Node.js versions and manage your environment more effectively.

4. Build Your Own Binary (For Developers or Power Users) 🛠️

If you like to tinker and want to build the binary yourself, heres how:

  1. Download Git: If you havent used Git before, download and install it from git-scm.com.

  2. Clone the Repository:

    git clone https://github.com/dosyago/DownloadNet.git
    
  3. Navigate to the Project Directory:

    cd DownloadNet
    
  4. Install Dependencies:

    npm i
    
  5. Build the Binary:

    npm run build
    
  6. Find Your Binary: The newly built binary will be in the ./build/bin directory, ready to be executed!

5. Run Directly from the Repository (Quick Start) 🏃

Want to get dn up and running without building a binary? No problem!

  1. Clone the Repository:
    git clone https://github.com/dosyago/DownloadNet.git
    
  2. Navigate to the Project Directory:
    cd DownloadNet
    
  3. Install Dependencies:
    npm i
    
  4. Start dn:
    npm start
    

And just like that, youre archiving!

How It Works

dn runs as an intercepting proxy, hooking into your browser's internal fetch cycle. Once you fire up dn, it automatically configures your browser, and youre good to go. Everything you browse is archived, and you can choose to save everything or just what you bookmark.

Modes:

  • Save Mode 💾: Archive and index as you browse.
  • Serve Mode 📂: Browse your saved content as if you were still online.

Caution

As your archive grows, you may encounter performance issues. If that happens, you can adjust the memory settings by setting environment variables for NODE runtime arguments, like --max-old-space-size.

Accessing Your Archive

Once dn is running, your archive is at your fingertips. Just go to http://localhost:22120 in your browser. Your archives control panel opens automatically, and from there, you can search, configure settings, and explore everything youve saved.

Minimalistic Interface, Maximum Power

dns interface is basic but functional. Its not about flashy design; its about delivering what you need—offline access to the web, as if you were still connected.

Advanced Settings (If Needed)

As your archive grows, you may want to adjust where it's stored, manage memory settings, or blacklist domains you dont want to archive. All of these settings can be tweaked directly from the control panel or command line.

Get Started Now

With dn, youll never lose track of anything youve read online. Its all right there in your own offline archive, fully searchable and always accessible. Whether you're in save mode or serve mode, dn keeps your digital life intact.

⬇️ Download | 🚀 Install | 🏃 Run | 🔎 Never Lose Anything Again

Get Started with dn