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.6 kB

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