You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

index.en-us.md 8.4 kB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286
  1. ---
  2. date: "2016-11-08T16:00:00+02:00"
  3. title: "Documentation"
  4. slug: "documentation"
  5. weight: 10
  6. toc: true
  7. draft: false
  8. ---
  9. # What is Gitea?
  10. Gitea is a painless self-hosted Git service. It is similar to GitHub, Bitbucket, and Gitlab.
  11. Gitea is a fork of [Gogs](http://gogs.io). See the [Gitea Announcement](https://blog.gitea.io/2016/12/welcome-to-gitea/)
  12. blog post to read about the justification for a fork.
  13. ## Purpose
  14. The goal of this project is to provide the easiest, fastest, and most painless way of setting
  15. up a self-hosted Git service. With Go, this can be done with an independent binary distribution
  16. across all platforms and architectures that Go supports. This support includes Linux, macOS, and
  17. Windows, on architectures like amd64, i386, ARM, PowerPC, and others.
  18. ## Features
  19. - User Dashboard
  20. - Context switcher (organization or current user)
  21. - Activity timeline
  22. - Commits
  23. - Issues
  24. - Pull requests
  25. - Repository creation
  26. - Searchable repository list
  27. - List of organizations
  28. - A list of mirror repositories
  29. - Issues dashboard
  30. - Context switcher (organization or current user)
  31. - Filter by
  32. - Open
  33. - Closed
  34. - Your repositories
  35. - Assigned issues
  36. - Your issues
  37. - Repository
  38. - Sort by
  39. - Oldest
  40. - Last updated
  41. - Number of comments
  42. - Pull request dashboard
  43. - Same as issue dashboard
  44. - Repository types
  45. - Mirror
  46. - Normal
  47. - Migrated
  48. - Notifications (email and web)
  49. - Read
  50. - Unread
  51. - Pin
  52. - Explore page
  53. - Users
  54. - Repos
  55. - Organizations
  56. - Search
  57. - Custom templates
  58. - Override public files (logo, css, etc)
  59. - CSRF and XSS protection
  60. - HTTPS support
  61. - Set allowed upload sizes and types
  62. - Logging
  63. - Configuration
  64. - Databases
  65. - MySQL
  66. - PostgreSQL
  67. - SQLite3
  68. - MSSQL
  69. - TiDB (experimental, not recommended)
  70. - Configuration file
  71. - [app.ini](https://github.com/go-gitea/gitea/blob/master/custom/conf/app.ini.sample)
  72. - Admin panel
  73. - Statistics
  74. - Actions
  75. - Delete inactive accounts
  76. - Delete cached repository archives
  77. - Delete repositories records which are missing their files
  78. - Run garbage collection on repositories
  79. - Rewrite SSH keys
  80. - Resync hooks
  81. - Recreate repositories which are missing
  82. - Server status
  83. - Uptime
  84. - Memory
  85. - Current # of goroutines
  86. - And more
  87. - User management
  88. - Search
  89. - Sort
  90. - Last login
  91. - Authentication source
  92. - Maximum repositories
  93. - Disable account
  94. - Admin permissions
  95. - Permission to create git hooks
  96. - Permission to create organizations
  97. - Permission to import repositories
  98. - Organization management
  99. - People
  100. - Teams
  101. - Avatar
  102. - Hooks
  103. - Repository management
  104. - See all repository information and manage repositories
  105. - Authentication sources
  106. - OAuth
  107. - PAM
  108. - LDAP
  109. - SMTP
  110. - Configuration viewer
  111. - Everything in config file
  112. - System notices
  113. - When somthing unexpected happens
  114. - Monitoring
  115. - Current processes
  116. - Cron jobs
  117. - Update mirrors
  118. - Repository health check
  119. - Check repository statstics
  120. - Clean up old archives
  121. - Environment variables
  122. - Command line options
  123. - Multi-language support ([21 languages](https://github.com/go-gitea/gitea/tree/master/options/locale))
  124. - Mail service
  125. - Notifications
  126. - Registration confirmation
  127. - Password reset
  128. - Reverse proxy support
  129. - Includes subpaths
  130. - Users
  131. - Profile
  132. - Name
  133. - Username
  134. - Email
  135. - Website
  136. - Join date
  137. - Followers and following
  138. - Organizations
  139. - Repositories
  140. - Activity
  141. - Starred repositories
  142. - Settings
  143. - Same as profile and more below
  144. - Keep email private
  145. - Avatar
  146. - Gravatar
  147. - Libravatar
  148. - Custom
  149. - Password
  150. - Mutiple email addresses
  151. - SSH Keys
  152. - Connected applications
  153. - Two factor authentication
  154. - Linked OAuth2 sources
  155. - Delete account
  156. - Repositories
  157. - Clone with SSH/HTTP/HTTPS
  158. - Git LFS
  159. - Watch, Star, Fork
  160. - View watchers, stars, and forks
  161. - Code
  162. - Branch browser
  163. - Web based file upload and creation
  164. - Clone urls
  165. - Download
  166. - ZIP
  167. - TAR.GZ
  168. - Web based editor
  169. - Markdown editor
  170. - Plain text editor
  171. - Syntax highlighting
  172. - Diff preview
  173. - Preview
  174. - Choose where to commit to
  175. - View file history
  176. - Delete file
  177. - View raw
  178. - Issues
  179. - Issue templates
  180. - Milestones
  181. - Labels
  182. - Assign issues
  183. - Track time
  184. - Reactions
  185. - Filter
  186. - Open
  187. - Closed
  188. - Assigned person
  189. - Created by you
  190. - Mentioning you
  191. - Sort
  192. - Oldest
  193. - Last updated
  194. - Number of comments
  195. - Search
  196. - Comments
  197. - Attachments
  198. - Pull requests
  199. - Same features as issues
  200. - Commits
  201. - Commit graph
  202. - Commits by branch
  203. - Search
  204. - Search in all branches
  205. - View diff
  206. - View SHA
  207. - View author
  208. - Browse files in commit
  209. - Releases
  210. - Attachments
  211. - Title
  212. - Content
  213. - Delete
  214. - Mark as pre-release
  215. - Choose branch
  216. - Wiki
  217. - Import
  218. - Markdown editor
  219. - Settings
  220. - Options
  221. - Name
  222. - Description
  223. - Private/Public
  224. - Website
  225. - Wiki
  226. - Enabled/disabled
  227. - Internal/external
  228. - Issues
  229. - Enabled/disabled
  230. - Internal/external
  231. - External supports url rewriting for better integration
  232. - Enable/disable pull requests
  233. - Transfer repository
  234. - Delete wiki
  235. - Delete repository
  236. - Collaboration
  237. - Read/write/admin
  238. - Branches
  239. - Default branch
  240. - Branch protection
  241. - Webhooks
  242. - Git hooks
  243. - Deploy keys
  244. ## System Requirements
  245. - A Raspberry Pi 3 is powerful enough to run Gitea for small workloads.
  246. - 2 CPU cores and 1GB RAM is typically sufficient for small teams/projects.
  247. - Gitea should be run with a dedicated non-root system account on UNIX-type systems.
  248. - Note: Gitea manages the `~/.ssh/authorized_keys` file. Running gitea as a regular user could break that user's ability to log in.
  249. ## Browser Support
  250. - Please see [Semantic UI](https://github.com/Semantic-Org/Semantic-UI#browser-support) for specific versions of supported browsers.
  251. ## Components
  252. * Web framework: [Macaron](http://go-macaron.com/)
  253. * ORM: [XORM](https://github.com/go-xorm/xorm)
  254. * UI components:
  255. * [Semantic UI](http://semantic-ui.com/)
  256. * [GitHub Octicons](https://octicons.github.com/)
  257. * [Font Awesome](http://fontawesome.io/)
  258. * [DropzoneJS](http://www.dropzonejs.com/)
  259. * [Highlight](https://highlightjs.org/)
  260. * [Clipboard](https://zenorocha.github.io/clipboard.js/)
  261. * [Emojify](https://github.com/Ranks/emojify.js)
  262. * [CodeMirror](https://codemirror.net/)
  263. * [jQuery Date Time Picker](https://github.com/xdan/datetimepicker)
  264. * [jQuery MiniColors](https://github.com/claviska/jquery-minicolors)
  265. * Database drivers:
  266. * [github.com/go-sql-driver/mysql](https://github.com/go-sql-driver/mysql)
  267. * [github.com/lib/pq](https://github.com/lib/pq)
  268. * [github.com/mattn/go-sqlite3](https://github.com/mattn/go-sqlite3)
  269. * [github.com/pingcap/tidb](https://github.com/pingcap/tidb)
  270. * [github.com/denisenkom/go-mssqldb](https://github.com/denisenkom/go-mssqldb)
  271. ## Software and Service Support
  272. - [Drone](https://github.com/drone/drone) (CI)