summaryrefslogtreecommitdiff
path: root/README.txt
diff options
context:
space:
mode:
authorDoan Luu Duc Tai <doan@luuduct.ai>2026-09-08 11:05:33 -0500
committerDoan Luu Duc Tai <doan@luuduct.ai>2026-09-08 11:05:33 -0500
commit098401c3502712c268a5e024b31778229fd107e9 (patch)
tree079af5c04418ba4e37807e33c63c360bce678821 /README.txt
Initial commit
Diffstat (limited to 'README.txt')
-rw-r--r--README.txt48
1 files changed, 48 insertions, 0 deletions
diff --git a/README.txt b/README.txt
new file mode 100644
index 0000000..9d62fe0
--- /dev/null
+++ b/README.txt
@@ -0,0 +1,48 @@
+REQUIREMENTS
+------------
+You need the Rust toolchain installed (rustup).
+<https://rustup.rs>
+
+
+COMPILATION
+-----------
+1. Open your terminal in the project folder.
+2. Build the project in release mode:
+ cargo build --release
+
+The executable will be generated at: target/release/lan-file-server
+For easier access, you can move the executable somewhere else:
+
+cp target/release/lan-file-server ~/your/desired/dir
+
+
+USAGE
+-----
+Run the server by providing the directory you want to share:
+
+./lan-file-server --dir ~/dir/to/your/files
+
+Optional flags:
+--mode: Choose "simple" (read-only file browser) or "upload" (allows uploads).
+--port: Specify a custom port number.
+
+Once running, the program will print the local and network URLs you can open in your web browser.
+
+
+LICENSE
+-------
+This project is licensed under either of:
+
+- Apache License, Version 2.0 (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
+- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
+
+at your option.
+
+
+THIRD-PARTY LICENSES
+--------------------
+
+This project uses third-party dependencies.
+Their licenses are listed in:
+
+THIRD-PARTY-LICENSES.html