Display is rough right now but better than nothing. Icons especially to be improved.
		
			
				
	
	
	
	
		
			4.8 KiB
		
	
	
	
	
	
	
	
			
		
		
	
	FORK
This is a fork of Forgejo.
This fork doesn't add any breaking, large features. It adds small (sometimes opinionated) things that should be in Forgejo, but aren't.
This fork is a drop-in replacement. As there are no breaking changes, you can switch back and forth.
Releases follow Forgejo releases.
Changes are mostly hacks. Changes need to be little to make conflicts easy to resolve. Expect bad code.
Download
Docker builds are available here for amd64 and arm64.
Features
All my commits.
Don't be overwhelmed, commits are very granular... except when they aren't.
- Tweak repo desc (WIP): Makes repository description more legible and nicer
- Fix forgejo/forgejo#7250: Fixes forgejo/forgejo#7250
- Fix issue popup for non-JSON responses: Basically, if you hover on a issue #, previously it displayed a popup with a "Network error" because it expects messages to be JSON. Now it can parse both.
- Issue popup message that the issue doesn't exist: Adds an "Issue not found" message that replaces generic 404.
- Move user RSS icon (WIP): Moves RSS link to Public activity, because the RSS feed is public activity. I don't remember why WIP.
- Center padlock icon on profile page: Centers vertically Email privacy link icon on user profile page.
- Fix footer link margin
- Privacy policy support: Adds a consent checkbox. Also adds a footer link to the privacy policy.
- Terms of Service support: Adds another consent checkbox and footer link.
- Tweak version in footer: Shortens software version that's in the footer
- Tweak captcha length: Makes captcha 4-5 chars long (instead of 6)
- Make captcha more readable: Makes captcha larger and readable on dark themes.
- Add feedback to certain buttons: CSS hack for a hover tint.
- Improve checkboxes: Makes checkboxes easier to check and better looking.
- Remove hover transition from buttons
- Remove "API" from footer
- Dynamic theme loading: Loads themes from a directory on startup. Normally you'd list every theme variant in your config, which can be inconvenient, especially with a lot of themes.
- Improve theme picker: Makes the theme picker searchable and changes names-like-thistoNames Like This. (precedes the below)
- Add theme info: Adds theme info (url, author, desc, etc.), see the stock themes. Also tweaks make watchso webpack completes first. Display is to be improved.
For developers
You should follow the official Forgejo Contributor Guide. However it lacks a few useful things, below you can find.
It's recommended to use the devcontainer.
Building
To build, the official instructions generally suffice
Build a single image for multiple architectures:
- 
Setup: (do this once) docker buildx create --name mybuilder --use docker buildx inspect --bootstrap docker run --privileged --rm tonistiigi/binfmt --install all
- 
Build: docker buildx build --platform linux/amd64,linux/arm64 -t user/repo:tag --push .Replace the tag. You can add more architectures, if you wish. 
Live reload
TAGS='sqlite sqlite_unlock_notify' make watch
Merge
Make sure you checked out the branch to merge to.
- 
git remote add upstream https://codeberg.org/forgejo/forgejo.git
- 
git fetch --no-tags upstream
- 
git merge upstream/$BRANCH
Tag a release
git tag $TAG
git push origin tag $TAG