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

287 lines
8.2 KiB

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