MCPcopy
hub / github.com/mkchoi212/fac

github.com/mkchoi212/fac @v2.0.0 sqlite

repository ↗ · DeepWiki ↗ · release v2.0.0 ↗
97 symbols 283 edges 23 files 61 documented · 63%
README

Easy-to-use CUI for fixing git conflicts

<a href="https://travis-ci.org/mkchoi212/fac">
  <img src="https://travis-ci.org/mkchoi212/fac.svg?branch=master">
</a>
<a href="https://goreportcard.com/report/github.com/mkchoi212/fac">
  <img src="https://goreportcard.com/badge/github.com/mkchoi212/fac">
</a>
<a href="https://codecov.io/gh/mkchoi212/fac">
  <img src="https://codecov.io/gh/mkchoi212/fac/branch/master/graph/badge.svg">
</a>

I never really liked any of the mergetools out there so I made a program that is somewhat easier to use.

Preview

👷 Installation

Execute:

$ go get github.com/mkchoi212/fac

Or using Homebrew 🍺

brew tap mkchoi212/fac https://github.com/mkchoi212/fac.git
brew install fac

🔧 Using

fac operates much like git add -p . It has a prompt input at the bottom of the screen where the user inputs various commands.

The commands have been preset to the following specifications

w - show more lines up
s - show more lines down
a - use local version
d - use incoming version
e - manually edit code

j - scroll down
k - scroll up

v - [v]iew orientation
n - [n]ext conflict
p - [p]revious conflict

h | ? - [h]elp
q | Ctrl+c - [q]uit

[w,a,s,d,?] >> [INPUT HERE]

⚙️ Customization

The above key-bindings and various behaviors can be altered by creating a .fac.yml file in your home directory. Please refer to the configuration README.md for more information.

✋ Contributing

This is an open source project so feel free to contribute by

👮 License

See License

Core symbols most depended-on inside this repo

Read
called by 9
conflict/file.go
Select
called by 7
layout.go
Update
called by 7
conflict/conflict.go
printLines
called by 6
layout.go
String
called by 6
editor/content.go
parseSettings
called by 5
binding/binding.go
Apply
called by 5
color/color.go
die
called by 4
main.go

Shape

Function 78
Method 14
Struct 4
TypeAlias 1

Languages

Go100%

Modules by API surface

layout.go9 symbols
main.go7 symbols
conflict/conflict.go7 symbols
binding/binding.go7 symbols
conflict/conflict_test.go6 symbols
color/color.go6 symbols
binding/binding_test.go6 symbols
editor/editor_test.go5 symbols
editor/content.go5 symbols
conflict/command_test.go5 symbols
prompt.go4 symbols
conflict/parse_test.go4 symbols

For agents

$ claude mcp add fac \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact