Coder Social home page Coder Social logo

taozywu / dort Goto Github PK

View Code? Open in Web Editor NEW

This project forked from littlewin-wang/dort

0.0 1.0 0.0 3.94 MB

File sharing through web with wonderful alternation.

Home Page: https://coding-tool.github.io/dort/

License: MIT License

JavaScript 55.91% HTML 0.42% Vue 38.98% CSS 4.58% PHP 0.12%

dort's Introduction

File sharing through web with wonderful alternation.
  文件演示分享Web工具  

Dort is a npm tool to share your editing, file structure through web during presentation or code review.

Dort 是一个使用者在 讲演 或者 代码审阅 过程 分享 项目文件编辑过程 的web工具。

Everybody in the same network can browse through the files, check file history, copy the code, download the project, preview images, etc.

同一内网中的用户可以 浏览文件查看文件编辑版本复制文本下载整个项目查看图片,甚至可以与所有打开web的用户进行交流。

Feature

  • Easy for Client (all platform with browser) 便于使用
  • Live Update 实时刷新
  • Low Network Traffic 低网络负担

Demo

Instruction

  1. Prepare NodeJS and NPM environment 准备nodejs和npm环境

  2. Install package 安装包

# npm install -g dort
  1. Launch dort inside your project folder 启动server端
# cd /your-files
# dort
  1. Open default browser with default port - http://localhost:4574 端口可设置

  2. Shre the url to any body in the same network 其他内网用户可以通过相应端口访问

Configuration

params Type Default Description
debug number 1 develop levels
path string '' path of file you want open
name string '' name of project
port number 4574 port for web
exclude array ['/.DS_Store', '/.log', ...] file to exclude
test bool false Enable test mode or not
max-file-size number 99999 max file size

Then you can launch dort as

# dort "My project" --debug 0 --path /file-path --port 1234 --exclude "node_modules/**" --test true --max-file-size 99999
# // or
# dort "My project" -d 0 -pa /file-path -po 1234 -e "node_modules/**" -t true -m 99999

TODO

  • node procedure to watch files in local
  • state management
  • FE web
  • chat and barrage
  • File content interactive

dort's People

Contributors

littlewin-wang avatar

Watchers

taozywu 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.