MIT License

项目介绍

Jeffail/leaps 是一个托管在 GitHub 上的开源项目,主要使用 Go 编写,采用 MIT License 许可证,目前获得 753 个 Star、55 次 Fork。

仓库全名
Jeffail/leaps
开源许可证
MIT License
Star 数
753
Fork 数
55
未关闭 Issue
13

README 摘要

Leaps is a service for collaboratively editing your local files over a web UI, using operational transforms to ensure zero-collision synchronization across any number of editing clients. WARNING: This project is no longer actively maintained. Run Simply navigate to a directory you want to share, run leaps, open the hosted page (default http://localhost:8080) in your browser and direct any friends on your LAN to the…

完整内容见 GitHub 原始 README 或本页 。

常见问题

leaps 用什么语言开发?

主要使用 Go 编写,采用 MIT License 许可证,目前有 753 个 Star。

leaps 可以免费商用吗?

仓库采用 MIT License 许可证,可免费使用与修改,商业使用请遵守许可证条款(例如保留版权声明与许可声明)。

如何获取 leaps 的源码?

可以直接克隆仓库:git clone https://github.com/Jeffail/leaps.git,默认分支为 master;安装与运行步骤见仓库 README。

leaps 最近还在维护吗?

仓库最近一次更新为 2023年3月7日,当前有 13 个未关闭 Issue;Star 数为 753,可作为社区活跃度的参考。

关于

A pair programming service using operational transforms

描述取自 GitHub 官方 API,中文内容由 GitRead 中文社区 编辑团队整理。

简要分析

热度分
889
价值分
470
活跃状态
活跃

语言占比

CSS
Go
HTML
JavaScript

Release

README

Leaps

godoc for jeffail/leaps goreportcard for jeffail/leaps

Leaps is a service for collaboratively editing your local files over a web UI, using operational transforms to ensure zero-collision synchronization across any number of editing clients.

WARNING: This project is no longer actively maintained.

Screenshot

Run

Simply navigate to a directory you want to share, run leaps, open the hosted page (default http://localhost:8080) in your browser and direct any friends on your LAN to the same page. You can now collaboratively edit any documents in that directory.

Your files will be written to in the background as you edit. If you aren’t using version control, or simply want extra protection, you can run leaps in safe mode with the --safe flag. In safe mode any changes you make will be placed in a .leaps_cot.json file, which you can then apply to your files once you are happy by running with the --commit flag.

Build/test commands from the UI

When writing code it sucks to have to leave the editor for running tests, linters or builds. However, allowing the internet to run arbitrary commands on the host machine is a recipe for disaster.

Instead, leaps allows you to specify pre-written commands using the -cmd flag, which are then available for clients to trigger asynchronously while they edit. Results are broadcast to all connected users, so you can all see the outcome as a team.

For example, leaps -cmd "golint ./..." -cmd "go build ./cmd/leaps" gives users both a linter and a build command that they can trigger on your machine.

API

Leaps can also be used as a library, with implementations of accessors for various document hosting solutions and plugable authentication layers, allowing you to build your own services to suit many service architectures.

Leaps server components are implemented in Golang, and has a client implemented in JavaScript that can currently be used with ACE, CodeMirror and Textarea editors.

To read more about the service library components and find examples check out the godocs.

To read about the JavaScript client check out the README.

Install

Leaps is a single binary, with no runtime dependencies. Just download a package for your OS from the latest releases page.

From homebrew

brew install leaps
leaps -h

Build with Go

go get github.com/Jeffail/leaps/cmd/...
leaps -h

System compatibility

OS Status
OSX x86_64 Supported, tested
Linux x86 Supported
Linux x86_64 Supported, tested
Linux ARMv5 Builds
Linux ARMv7 Supported, tested
Windows x86 Builds
Windows x86_64 Builds

Contributing and customizing

Contributions are very welcome, just fork and submit a pull request.

Contact

Ashley Jeffs

评论

暂无评论