💾 Archived View for gemini.rmf-dev.com › repo › Vaati › Gemigit › files › ade8a9d1623473329e80564c74… captured on 2024-02-05 at 09:44:10. Gemini links have been rewritten to link to archived content

View Raw

More Information

-=-=-=-=-=-=-

Go Back

0 # Gemigit

1

2 A software forge for the [gemini protocol][0]

3

4 ## Features

5

6 * Allow users to create and manage git repositories

7 * Private and public repositories

8 * Serving git repositories on the http and ssh protocols

9 * LDAP authentication

10 * 2FA with time-based one-time passwords

11 * Option to use token authentication when doing git operations

12 * Basic brute-force protection

13 * User groups

14 * Privilege system for read/write access

15 * Support for sqlite and mysql databases

16 * Support stateless mode for multiple instances and load balancing

17

18 ## Requirements

19

20 * go (at compile-time)

21 * git (at run-time)

22 * openssl (to create certificate)

23

24 ### Fedora, RedHat

25 ```

26 dnf install git golang openssl

27 ```

28

29 ### Debian, Ubuntu

30 ```

31 apt install git golang openssl

32 ```

33

34 ## Setup

35

36 * Build the program with the following command :

37 ```

38 go build

39 ```

40 * Copy config.yaml into either /etc/gemigit, /usr/local/etc/gemigit or the working directory where Gemigit will be executed

41 * Create a new certificate with the following command, you can change localhost to the domain name you want to use :

42 ```

43 openssl req -x509 -newkey rsa:4096 -keyout key.pem -out cert.pem -sha256 -days 365 -nodes -subj '/CN=localhost'

44 ```

45 * Edit the configuration file as you want

46 * Execute gemigit

47

48 On Linux, Gemigit can be run as a systemd service :

49 ```

50 adduser -d /var/lib/gemigit -m -U gemigit

51 cp service/gemigit.service /etc/systemd/system/

52 go build

53 cp gemigit /usr/bin/gemigit

54 mkdir /etc/gemigit

55 cp config.yaml /etc/gemigit/

56 openssl req -x509 -newkey rsa:4096 -keyout key.pem -out cert.pem -sha256 -days 365 -nodes -subj '/CN=localhost'

57 cp *.pem /var/lib/gemigit/

58 cp -r ./templates /var/lib/gemigit/

59 chown -R gemigit:gemigit /var/lib/gemigit

60 systemctl enable --now gemigit

61 ```

62

63 ## Demo

64

65 You can try a public instance of Gemigit at this address gemini://gemini.rmf-dev.com using a Gemini client or with a [gemini web proxy][1].

66

67 ## Contact

68

69 For inquiries about this software or the instance running at gemini://gemini.rmf-dev.com, you can contact the main maintainer of this project at : inquiry@rmf-dev.com

70

71 [0]: https://geminiprotocol.net/

72 [1]: https://portal.mozz.us/gemini/gemini.rmf-dev.com/

73