Open georoot opened 7 years ago
I created a basic ssh
server that can now clone and push changes. Still needs work on public key
auth. Currently using password authentication.
Not sure if anyone saw this till now, anyways i just finished with a basic version with support for ssh
and api
.
Repository URl : https://github.com/georoot/ristretto Documentation : http://rahulbhola.ml/ristretto/docs
this is feeling like a really needed project given recent events.
@gnarmedia the api and ssh server was ready for the project. It still might not be a production ready service but you can start off by writing a webapplication for the same. The time i started i used to work on with angularJs but now i think that emberjs might be a more stable option considering it provides a lot of services out of box.
@georoot for the purposes of being lightweight I was thinking more like react + express. I have never worked with ember and don't really like frameworks. If react was too heavy, we could probably replace it with preact without too much effort.
@gnarmedia frankly i don't mind the tech stack that is used on UI being a backend developer myself. The api is already written in nodejs and i think i ended up creating a dummy client in angular1.x for the purpose of testing. If you are really interesting in taking up the project i can clean up the api to make them more usefull and descriptive. I haven't worked on react so i won't be able to help you out there.
It would help much more people to contribute to projects like Gogs or Gitea directly instead of making yet another alternative.
Gitlab is an awesome opensource alternative to github. The problem is that it is too bloated to use on servers with limited resources.
So naturally you would use... node
.
I feel like Gitea already fills this niche. GitLab supports many features. It's arguable the most complete of the OSS Git front end web apps. Gitea lacks many of its features, but it's considered extremely lightweight, enough so to run well on a Raspberry Pi.
I agree @welkie; & it is updated frequently enough: https://github.com/go-gitea/gitea
We need a decentralized open-source alternative, not Gitea or Gogs.
Why in the fuck do you: A) Want to create a gitlab clone (The fucking things is open source though so I) I see no reason to and II) I see a reason to) and B) Want to use FUCKING NODE.JS WHICH IS THE WORST IDEA IN THE HOLE OF FUCKING HUMANITY to create a fucking gitlab clone.
kill me
this gon be good
@adamc295 There's nothing wrong with using Node.js for some things, it has its uses. With TypeScript it can also be type safe and professional for teams to use. It's just not significantly more performant than Ruby for a GitLab type application. If you want to make a big difference in performance, you'd use a language like Go or Rust or any of those low level comple to machine code languages.
Nothing wrong Node.js
Pick one
@adamc295 I'm a proponent of freedom of speech without any limits, but IMHO the situation is not bad enough to use the words you use. I also think that there is no sense to redo the stuff in node since there already exists GitLab and to reimplement it is a lot of hard labour. It may make sense if someone written a transpiler from Rails into node + some framework, but again the best language for returning webpages is ... PHP, because ... it is faster. And it is faster for a very long time, and Hack is even faster, that's why it is used in Facebook and other highload webapps.
But the main drawbacks of Node and JS are ... its community traditions. These folks like npm packages and other unneeded fashionable hipster crap like Angular/React/Bootstrap/Polymer/JQuery, and then are very surprised that something goes wrong when an npm package is removed or bought from developer and infected with malware.
But besides that JS is a good language and one can do well if he ignores the traditions of using shit and relies on the stuff which is standard and implemented in browsers and Node. This approach is called "using VanillaJS framework", I personally follow it and advise everyone to do this way.
But the main drawbacks of Node and JS are ... its community traditions.
I could agree with that.
But besides that JS is a good language
Nope.
This approach is called "using VanillaJS framework"
And yet everyone on stackoverflow will suggest you to use [insert generic over the top libary] to add two numbers together (thanks jquery)
but again the best language for returning webpages is ... PHP, because ... it is faster.
Fuck PHP.
I also think that there is no sense to redo the stuff in node since there already exists GitLab and to reimplement it is a lot of hard labour.
Yet alot of people reimplement popular sites all the time. For example, there's mastodon to replace twitter.
I personally follow it and advise everyone to do this way.
Oh shut up.
I'm a proponent of freedom of speech without any limits
Do you live in america? Because if so then say goodbye to that freedom you have.
but IMHO the situation is not bad enough to use this language
Oh it's bad alright. Remember about jQuery litlterly (can't spell) having functions to do the same exact thing you could do with the addition symbols.
other unneeded fashionable hipster crap like Angular/React/Bootstrap/Polymer/JQuery (crossed out but I don't know much markdown to do so)
I wonder why you crossed out jQuery but not anything else?
one can do well if he ignores the traditions of using shit and relies on the stuff which is standard and implemented in browsers and Node. "traditions"
Serously (ah), the way node was made is just ridiculouse (AAAA). Like, how can you think that forking v8 and making it stand alone will help a website to know how much of a file has been uploaded? How the absolute fuck do you think that?
Just stop using node. Please. It's the worst thing to exist.
I hate javascript.
Eh what? @adamc295 Obviously nobody in this thread understands the reason why people tend to use JavaScript (TypeScript for my sake). It's one language for every platform, everywhere, which is good, since you don't have to learn 10 different languages and coding styles because people can't agree on which preference is the best. Yeah, you're gonna have a directory which is the heaviest fucking object in the world (node_modules), but since none of you can elaborate instead of acting like a bunch of freaking kids, I'd suggest you took your childish shit somewhere else.
"Oh, let's use jQuery because I'm some random dude who can't follow up on design principles and modern technology, instead I want to drag down everyone else because I want to reinvent the wheel and go with nonstructual code without design principles"
V8 is shit, yes, but your opinion is just even more shit. I hate PHP because people tend to write shitty ass code, but you don't see me whining about it everywhere, do you? Grow up and learn how to argue instead of acting like a child. Nice day to you.
Grow up and learn how to argue instead of acting like a child.
Don't you even fucking dare say that.
"Oh, let's use jQuery because I'm some random dude who can't follow up on design principles and modern technology, instead I want to drag down everyone else because I want to reinvent the wheel and go with nonstructual code without design principles"
I'm pretty sure you just described all stackoverflow answers when talking about javascript
V8 is shit, yes, but your opinion is just even more shit.
MY opinion is shit? The one I hold against YOU because of how much you think that javascript is the future of shit.
I hate PHP because people tend to write shitty ass code, but you don't see me whining about it everywhere, do you?
I don't even fucking know you, so don't try that.
Yeah, you're gonna have a directory which is the heaviest fucking object in the world (node_modules)
Stop using npm if you do that. (wait does yarn do that to)
It's one language for every platform, everywhere, which is good, since you don't have to learn 10 different languages and coding styles because people can't agree on which preference is the best.
That's like saying sex is good because it works with anyone. It doesn't.
I'd suggest you took your childish shit somewhere else.
And where else would I go? Suggest me a place. Gitlab doesn't count.
Nice day to you.
And good night to you, cunt.
@adamc295 You're here because you know how to program and you're passionate about certain things, like a distributed GitLab alternative. You owe it to yourself to convey your ideas in a professional manner. You'll be taken more seriously that way. This isn't passive aggressiveness or sarcasm. Please reconsider how you interact with other open source developers.
You know what?
Fuck you. YOU HAVE BEEN BLOCKED
FUCK YOU CUNT.
THERE IS NO CODE OF CONDUCT I AM NOT PROFESSIONAL
Also, I'd like to think that this quote fits here.
@georoot anyhow, I guess contributing to a more established project is a good idea, I don't happen to know the languages in question well enough to work on them and am too busy to take that on as well, but if you still want UI, I need to brush up on React for work, so I could look into that.
@gnarmedia FYI if you're looking at contributing to GitLab, they primarily use Vue right now for their client side UI.
@adamc295 no u
It seems someone doesn't understand about javascript and doesn't accept any input from the others. Just for reminder if you keep doing that, you will learn nothing from the others and all your negotiations will fail.
This would never take a week or two, but several months to even get a proto up and running. Author clearly has no idea how much work and time such a project consumes. While I second the idea of a gitlab alternative, as there are like zero good git servers in open source area, this isn't something a few devs can accomplish in a reasonable timeline. Thus the tag medium work is just wrong.
Project description
Gitlab is an awesome opensource alternative to github. The problem is that it is too bloated to use on servers with limited resources.
Git
protocol can be setup on any server with ssh access and using ssh2 a very lightweight daemon can be made to handle git requests.The main advantage to having such a minimalistic server/daemon like tool would be that it can be hosted on devices as simple as
ras-pie
.Initially i propose to split the projects in 3 segments,
commits
andauth
Relevant Technology
node, ssh, git, webapps, expressjs
Who is this for
Experienced developers