Live data from Hacker News

Go-bootstrap: Generates a lean and mean Go web project

go-bootstrap.io

11–20 of 61 posts

Re: Go-bootstrap: Generates a lean and mean Go web project

#11
post #5

Would love to see something like this for RESTful Web Services built on Go with /users, auth, rate-limiting, etc already working out of the box.

I could also see this implemented as a standalone proxy which would forward requests to an app server (possibly adding custom headers like `X-User: someusername`). I was actually thinking of going with exactly this kind of architecture for my next project but wasn't sure if the re-usability benefits would be worth the extra work. Anyone has experience with this kind of setup?

Re: Go-bootstrap: Generates a lean and mean Go web project

#12
post #2

Excellent overview. I'm sick to death of landing pages that are vague, hard to navigate, and leave you wondering what the project is all about; you avoided all of that. In particular, the "Decisions made for you" clearly answers many of the questions someone will have when they investigate a project like this. Kudos.

"Decisions [It/We] Made for You" is brilliant. 10/10 will use on my next README, landing page, etc.

Re: Go-bootstrap: Generates a lean and mean Go web project

#13
post #9
post #8

Earlier quoted context omitted.

Your project is GPL licensed. Is that your idea of a joke? There is a place for the GPL, but this is not it.

I have found the GPL is workable in web projects: https://programmers.stackexchange.com/questions/132485/does-... I understand why people don't like the GPL but its not a showstopper for most business applications.

You are grossly misguided and should consult a lawyer.

Linking to a random programmers stackexchange question is an unwise way to make licensing decisions.

Per GNU's own faq at https://www.gnu.org/licenses/gpl-faq.html#UnreleasedMods:

  A company is running a modified version of a GPL'ed program on a web site. Does the GPL say they must release their modified sources?

  The GPL permits anyone to make a modified version and use it without ever distributing it to others. What this company is doing is a special case of that. Therefore, the company does not have to release the modified sources.

  It is essential for people to have the freedom to make modifications and use them privately, without ever publishing those modifications. However, putting the program on a server machine for the public to talk to is hardly “private” use, so it would be legitimate to require release of the source code in that special case. Developers who wish to address this might want to use the GNU Affero GPL for programs designed for network server use.

In case you missed it: However, putting the program on a server machine for the public to talk to is hardly “private” use, so it would be legitimate to require release of the source code in that special case.

There are numerous other potential consequences to the GPL and the question of when propagation occurs is ambiguous.

Re: Go-bootstrap: Generates a lean and mean Go web project

#16
post #13
post #9

Earlier quoted context omitted.

I have found the GPL is workable in web projects: https://programmers.stackexchange.com/questions/132485/does-... I understand why people don't like the GPL but its not a showstopper for most business applications.

You are grossly misguided and should consult a lawyer. Linking to a random programmers stackexchange question is an unwise way to make licensing decisions. Per GNU's own faq at https://www.gnu.org/licenses/gpl-faq.html#UnreleasedMods : A company is running a modified version of a GPL'ed program on a web site. Does the GPL say they must release their modified sources? The GPL permits anyone to make a modified version…

In fact, you are actually the one who is grossly misguided. Per that exact quote,

  The GPL permits anyone to make a modified version and use it without ever distributing it to others. What this company is doing is a special case of that. Therefore, the company does not have to release the modified sources.

Specifically

  Therefore, the company does not have to release the modified sources.
The faq is explicitly stating that the GPL would not require releasing modified source, and that if you want to force the releasing of modified sources, you should use the AGPL, as it has a clause to cover network server software

Re: Go-bootstrap: Generates a lean and mean Go web project

#18
post #13
post #9

Earlier quoted context omitted.

I have found the GPL is workable in web projects: https://programmers.stackexchange.com/questions/132485/does-... I understand why people don't like the GPL but its not a showstopper for most business applications.

You are grossly misguided and should consult a lawyer. Linking to a random programmers stackexchange question is an unwise way to make licensing decisions. Per GNU's own faq at https://www.gnu.org/licenses/gpl-faq.html#UnreleasedMods : A company is running a modified version of a GPL'ed program on a web site. Does the GPL say they must release their modified sources? The GPL permits anyone to make a modified version…

Are there any precedents for this side of the GPL being enforced?

How would you even know, or prove, in the first place that a company was running a modified version of the GPL'd source on their servers?

Re: Go-bootstrap: Generates a lean and mean Go web project

#19
post #14
post #10

This is really exciting. Thank you very much. Anyone with a 'large' web project written in Go want to chime in?

IMHO, once you've got a db attached, "secure cookies" are a bad idea.

without reference to this project -

Perhaps you meant storing all session data is a bad idea versus just an ID? (If so, I'm with you)

If not - how would you identify an authenticated user? Or, how would you look up all their relevant session data in the DB?

Re: Go-bootstrap: Generates a lean and mean Go web project

#20
post #13
post #9

Earlier quoted context omitted.

I have found the GPL is workable in web projects: https://programmers.stackexchange.com/questions/132485/does-... I understand why people don't like the GPL but its not a showstopper for most business applications.

You are grossly misguided and should consult a lawyer. Linking to a random programmers stackexchange question is an unwise way to make licensing decisions. Per GNU's own faq at https://www.gnu.org/licenses/gpl-faq.html#UnreleasedMods : A company is running a modified version of a GPL'ed program on a web site. Does the GPL say they must release their modified sources? The GPL permits anyone to make a modified version…

As your quote says, it would be a legitimate request... but not one made by the GPL. Instead, if you wanted to require this from your users, you would have to use the Affero GPL which was written for this very purpose (ie to close the "application server loophole" in the normal GPL).
Post reply on HN