ponzu-cms / ponzu

Headless CMS with automatic JSON API. Featuring auto-HTTPS from Let's Encrypt, HTTP/2 Server Push, and flexible server framework written in Go.
https://docs.ponzu-cms.org
BSD 3-Clause "New" or "Revised" License
5.7k stars 385 forks source link

Is Ponzu dead? #359

Open benyanke opened 2 years ago

benyanke commented 2 years ago

I was hoping to look at using this for some upcoming projects, but I see the current install method is broken, and the last commit is over 2 years ago...are there any plans of continuing, or does anyone know of well maintained forks?

bronhy commented 2 years ago

I see so many forks. It is hard to believe no one wants to maintain this project?

hubyhuby commented 2 years ago

Ponzu is a really great idea, to create a performent API in Go quickely. Would be nice if it could get back to life.

bronhy commented 2 years ago

I am not the best golang dev and I do not have a lot of time for open source but I do believe there is interest for this project and I would also be willing to chip in. @nilslice could we give some trusted contributors the maintenance rights?

edimoldovan commented 2 years ago

Refreshing the question a bit: anyone still maintaining ponzu?

MyMarvel commented 1 year ago

I'm shocked - the most used Golang CMS is not maintained and we cannot get in touch with it's author. Sad.

hubyhuby commented 1 year ago

Dear @MyMarvel it is an opensource project, so if you wish to revive it everyone on this thread would be happy. What we are missing are skilled persons with time and will to reboot it. For now there is a very vivid community at Buffalo, they just reached 1.0 , it is pretty similar in some concepts : https://github.com/gobuffalo https://app.slack.com/client/T029RQSE6/C3MSAFD40

MyMarvel commented 1 year ago

@hubyhuby thank you very much, it is exactly what I needed. I was looking for a project to help, but it should be worthwhile - it is insane to try to reanimate a project when there is the same functionality in another well-maintained project, so I would jump in its development instead. Thank you again.

nilslice commented 1 year ago

Hi all - I certainly appreciate the interest in reviving this project, and would encourage anyone to fork this and make the updates needed to get it back into shape.

I do not control this repository any longer, nor do I have any access to it. Please see: https://github.com/ponzu-cms/ponzu/issues/349

bronhy commented 1 year ago

@nilslice Thank you for the feedback. I personally missed that closed issue and it explains a lot. Congrats on the fine work you did with ponzu.

pnrmx commented 1 year ago

quick and dirty install, when go get -u github.com/ponzu-cms/ponzu/... throws error like

cannot find package "github.com/blevesearch/zapx/v11" in any of:
        $GOPATH/src/github.com/blevesearch/zapx/v11 (from $GOROOT)
...

file $GOPATH/src/github.com/blevesearch/bleve/index/scorch/segment_plugin.go contains import zapv11 "github.com/blevesearch/zapx/v11", and there is no such versions tags in repository, so i clone versions with tags v11.3.7, v12.3.7, v13.3.7, v14.3.7 from git into import folders, remove .git folder in each of these folders, and then run go get -u github.com/ponzu-cms/ponzu/... again, and ponzu compiled.

you can run this simple go program if you already tried to install ponzu, it tries to change workdir to local package zapx, then do clone for needed git versions and removes .git folders from them to avoid git mistakes during compilation, then you can run again go get -u github.com/ponzu-cms/ponzu/....

package main

import (
    "fmt"
    "log"
    "os"
    "os/exec"
    "strings"
    "time"
)

var (
    ver    = []string{"11", "12", "13", "14"}
    subver = ".3.7"
    pckg   = "github.com/blevesearch/zapx"
    gopath = os.Getenv("GOPATH")
    args   = []string{}
)

func main() {

    os.Chdir(gopath+"/src/"+pckg)
    pkgDir, _ := os.Getwd()

    fmt.Printf("Current Working Direcotry: %s\n", pkgDir)

    for _, s := range ver {

        args = prepArgs(fmt.Sprintf("clone --depth 1 --branch v%s https://%s.git v%s", s+subver, pckg, s))
        if err := execCmd("git", args); err != nil {
            log.Fatalf("Error cmd git :%s\n", err)
        }

    }

    // delay to ensure no locked files in .git folder with needed version
    time.Sleep(2 * time.Second)

    for _, s := range ver {

        args = prepArgs(fmt.Sprintf("-rf v%s/.git", s))
        if err := execCmd("rm", args); err != nil {
            log.Printf("Error cmd rm :%s\n", err)
        }

    }

}

func execCmd(c string, s []string) error {

    cmd := exec.Command(c, s...)
    cmd.Stdout = os.Stdout
    cmd.Stderr = os.Stderr
    fmt.Println(c, strings.Join(s, " "))

    return cmd.Run()

}

func prepArgs(s string) []string {
    return strings.Split(s, " ")
}

I did not have spare time to deal with this error in details, but this is worked for me.

edimoldovan commented 3 months ago

Hi folks! I need something like this in a https://handover.zip so I will try to make ponzu work and then come back here and maybe create a fork, gather some contributors around it, etc.

Oh, if anyone is aware of an up to date fork, do let me know please.