Git with a cup of tea, painless self-hosted git service
Go to file
guillep2k bcb52aef09
Implement "embedded" command to extract static resources (#9982)
* draft

* Implement extract command

* Fix nits and force args on extract

* Add !bindata stub, support Windows, fmt

* fix vendored flag

* Remove leading slash for matching

* Add docs

* Fix typos

* Add embedded view command

Co-authored-by: zeripath <art27@cantab.net>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
2020-02-02 10:17:44 +08:00
.github Improve stale message (#9920) 2020-01-22 12:55:27 +02:00
assets
cmd Implement "embedded" command to extract static resources (#9982) 2020-02-02 10:17:44 +08:00
contrib
custom/conf Cache last commit to accelerate the repository directory page visit (#10069) 2020-02-01 19:11:32 +00:00
docker
docs Implement "embedded" command to extract static resources (#9982) 2020-02-02 10:17:44 +08:00
integrations Cache last commit to accelerate the repository directory page visit (#10069) 2020-02-01 19:11:32 +00:00
models [BugFix] [API] Pull.API.Convert: Only try to get HeadBranch if HeadRepo exist (#10029) 2020-01-31 16:13:51 -05:00
modules Implement "embedded" command to extract static resources (#9982) 2020-02-02 10:17:44 +08:00
options [skip ci] Updated translations via Crowdin 2020-01-30 16:12:42 +00:00
public remove VERSIONS file (#10070) 2020-02-01 18:25:27 +00:00
routers Cache last commit to accelerate the repository directory page visit (#10069) 2020-02-01 19:11:32 +00:00
scripts Generate Bindata iff TAGS="bindata" and not up-to-date (#10004) 2020-01-27 01:05:38 +00:00
services Fix IsErrPullClosed (#10093) 2020-02-01 11:24:26 +00:00
snap
templates Fix branch page pull request title and link error (#10092) 2020-02-01 15:54:25 +02:00
vendor More expansions in template repositories (#10021) 2020-01-28 13:57:15 +00:00
web_src Add button to revert SimpleMDE to plain textarea (#10099) 2020-02-01 17:06:57 +00:00
.changelog.yml
.drone.yml move CSS build to webpack (#9983) 2020-01-28 07:30:39 +00:00
.editorconfig move CSS build to webpack (#9983) 2020-01-28 07:30:39 +00:00
.eslintignore
.eslintrc move highlight.js to npm/webpack (#10011) 2020-01-28 23:57:20 +02:00
.gitattributes
.gitignore Use a file as make evidence for fomantic instead of a directory (#10032) 2020-02-01 20:15:32 +00:00
.golangci.yml
.ignore
.lgtm
.npmrc
.revive.toml
.stylelintrc
BSDmakefile
CHANGELOG.md Changelog 1.11.0-rc2 (#9853) (#9940) 2020-01-22 15:51:38 -05:00
CONTRIBUTING.md move CSS build to webpack (#9983) 2020-01-28 07:30:39 +00:00
DCO
Dockerfile
go.mod More expansions in template repositories (#10021) 2020-01-28 13:57:15 +00:00
go.sum More expansions in template repositories (#10021) 2020-01-28 13:57:15 +00:00
LICENSE
main.go Implement "embedded" command to extract static resources (#9982) 2020-02-02 10:17:44 +08:00
MAINTAINERS
Makefile Use a file as make evidence for fomantic instead of a directory (#10032) 2020-02-01 20:15:32 +00:00
package-lock.json move jquery.are-you-sure to npm/webpack (#10063) 2020-01-29 21:16:55 +00:00
package.json move jquery.are-you-sure to npm/webpack (#10063) 2020-01-29 21:16:55 +00:00
README_ZH.md
README.md Update documentation for the go module era (#9751) 2020-01-28 21:30:02 -05:00
semantic.json enable fomantic api module (#9994) 2020-01-26 18:26:04 +00:00
tools.go
webpack.config.js enable babel-loader cache (#10083) 2020-02-01 15:12:41 +00:00

简体中文

logo Gitea - Git with a cup of tea

Build Status Join the Discord chat at https://discord.gg/NsatcWJ codecov Go Report Card GoDoc GitHub release Help Contribute to Open Source Become a backer/sponsor of gitea License: MIT Crowdin

Purpose

The goal of this project is to make the easiest, fastest, and most painless way of setting up a self-hosted Git service. Using Go, this can be done with an independent binary distribution across all platforms which Go supports, including Linux, macOS, and Windows on x86, amd64, ARM and PowerPC architectures. Want to try it before doing anything else? Do it with the online demo! This project has been forked from Gogs since 2016.11 but changed a lot.

Building

From the root of the source tree, run:

TAGS="bindata" make build

or if sqlite support is required:

TAGS="bindata sqlite sqlite_unlock_notify" make build

More info: https://docs.gitea.io/en-us/install-from-source/

Using

./gitea web

NOTE: If you're interested in using our APIs, we have experimental support with documentation.

Contributing

Expected workflow is: Fork -> Patch -> Push -> Pull Request

NOTES:

  1. YOU MUST READ THE CONTRIBUTORS GUIDE BEFORE STARTING TO WORK ON A PULL REQUEST.
  2. If you have found a vulnerability in the project, please write privately to security@gitea.io. Thanks!

Further information

For more information and instructions about how to install Gitea, please look at our documentation. If you have questions that are not covered by the documentation, you can get in contact with us on our Discord server, or forum!

Authors

Backers

Thank you to all our backers! 🙏 [Become a backer]

Sponsors

Support this project by becoming a sponsor. Your logo will show up here with a link to your website. [Become a sponsor]

FAQ

How do you pronounce Gitea?

Gitea is pronounced /ɡɪti:/ as in "gi-tea" with a hard g.

Why is this not hosted on a Gitea instance?

We're working on it.

License

This project is licensed under the MIT License. See the LICENSE file for the full license text.

Screenshots

Looking for an overview of the interface? Check it out!

Dashboard User Profile Global Issues
Branches Web Editor Activity
New Migration Migrating Pull Request View
Pull Request Dark Diff Review Dark Diff Dark