@humanetech@mastodon.social @lucifargundam @theenoro @realaravinth @codeberg@mastodon.technology

The project Gitpad definitely looks promising and I hope success for it. The first thing which I checked in it's repo is the used. I was hoping it's not in or and luckily I saw it's in

Also support is in their TODO list. The least I can do now is staring their repo. Maybe in near future I could create a small CLI to post a without leaving terminal.

And finally, a community maintained list of current active instances which registration is public in them would be nice as well. Let me know if such a thing already exists. Otherwise I will create if myself.

@farooqkz @humanetech @lucifargundam @theenoro @codeberg

> I can do now is staring their repo. Maybe in near future I could create a small CLI to post a #gitpad without leaving terminal.

I'd love to help with that. The #GitPad REST API provides similar functionality as the web UI, so writing programs to interact with it is possible :)

That said, all #GitPad gists are Git repositories. I have to figure out how to cleanly implement Git functionality like push and pull.

Follow

@realaravinth @humanetech@mastodon.social @lucifargundam @theenoro @codeberg@mastodon.technology

Oh you are the developer! I am honored :D

I have forked your repo to add automatic build for each push. Do you have anywhere to host the build artifacts?

@farooqkz @humanetech @lucifargundam @theenoro @codeberg

Nice to meet you too :D

> Do you have anywhere to host the build artifacts?

I'm not sure I understand what you mean by "build artifacts".

I publish docker image from each push to the master branch and have plans to upload GNU/Linux binaries at dl.gitpad.org.

Do you have something else in mind?

@realaravinth @humanetech@mastodon.social @lucifargundam @theenoro @codeberg@mastodon.technology

Yeah I meant the latter. But maybe not only for Linux. You could have the build binaries for the latest commit in dl.gitpad.org or anywhere else you prefer.

@farooqkz @humanetech @lucifargundam @theenoro @codeberg

dl.gitpad.org should work for now, I think. It's running [dumbserve](github.com/realaravinth/dumbserve), which was purpose-built for uploading bins. Or do you have other ideas?

I don't want to rely on more GitHub stuff, as I'm slowly migrating to a self-hosted Gitea instance.

@realaravinth @humanetech@mastodon.social @lucifargundam @theenoro @codeberg@mastodon.technology

Hmm dumbserve looks nice and similar to what I've done for github.com/farooqkz/chooj

But I think it's much better if you let something like nginx handle incoming requests for downloads.

github.com/realaravinth/gitpad

Here, you just need to add additional stuff for other platforms. For now I think you'd better support as many as possible but only those which work out of the box.

@farooqkz @humanetech @lucifargundam @theenoro @codeberg

> Hmm dumbserve looks nice and similar to what I've done for

Nice!

> But I think it's much better if you let something like nginx handle incoming requests for downloads.

I couldn't come up with a straghit forward way to do authenticated uploads with nginx. If you are worried about performance, dumbserve is powered by Actix Web[0], which is quite fast.

> Here, you just need to add additional stuff for other platforms.

Cross-compiling is a little tricky with some of the libs that #GitPad is using. Or maybe I just don't know how to do it porperly. I used rust-cross[1], btw.

If you are interested, feel free to send a PR :D


[0]: actix.rs
[1]: github.com/japaric/rust-cross

Sign in to participate in the conversation
Qoto Mastodon

QOTO: Question Others to Teach Ourselves
An inclusive, Academic Freedom, instance
All cultures welcome.
Hate speech and harassment strictly forbidden.