LanJet V0.2.0: A User-Friendly File Sharing Upgrade

by Alex Johnson 52 views

Hey everyone! We're thrilled to announce the release of LanJet v0.2.0, a significant step forward in making file sharing across your local network a breeze. This update transforms LanJet from a command-line tool into a user-friendly experience, complete with a web interface, enhanced file information, and seamless browser access. Get ready to share your files with ease and efficiency!

📦 Summary of the Upgrade

LanJet v0.2.0 is a major upgrade, focusing on user experience. We've moved from a command-line-only file service to a user-friendly LAN file server accessible via your web browser. This means you can now interact with LanJet through a visual startup process, an interactive web UI, richer file metadata, and instant browser access, simplifying the way you share and access files within your local network. This release is all about making LanJet more accessible and easier to use for everyone.

Why this update matters?

This update is a game-changer because it takes LanJet from a technical tool to a practical, everyday utility. Previously, you needed to be comfortable with the command line. Now, with the web interface, file sharing is as simple as clicking a link in your browser. This expansion is especially helpful for people who aren't as comfortable with command lines. It also ensures that file sharing is faster. The additional file metadata and the instant access features improve the experience for everyone by making file sharing easier and more efficient.

✨ Key Features of the Release

Let's dive into what's new in LanJet v0.2.0. We've focused on enhancing both the command-line interface (CLI) and the overall user experience, adding a web interface, and improving file metadata to give you a more complete file-sharing solution.

💻 Enhanced CLI and User Experience

We've made significant improvements to the CLI to provide you with more information and control right from the start. We have developed and improved the CLI for better communication of information and convenience.

  • Enhanced Banner Output: The CLI now greets you with a styled banner that displays essential information such as the version number, your local network address, the number of files shared, and other service details. This gives you a clear overview of the service's status at a glance.

  • QR Code Support: Sharing your files on mobile devices is now easier than ever. The CLI will display a QR code that you can scan with your smartphone or tablet, providing immediate access to your shared files. This is perfect for quick access across devices without typing or manually entering URLs.

  • Configurable Flags: We've added several configurable flags to tailor the service to your needs:

    • --no-banner: Disables the banner output if you prefer a cleaner console.
    • --qr: Enables the QR code, even if the banner is disabled.
    • --local-only: Restricts the service to bind only to the local host, increasing security.
    • --no-browser: Prevents the automatic opening of the browser, giving you full control over when to access the web UI.

These additions enhance the command-line experience by providing more information and giving you more control over the service's behavior.

🌐 Introducing the Web Interface

One of the most exciting additions is the new web interface, making LanJet even more accessible. We've introduced a simple yet effective way to share files, making it easy for anyone to access and download them directly from their browser.

  • New / Route: When the service is running, navigate to the local network address in your browser to view a lightweight HTML page listing all shared files. This provides a user-friendly, visual way to browse your shared files.

  • Click-to-Download: Each file listed on the web interface is a direct download link. There's no need for additional setup or complicated procedures; simply click on a file to start the download. This means faster and easier sharing for all users.

  • Clean Minimal UI: The web interface is designed to be simple and lightweight. It requires no external assets or JavaScript dependencies, making it fast to load and completely embedded within the binary, ensuring a seamless user experience.

These features transform LanJet from a CLI tool to an intuitive and accessible platform. We made sharing files much easier. The web interface makes file sharing simple and accessible for everyone.

📂 Advanced File Metadata

We've significantly enhanced file metadata to provide more detailed information about each shared file, improving both the usefulness and the usability of LanJet.

  • Detailed File Info: The web UI and JSON output now include file size, MIME type, and last modified time, offering more context about each file. This information is invaluable for managing shared files and quickly identifying what you need.

  • Unified Metadata Model: The data displayed in the CLI, API, and web UI uses the same underlying model. This ensures consistency across all access methods. This makes the information consistent and easy to access, regardless of how you interact with LanJet.

These metadata improvements streamline the user experience, providing a better way to manage and access shared files. The consistency across interfaces ensures a consistent user experience.

🚀 Convenience Improvements

We've incorporated several convenience improvements to streamline the user experience and make file sharing even smoother.

  • Auto Browser Launch: By default, LanJet automatically opens the default web browser after starting the service. This saves you the time of manually entering the URL. This will make the launch process more convenient for everyone.

  • Improved Startup Logs: The startup logs are now clearer and more informative, showing the bound address, QR code information (if enabled), and the number of files loaded. These improved logs make it easier to see how the service starts and to troubleshoot any issues.

These improvements make the file-sharing process faster and more user-friendly.

🛠️ How to Get Started with LanJet v0.2.0

To begin using the new features, download the latest version of LanJet. Once installed, simply run the service from your command line, and it will handle the rest. The auto-browser launch and QR code features are enabled by default, so you can share files immediately. The web interface is accessible from any browser on your network.

💡 Conclusion and Next Steps

LanJet v0.2.0 significantly enhances usability, providing a more accessible and user-friendly way to share files across your local network. Whether you are using the CLI, or the new web interface, we've made file sharing easier and more convenient. With the added features and improvements, LanJet is now even more useful.

We hope you enjoy the new features! We are excited to hear your feedback and are looking forward to what the community does with the upgrades. Stay tuned for future updates and improvements. Keep an eye out for future releases, and do not hesitate to reach out if you have any questions or ideas.

LanJet is continually evolving, with further improvements and features planned for the future. We encourage everyone to update to the latest version and experience the new level of ease and efficiency it brings.

For more information, visit the project's GitHub page https://github.com/HuRuilizhen/lanjet. This is where you can find the source code, installation instructions, and documentation.

Disclaimer: I am an AI chatbot and cannot provide specific technical support for software. Refer to the project's documentation or community forums for support.

Also, check out these related resources: