1
0
mirror of https://gitea.com/gitea/awesome-gitea synced 2024-12-19 21:33:13 +00:00
Commit Graph

140 Commits

Author SHA1 Message Date
luting
7061402c0f Add theme: Github Dark (#156)
be based on https://github.com/Rainnny7/gitea-github-theme Second change, matching Github with a pure black theme, and the original project has not been maintained for more than a year

Reviewed-on: https://gitea.com/gitea/awesome-gitea/pulls/156
Reviewed-by: techknowlogick <techknowlogick@noreply.gitea.com>
Co-authored-by: luting <luting@noreply.gitea.com>
Co-committed-by: luting <luting@noreply.gitea.com>
2024-12-12 18:14:43 +00:00
Troplo
6105321b35 Add theme: Earl Grey (#155)
This is the same Earl Grey theme referenced in #130 / #148 (original PR #56) I've been the primary maintainer since the original creator no longer wanted to maintain it a few years ago.

Reviewed-on: https://gitea.com/gitea/awesome-gitea/pulls/155
Co-authored-by: Troplo <troplo@noreply.gitea.com>
Co-committed-by: Troplo <troplo@noreply.gitea.com>
2024-12-09 17:42:50 +00:00
joaquinjsb
25eb99bdce Adds Gitea Release Please (#154)
Signed-off-by: joaquinjsb <joaquinjsb@noreply.gitea.com>
Reviewed-on: https://gitea.com/gitea/awesome-gitea/pulls/154
Reviewed-by: techknowlogick <techknowlogick@noreply.gitea.com>
Co-authored-by: joaquinjsb <joaquinjsb@noreply.gitea.com>
Co-committed-by: joaquinjsb <joaquinjsb@noreply.gitea.com>
2024-11-21 15:42:33 +00:00
feraxhp
85070cb968 * grp cli tool added (#153)
Added a new CLI tool to interact with GitHub, Gitea and local repos.

Co-authored-by: techknowlogick <techknowlogick@noreply.gitea.com>
Reviewed-on: https://gitea.com/gitea/awesome-gitea/pulls/153
Reviewed-by: techknowlogick <techknowlogick@noreply.gitea.com>
Co-authored-by: feraxhp <feraxhp@noreply.gitea.com>
Co-committed-by: feraxhp <feraxhp@noreply.gitea.com>
2024-10-08 15:38:44 +00:00
年幼涩批
82a15d8da9 Added Pages plugin (#151)
Reviewed-on: https://gitea.com/gitea/awesome-gitea/pulls/151
Reviewed-by: John Olheiser <jolheiser@noreply.gitea.com>
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: 年幼涩批 <explodingfkl@gmail.com>
Co-committed-by: 年幼涩批 <explodingfkl@gmail.com>
2024-05-02 06:03:51 +00:00
lucas-labs
830f3a8585 add lugit theme (#150)
Adds a [theme I created](https://github.com/lucas-labs/gitea-lugit-theme) a while ago, inspired by [Catpuccin](https://github.com/catppuccin/gitea) and github

![image](/attachments/93c4e6b8-d72a-45fb-9585-3fd0a95cc93a)

![image](/attachments/51ae3ced-35eb-4136-b53d-3c4742a7a9be)

Reviewed-on: https://gitea.com/gitea/awesome-gitea/pulls/150
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
Reviewed-by: techknowlogick <techknowlogick@noreply.gitea.com>
Co-authored-by: lucas-labs <lucas-labs@noreply.gitea.com>
Co-committed-by: lucas-labs <lucas-labs@noreply.gitea.com>
2024-04-12 02:31:51 +00:00
ChristopherHX
002eec5386 Add actions runner to DevOps (#149)
Use the actions/runner developed by GitHub with Gitea Actions

Reviewed-on: https://gitea.com/gitea/awesome-gitea/pulls/149
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: ChristopherHX <christopherhx@noreply.gitea.com>
Co-committed-by: ChristopherHX <christopherhx@noreply.gitea.com>
2024-03-05 03:24:06 +00:00
allen.cai
04845c75b5 Add category: Actions (#147)
Add category: Actions

Signed-off-by: allen.cai <allen.cai@noreply.gitea.com>

Co-authored-by: techknowlogick <techknowlogick@noreply.gitea.com>
Reviewed-on: https://gitea.com/gitea/awesome-gitea/pulls/147
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: allen.cai <allen.cai@noreply.gitea.com>
Co-committed-by: allen.cai <allen.cai@noreply.gitea.com>
2024-01-19 08:20:59 +00:00
Werenter
c61a83a050 Added gcli (#146)
I think this good project must be added to this list

Reviewed-on: https://gitea.com/gitea/awesome-gitea/pulls/146
Reviewed-by: John Olheiser <jolheiser@noreply.gitea.com>
Co-authored-by: Werenter <werenter@noreply.gitea.com>
Co-committed-by: Werenter <werenter@noreply.gitea.com>
2023-12-23 05:50:02 +00:00
Bo-Yi Wu
7e452f7439 docs(migration): add BitbucketServer2Gitea tool (#145)
https://github.com/appleboy/BitbucketServer2Gitea

A command line tool build with Golang to migrate a Bitbucket Server (Data Center) Project to Gitea. See the V1 REST API.

Reviewed-on: https://gitea.com/gitea/awesome-gitea/pulls/145
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: Bo-Yi Wu <appleboy.tw@gmail.com>
Co-committed-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2023-12-19 05:26:18 +00:00
nodiscc
7be1f3f53c add nodiscc.xsrv.gitea_act_runner ansible role (#142)
- ref. https://gitea.com/gitea/awesome-gitea/pulls/97
- ref. https://github.com/go-gitea/gitea/issues/23704

----

This is similar to https://gitea.com/gitea/awesome-gitea/pulls/97 and I would write a summary for it like I did last time, **but** as you can see, the commit seems to have changed all line endings (I committed from the web interface).

Steps to reproduce:
- Fork https://gitea.com/gitea/awesome-gitea/ from the web UI
- navigate to README.md, click the edit button
- add one line
- select `Create a new branch for this commit and start a Pull Request`, enter a commit message
- click the `Propose file change button`
- the diff shows all lines as changed (217 additions, 216 deletions)

Please let me know how I should proceed.

Reviewed-on: https://gitea.com/gitea/awesome-gitea/pulls/142
Reviewed-by: techknowlogick <techknowlogick@noreply.gitea.com>
Reviewed-by: John Olheiser <john+gitea@jolheiser.com>
Co-authored-by: nodiscc <nodiscc@gmail.com>
Co-committed-by: nodiscc <nodiscc@gmail.com>
2023-11-26 14:19:55 +00:00
Leandro David Cacciagioni
0e63727b54 Removed DevHub (#143)
Company is out of bussiness at least for now.

Reviewed-on: https://gitea.com/gitea/awesome-gitea/pulls/143
Reviewed-by: delvh <dev.lh@web.de>
Co-authored-by: Leandro David Cacciagioni <leandro.21.2008@gmail.com>
Co-committed-by: Leandro David Cacciagioni <leandro.21.2008@gmail.com>
2023-11-23 20:39:16 +00:00
Davor Hrg
3a0961634a CLI: Quickly open url to start PR process with current branch. (#141)
Co-authored-by: Davor Hrg <hrgdavor@gmail.com>
Co-committed-by: Davor Hrg <hrgdavor@gmail.com>
2023-11-15 17:26:27 +00:00
Sebastian Sauer
c51741e44b Add gitea-conventional-comments-button (#140)
An open source browser extension to add buttons for conventional comments (https://conventionalcomments.org/) to gitea review comment boxes.

Reviewed-on: https://gitea.com/gitea/awesome-gitea/pulls/140
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: Sebastian Sauer <sauer.sebastian@gmail.com>
Co-committed-by: Sebastian Sauer <sauer.sebastian@gmail.com>
2023-11-05 08:07:00 +00:00
plashenkov
77d9d607eb Add Deep Dark theme (#138)
Hi! The Deep Dark theme link added.

Related issue: https://gitea.com/gitea/awesome-gitea/issues/137

Co-authored-by: Yuri Plashenkov <yuri@plashenkov.com>
Reviewed-on: https://gitea.com/gitea/awesome-gitea/pulls/138
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: plashenkov <plashenkov@noreply.gitea.com>
Co-committed-by: plashenkov <plashenkov@noreply.gitea.com>
2023-10-23 20:10:42 +00:00
Jochen Hunz
399a66b919 add Anchorpoint (#136)
Anchorpoint is an artist friendly Git client that offers an integration to self-hosted Gitea servers

Reviewed-on: https://gitea.com/gitea/awesome-gitea/pulls/136
Reviewed-by: delvh <dev.lh@web.de>
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: Jochen Hunz <j.hunz@anchorpoint.app>
Co-committed-by: Jochen Hunz <j.hunz@anchorpoint.app>
2023-10-19 05:08:06 +00:00
Leandro David Cacciagioni
45edb73de8 Add DevHub (#135)
DevHub is a European company that offers free and paid Gitea hosting services to professionals and companies.
Based in Europe and with strong focus on Security, Privacy and Performance.

Reviewed-on: https://gitea.com/gitea/awesome-gitea/pulls/135
Reviewed-by: delvh <dev.lh@web.de>
Reviewed-by: silverwind <silverwind@noreply.gitea.com>
Co-authored-by: Leandro David Cacciagioni <leandro.21.2008@gmail.com>
Co-committed-by: Leandro David Cacciagioni <leandro.21.2008@gmail.com>
2023-09-21 20:14:42 +00:00
Lunny Xiao
352eae582a Add jira2giteaMySql (#134)
Fix #115

Co-authored-by: John Olheiser <john+gitea@jolheiser.com>
Reviewed-on: https://gitea.com/gitea/awesome-gitea/pulls/134
Reviewed-by: silverwind <silverwind@noreply.gitea.com>
Reviewed-by: John Olheiser <john+gitea@jolheiser.com>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-committed-by: Lunny Xiao <xiaolunwen@gmail.com>
2023-08-31 15:50:27 +00:00
Lunny Xiao
343ece4f96 Add meli docs as page services which can integrate with Gitea (#132)
Co-authored-by: John Olheiser <john+gitea@jolheiser.com>
Reviewed-on: https://gitea.com/gitea/awesome-gitea/pulls/132
Reviewed-by: John Olheiser <john+gitea@jolheiser.com>
2023-08-23 02:34:32 +00:00
Lunny Xiao
c62d9d895a Remove early grey (#131)
Fix #130

Reviewed-on: https://gitea.com/gitea/awesome-gitea/pulls/131
Reviewed-by: John Olheiser <john+gitea@jolheiser.com>
2023-08-23 02:25:11 +00:00
Lunny Xiao
ed76aae6b3 Add pages-server (#133)
Reviewed-on: https://gitea.com/gitea/awesome-gitea/pulls/133
Reviewed-by: John Olheiser <john+gitea@jolheiser.com>
2023-08-23 02:24:32 +00:00
lonix1
f1b4dd150a docs: ci/cd tools (#129)
Reviewed-on: https://gitea.com/gitea/awesome-gitea/pulls/129
Reviewed-by: techknowlogick <techknowlogick@noreply.gitea.com>
Reviewed-by: 6543 <6543@obermui.de>
Co-authored-by: lonix1 <lonix1@noreply.gitea.com>
Co-committed-by: lonix1 <lonix1@noreply.gitea.com>
2023-08-18 23:04:13 +00:00
LeonDevLifeLog
ed4dd4ba7f add gitea idea plugin (#128)
Reviewed-on: https://gitea.com/gitea/awesome-gitea/pulls/128
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: LeonDevLifeLog <leondevlifelog@noreply.gitea.com>
Co-committed-by: LeonDevLifeLog <leondevlifelog@noreply.gitea.com>
2023-08-12 14:17:09 +00:00
Rainnny
6ead452429 Add GitHub dark theme (#127)
Reviewed-on: https://gitea.com/gitea/awesome-gitea/pulls/127
Reviewed-by: delvh <dev.lh@web.de>
Reviewed-by: Denys Konovalov <denyskon@noreply.gitea.com>
Reviewed-by: yardenshoham <yardenshoham@noreply.gitea.com>
Co-authored-by: Rainnny <rainnny@noreply.gitea.com>
Co-committed-by: Rainnny <rainnny@noreply.gitea.com>
2023-08-06 13:30:19 +00:00
ewagoner
d34fdc2c79 Remove stray apostrophe in README (#126)
Just fixes a tiny grammatical error in the README.

Co-authored-by: Eric Wagoner <ewagoner@gmail.com>
Reviewed-on: https://gitea.com/gitea/awesome-gitea/pulls/126
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
Reviewed-by: John Olheiser <john+gitea@jolheiser.com>
Co-authored-by: ewagoner <ewagoner@noreply.gitea.com>
Co-committed-by: ewagoner <ewagoner@noreply.gitea.com>
2023-08-01 12:45:09 +00:00
Lunny Xiao
261329ff3b Update README.md (#125)
As Gitea is open, so I think we also welcome soft fork's ecosystem to be listed here.

Reviewed-on: https://gitea.com/gitea/awesome-gitea/pulls/125
2023-07-25 08:38:10 +00:00
kerwin612
446beef55b Add US/GiteaPanel (#122)
A Gitea shortcut panel built based on UserScript.

Reviewed-on: https://gitea.com/gitea/awesome-gitea/pulls/122
Co-authored-by: kerwin612 <kerwin612@noreply.gitea.com>
Co-committed-by: kerwin612 <kerwin612@noreply.gitea.com>
2023-07-24 07:41:45 +00:00
lonix1
ba68fd11cd docs: Continuous Deployment tools (#123)
Hi @lunny! [As requested](https://discord.com/channels/322538954119184384/561007778139734027/1131595750132961330), some tools to help perform Continuous Deployment when integrating gitea with woodpecker (or any other CI tool).

Reviewed-on: https://gitea.com/gitea/awesome-gitea/pulls/123
Co-authored-by: lonix1 <lonix1@noreply.gitea.com>
Co-committed-by: lonix1 <lonix1@noreply.gitea.com>
2023-07-21 03:49:38 +00:00
Jon Hadfield
b6602b55c6 Add soba (#121)
Adds an entry for an open source backup tool called soba with Gitea support.

Reviewed-on: https://gitea.com/gitea/awesome-gitea/pulls/121
Co-authored-by: Jon Hadfield <jon@lessknown.co.uk>
Co-committed-by: Jon Hadfield <jon@lessknown.co.uk>
2023-07-05 07:31:43 +00:00
techknowlogick
7aa46841ed fix lint (#120)
Reviewed-on: https://gitea.com/gitea/awesome-gitea/pulls/120
2023-06-28 16:40:01 +00:00
techknowlogick
7eade38897 alphabetize (#119)
Reviewed-on: https://gitea.com/gitea/awesome-gitea/pulls/119
2023-06-28 16:35:02 +00:00
JRed
0384aafa3a Add Blender Projects to Organizations list (#118)
Add the Blender Projects website, which is managed by Gitea, to the Organizations list.

Reviewed-on: https://gitea.com/gitea/awesome-gitea/pulls/118
Co-authored-by: JRed <jred@noreply.gitea.com>
Co-committed-by: JRed <jred@noreply.gitea.com>
2023-06-28 12:15:44 +00:00
solarchemist
04fac5e4ec Add gitea Ansible role to list (#117)
For your consideration, this PR adds an Ansible role that I've cobbled together to run two Gitea instances on the same VPS (but the logic in the role should allow an arbitrary number of instances).

It is something of a hobby project of mine, but I'd be pleased to receive any comments or suggestions on how to improve the role.

Co-authored-by: taha@asks2 <taha@chepec.se>
Reviewed-on: https://gitea.com/gitea/awesome-gitea/pulls/117
Reviewed-by: John Olheiser <john+gitea@jolheiser.com>
Reviewed-by: delvh <dev.lh@web.de>
Co-authored-by: solarchemist <gitea@solarchemist.se>
Co-committed-by: solarchemist <gitea@solarchemist.se>
2023-06-21 19:55:00 +00:00
techknowlogick
c039508fe6 Add opensuse to list (#116)
Reviewed-on: https://gitea.com/gitea/awesome-gitea/pulls/116
Reviewed-by: delvh <dev.lh@web.de>
Reviewed-by: John Olheiser <john+gitea@jolheiser.com>
Co-authored-by: techknowlogick <techknowlogick@noreply.gitea.com>
Co-committed-by: techknowlogick <techknowlogick@noreply.gitea.com>
2023-06-05 17:27:44 +00:00
Lunny Xiao
08931734e0 fix markdown lint on CI (#114)
Reviewed-on: https://gitea.com/gitea/awesome-gitea/pulls/114
Reviewed-by: silverwind <silverwind@noreply.gitea.io>
2023-05-16 16:03:19 +08:00
Lunny Xiao
ae95884ddb add markdown lint (#113)
fix #112

Reviewed-on: https://gitea.com/gitea/awesome-gitea/pulls/113
Reviewed-by: techknowlogick <techknowlogick@noreply.gitea.io>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-committed-by: Lunny Xiao <xiaolunwen@gmail.com>
2023-04-14 13:43:11 +08:00
6543
7bb199a456 Fix markdownlint issue "MD004/ul-style: Unordered list style [Expected: dash; Actual: asterisk]" (#111)
Reviewed-on: https://gitea.com/gitea/awesome-gitea/pulls/111
Reviewed-by: techknowlogick <techknowlogick@noreply.gitea.io>
Reviewed-by: pat-s <pat-s@noreply.gitea.io>
2023-04-12 06:52:02 +08:00
6543
72b1c677d1 Add Caddy2 Gitea Plugin (#110)
Reviewed-on: https://gitea.com/gitea/awesome-gitea/pulls/110
Reviewed-by: techknowlogick <techknowlogick@noreply.gitea.io>
Reviewed-by: pat-s <pat-s@noreply.gitea.io>
Reviewed-by: delvh <dev.lh@web.de>
2023-04-12 06:49:49 +08:00
emersion
d67487c03b Add yojo (#109)
Reviewed-on: https://gitea.com/gitea/awesome-gitea/pulls/109
Reviewed-by: 6543 <6543@obermui.de>
Reviewed-by: techknowlogick <techknowlogick@noreply.gitea.io>
Co-authored-by: emersion <emersion@noreply.gitea.io>
Co-committed-by: emersion <emersion@noreply.gitea.io>
2023-04-12 02:09:50 +08:00
6543
4895dc22e6 Add Codeberg's Pages Server for Static Pages Hosting (#108)
document it as per https://github.com/go-gitea/gitea/issues/23521#issuecomment-1473106659

Reviewed-on: https://gitea.com/gitea/awesome-gitea/pulls/108
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
Reviewed-by: delvh <dev.lh@web.de>
Co-authored-by: 6543 <6543@obermui.de>
Co-committed-by: 6543 <6543@obermui.de>
2023-04-05 00:58:42 +08:00
denyskon
590542b3db Add bthree-dark theme, sort themes alphabetically (#107)
This PR adds the nice bthree-dark theme by Blender.

I also sorted the themes in alphabetical order according to the contribution guidelines, which for some reason wasn't done before.

Reviewed-on: https://gitea.com/gitea/awesome-gitea/pulls/107
Reviewed-by: pat-s <pat-s@noreply.gitea.io>
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: denyskon <denyskon@noreply.gitea.io>
Co-committed-by: denyskon <denyskon@noreply.gitea.io>
2023-04-03 16:43:40 +08:00
winston
60c9b36d2d docs: link to official catppuccin/gitea theme (#105)
Catppuccin recently added a dedicated theme for Gitea. (I am the author)
This replaces the previous link to catppuccin/codeberg with this
dedicated theme.

Reviewed-on: https://gitea.com/gitea/awesome-gitea/pulls/105
Reviewed-by: John Olheiser <john+gitea@jolheiser.com>
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: winston <hey@winston.sh>
Co-committed-by: winston <hey@winston.sh>
2023-03-27 07:58:18 +08:00
laromicas
79efce484b Added py-gitea to SDK projects (#104)
Added py-gitea to SDK projects.

Reviewed-on: https://gitea.com/gitea/awesome-gitea/pulls/104
Reviewed-by: techknowlogick <techknowlogick@noreply.gitea.io>
Co-authored-by: laromicas <laromicas@noreply.gitea.io>
Co-committed-by: laromicas <laromicas@noreply.gitea.io>
2023-03-23 11:55:26 +08:00
saegl5
fc6ad54e03 moved theme to multiple-theme section (#102)
hi there,

thank you for adding my theme last time (#95)

i had issues with Dark Reader, so i decided to create a dark version and auto version (switches theme based on system prefs)
consequently, i moved my original theme from the light theme section to the section immediately above it

both light and dark versions still use Gitea's default themes (gitea and arc-green) and with some colors and images from Gitea-Red-Silver

Signed-off-by: saegl5 <saegl5@noreply.gitea.io>
Reviewed-on: https://gitea.com/gitea/awesome-gitea/pulls/102
Reviewed-by: techknowlogick <techknowlogick@gitea.io>
Co-authored-by: saegl5 <saegl5@noreply.gitea.io>
Co-committed-by: saegl5 <saegl5@noreply.gitea.io>
2023-03-03 14:42:18 +08:00
theSage21
00e3b7a3e8 Add JayporeCi to list (#99)
Reviewed-on: https://gitea.com/gitea/awesome-gitea/pulls/99
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
Reviewed-by: 6543 <6543@obermui.de>
Co-authored-by: theSage21 <thesage21@noreply.gitea.io>
Co-committed-by: theSage21 <thesage21@noreply.gitea.io>
2022-12-26 08:47:28 +08:00
Coolguy3289
15744b7304 Add RadioRepo.org (#96)
Reviewed-on: https://gitea.com/gitea/awesome-gitea/pulls/96
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
Reviewed-by: 6543 <6543@obermui.de>
Co-authored-by: Coolguy3289 <coolguy3289@noreply.gitea.io>
Co-committed-by: Coolguy3289 <coolguy3289@noreply.gitea.io>
2022-12-26 08:46:27 +08:00
nodiscc
d96b7342ee cleanup: remove unmaintained ansible roles (#101)
Followup to https://gitea.com/gitea/awesome-gitea/pulls/97

See commit messages.

Co-authored-by: nodiscc <nodiscc@gmail.com>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Reviewed-on: https://gitea.com/gitea/awesome-gitea/pulls/101
Reviewed-by: pat-s <pat-s@noreply.gitea.io>
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: nodiscc <nodiscc@noreply.gitea.io>
Co-committed-by: nodiscc <nodiscc@noreply.gitea.io>
2022-12-23 19:42:02 +08:00
nodiscc
b678d47750 formatting: fix table of contents (#100)
This fixes spacing between entries in the table of contents

Current: https://gitea.com/gitea/awesome-gitea#contents.
Fixed: https://gitea.com/nodiscc/awesome-gitea/src/branch/cleanup-toc#contents

Co-authored-by: nodiscc <nodiscc@gmail.com>
Reviewed-on: https://gitea.com/gitea/awesome-gitea/pulls/100
Reviewed-by: John Olheiser <john+gitea@jolheiser.com>
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: nodiscc <nodiscc@noreply.gitea.io>
Co-committed-by: nodiscc <nodiscc@noreply.gitea.io>
2022-12-19 09:06:02 +08:00
shamil
fdca1fb7ec fix link to pat-s/GitHub theme (#98)
Fixing the link to pat-s' theme repository.

Reviewed-on: https://gitea.com/gitea/awesome-gitea/pulls/98
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
Reviewed-by: pat-s <pat-s@noreply.gitea.io>
Co-authored-by: shamil <shamil@noreply.gitea.io>
Co-committed-by: shamil <shamil@noreply.gitea.io>
2022-12-06 13:07:02 +08:00
nodiscc
cbee11c833 add nodiscc.xsrv.gitea ansible role (#97)
Hi,

this PR adds the [xsrv.gitea](https://github.com/nodiscc/xsrv/tree/master/roles/gitea) ansible role, which can be used to deploy Gitea on any Debian-based Linux machine.

The role can be used from the [xsrv](https://xsrv.readthedocs.io/en/latest/) command-line tool/ansible wrapper, or with ansible [command-line](https://docs.ansible.com/ansible/latest/user_guide/command_line_tools.html) tools. Optionally it integrates with [netdata](https://github.com/nodiscc/xsrv/tree/master/roles/monitoring_netdata) for instance health monitoring, [apache](https://github.com/nodiscc/xsrv/tree/master/roles/apache) for reverse proxy and SSL/TLS certificate management, [rsnapshot](https://github.com/nodiscc/xsrv/tree/master/roles/backup) for automatic backups, and [postgresql](https://github.com/nodiscc/xsrv/tree/master/roles/postgresql) as a RDBMS.

Detailed installation/configuration documentation can be found at https://xsrv.readthedocs.io/en/latest/installation.html, but here is the short version using ansible command-line tools and self-signed certificates:

```bash
# create a project directory
$ mkdir -p ~/playbooks/myproject && cd ~/playbooks/myproject
# install ansible in a python virtualenv
$ python3 -m venv .venv
$ source .venv/bin/activate
$ pip3 install ansible
```

Create required files and directories (replace my.CHANGEME.org with the address of the server where gitea will be deployed, and other CHANGEME values with values of your choice)

```yaml
# requirements.yml
collections:
  - name: https://gitlab.com/nodiscc/xsrv.git
    type: git
    version: release # or master to get the latest, development version
```

```yaml
# inventory.yml
all:
  hosts:
    my.CHANGEME.org:
```

```yaml
# playbook.yml
- hosts: my.CHANGEME.org
  roles:
    - nodiscc.xsrv.common # (optional) base server setup/hardening/firewall/bruteforce prevention
    - nodiscc.xsrv.monitoring # (optional) server monitoring, log aggregation
    - nodiscc.xsrv.backup # (optional) automatic backups
    - nodiscc.xsrv.apache
    - nodiscc.xsrv.postgresql
    - nodiscc.xsrv.gitea
```

```yaml
# $ mkdir host_vars/my.CHANGEME.org
# host_vars/my.CHANGEME.org/my.CHANGEME.org.yml
#ansible_ssh_port: 2234 # SSH port, if different from 22
#ansible_host: 1.2.3.4 # SSH server address, if my.CHANGEME.org cannot be resolved from DNS
gitea_fqdn: "git.CHANGEME.org" # domain name of the gitea instance
```

```yaml
# $ ansible-vault edit host_vars/my.CHANGEME.org/my.CHANGEME.org.vault.yml
ansible_become_pass: "CHANGEME" # sudo password
gitea_admin_username: "CHANGEME"
gitea_admin_password: "CHANGEME"
gitea_admin_email: "CHANGEME@CHANGEME.org"
gitea_secret_key: "CHANGEME64"
gitea_internal_token: "CHANGEME160"
gitea_oauth2_jwt_secret: "CHANGEME43"
gitea_lfs_jwt_secret: "CHANGEME43"
```

```bash
# make the role/collection available to the ansible project
$ ansible-galaxy collection install --force -r requirements.yml
# deploy the role
$ ansible-playbook -i inventory.yml playbook.yml
```

See [defaults/main.yml](https://github.com/nodiscc/xsrv/blob/master/roles/gitea/defaults/main.yml) for all available configuration variables.

I use the role to manage multiple environments/instances for a few years without problems and will keep maintaining it in the foreseeable future.

Let me know if you need additional information.

Reviewed-on: https://gitea.com/gitea/awesome-gitea/pulls/97
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
Reviewed-by: pat-s <pat-s@noreply.gitea.io>
Co-authored-by: nodiscc <nodiscc@noreply.gitea.io>
Co-committed-by: nodiscc <nodiscc@noreply.gitea.io>
2022-12-01 19:49:19 +08:00