MCPcopy Index your code
hub / github.com/andrewarrow/feedback

github.com/andrewarrow/feedback @1.0.0

Chat with this repo
repository ↗ · DeepWiki ↗ · release 1.0.0 ↗ · + Follow
436 symbols 1,185 edges 133 files 1 documented · 0% 1 cross-repo links
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Feedback

This is a rails inspired golang framework that uses Settle Down as its demo app.

Look at main.go to see how to use feedback.

  r.Paths = map[string]func(*Context, string, string){}
  r.Paths["models"] = handleModels
  r.Paths["sessions"] = handleSessions
  r.Paths["users"] = handleUsers
  r.Paths["about"] = handleAbout

This is the heart of the routing code. You can have three levels of:

/foo/

/foo/bar/

/foo/bar/more/

That's why each top level path takes a func with two strings. Some of the paths you get built in to feedback like sessions and users since every app will need that logic.

But notice in main.go how this app adds more routes.

func HandleSomething(c *router.Context, second, third string) {
  if second == "" {
    c.SendContentInLayout("something_index.html", nil, 200)
  } else if third != "" {
    c.NotFound = true
  } else {
    c.NotFound = true
  }
}

Each controller has a HandleSomething func like this.

Extension points exported contracts — how you extend this code

Settable (Interface)
(no doc) [2 implementers]
wasm/location.go

Core symbols most depended-on inside this repo

Set
called by 58
wasm/location.go
Get
called by 36
wasm/wrapper.go
Header
called by 26
router/functions_to_run.go
Close
called by 25
filestorage/bucket.go
TableName
called by 16
models/structure.go
Call
called by 14
wasm/wrapper.go
SendContentInLayout
called by 12
router/path.go
FindModel
called by 12
router/context_database.go

Shape

Function 250
Method 156
Struct 25
TypeAlias 4
Interface 1

Languages

Go96%
TypeScript4%

Modules by API surface

wasm/wrapper.go24 symbols
filestorage/bucket.go14 symbols
router/models_controller.go11 symbols
models/curl.go10 symbols
router/context_decorate.go9 symbols
router/context_database_model.go9 symbols
wasm/global.go8 symbols
wasm/document.go8 symbols
router/model_user.go8 symbols
router/context_where_in.go8 symbols
gogen/routes.go8 symbols
assets/javascript/main.js8 symbols

Used by 1 indexed graphs manifest dependencies, hub-wide

For agents

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

⬇ download graph artifact