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

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280
  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. - Track time
  179. - Filter
  180. - Open
  181. - Closed
  182. - Assigned person
  183. - Created by you
  184. - Mentioning you
  185. - Sort
  186. - Oldest
  187. - Last updated
  188. - Number of comments
  189. - Search
  190. - Comments
  191. - Attachments
  192. - Pull requests
  193. - Same features as issues
  194. - Commits
  195. - Commit graph
  196. - Commits by branch
  197. - Search
  198. - Search in all branches
  199. - View diff
  200. - View SHA
  201. - View author
  202. - Browse files in commit
  203. - Releases
  204. - Attachments
  205. - Title
  206. - Content
  207. - Delete
  208. - Mark as pre-release
  209. - Choose branch
  210. - Wiki
  211. - Import
  212. - Markdown editor
  213. - Settings
  214. - Options
  215. - Name
  216. - Description
  217. - Private/Public
  218. - Website
  219. - Wiki
  220. - Enabled/disabled
  221. - Internal/external
  222. - Issues
  223. - Enabled/disabled
  224. - Internal/external
  225. - External supports url rewriting for better integration
  226. - Enable/disable pull requests
  227. - Transfer repository
  228. - Delete wiki
  229. - Delete repository
  230. - Collaboration
  231. - Read/write/admin
  232. - Branches
  233. - Default branch
  234. - Branch protection
  235. - Webhooks
  236. - Git hooks
  237. - Deploy keys
  238. ## System Requirements
  239. - A cheap Raspberry Pi is powerful enough for basic functionality.
  240. - 2 CPU cores and 1GB RAM would be the baseline for teamwork.
  241. - 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.)
  242. ## Browser Support
  243. - Please see [Semantic UI](https://github.com/Semantic-Org/Semantic-UI#browser-support) for specific versions of supported browsers.
  244. - The official support minimal size is **1024*768**, UI may still looks right in smaller size but no promises and fixes.
  245. ## Components
  246. * Web framework: [Macaron](http://go-macaron.com/)
  247. * ORM: [XORM](https://github.com/go-xorm/xorm)
  248. * UI components:
  249. * [Semantic UI](http://semantic-ui.com/)
  250. * [GitHub Octicons](https://octicons.github.com/)
  251. * [Font Awesome](http://fontawesome.io/)
  252. * [DropzoneJS](http://www.dropzonejs.com/)
  253. * [Highlight](https://highlightjs.org/)
  254. * [Clipboard](https://zenorocha.github.io/clipboard.js/)
  255. * [Emojify](https://github.com/Ranks/emojify.js)
  256. * [CodeMirror](https://codemirror.net/)
  257. * [jQuery Date Time Picker](https://github.com/xdan/datetimepicker)
  258. * [jQuery MiniColors](https://github.com/claviska/jquery-minicolors)
  259. * Database drivers:
  260. * [github.com/go-sql-driver/mysql](https://github.com/go-sql-driver/mysql)
  261. * [github.com/lib/pq](https://github.com/lib/pq)
  262. * [github.com/mattn/go-sqlite3](https://github.com/mattn/go-sqlite3)
  263. * [github.com/pingcap/tidb](https://github.com/pingcap/tidb)
  264. * [github.com/denisenkom/go-mssqldb](https://github.com/denisenkom/go-mssqldb)
  265. ## Software and Service Support
  266. - [Drone](https://github.com/drone/drone) (CI)