Eejit
Eejit is self-hosted Git server that's easy to set up, use, and maintain.
Getting Started
- Install via cargo || source.
- Create an empty directory, and create a starting
server.tomlfile (minimal example below). - Run Eejit.
- Done!
Server Config
Eejit is configured via the server.toml file inside the /config.git repo, which is only accessible to admin users.
When starting Eejit for the first time, it will copy an adjacent config file into the newly created config repo.
Here's a minimal example:
= "Eejit Server"
= 2222
# Soon to be used in
# the static site generator...
= "example.com"
[]
= true
= "ssh-rsa AAAAj74s..."
[]
= true
= "ssh-rsa AAAAm8fd..."
# Optional.
= "Welcome, %!"
Repositories
You can create a new repository on an Eejit server by simply pushing an existing one. Non-admin users can only create
repos under their personal subdirectory (so for example, the user Alex above could push to ssh://127.0.0.1:123123/alex/repo.git
to create it).
When a new repository is created, Eejit will insert an eejit.toml config file into it. There, the user can specify if the repo
is public, and which other members can write to it. Here's a minimal example:
= "Example Repo"
# Anyone can read...
= true
# But only Alex can write...
= ["alex"]
# Anyone else will see this message (OPTIONAL)
= "Patches can be emailed to alex@alex.alex"