GithubHelp home page GithubHelp logo

afwu / go-file Goto Github PK

View Code? Open in Web Editor NEW

This project forked from songquanpeng/go-file

0.0 1.0 0.0 139 KB

基于 Go 的文件分享工具,仅单可执行文件,开箱即用. File sharing tool written in Go.

Home Page: https://go-file.herokuapp.com/

License: MIT License

Go 33.64% HTML 46.17% CSS 7.89% JavaScript 12.30%

go-file's Introduction

go-file

Go File

✨ 文件分享工具,仅单个可执行文件,开箱即用,可用于局域网内分享文件和文件夹,直接跑满本地带宽 ✨

license release GoReportCard

开发规划 · 下载 · 使用教程

Click here to expend the English readme

Description

File sharing tool, can be used to share files in a LAN.

Features

  1. No need to configure environment and there is only a single executable file.
  2. Automatically open browser to make you share file more quickly.
  3. Generate QR codes for your mobile phone to scan.
  4. Easily share all the content of a local dir.

Usage

Just double-click to use with default port 3000 and default token (used to verify identity when user try to delete files) token.

If you want to change the port and token, run it like this:./go-file.exe -port 80 -token private.

Your can also public a local path by providing a path like this : ./go-file.exe -path ./this/is/a/path

Demo

desktop explorer view mobile

Others

Node.js version is here.

特点

  1. 无需配置环境,仅单个可执行文件,直接双击即可开始使用。
  2. 自动打开浏览器,分享文件快人一步。
  3. 提供二维码,可供移动端扫描下载文件,告别手动输入链接。
  4. 支持分享本地文件夹。

使用方法

直接双击即可使用,默认端口为 3000,默认的 token(用于删除文件时验证身份)为 token

注意,如果主机有多个 ip 地址,请使用 host 参数指定一个其他设备可访问的 ip 地址,如:go-file.exe -host xxx.xxx.xxx.xxx,否则其他设备将无法访问!

如果需要修改端口,加参数即可:./go-file.exe -port 80 -token private

如果需要分享文件夹,加 path 参数:./go-file.exe -path ./this/is/a/path,之后点击导航栏上的 Explorer 即可。

演示

desktop explorer view mobile

其他

Node.js 版本在此

go-file's People

Contributors

songquanpeng avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.