Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can you open source bashhub-server so I can host my own private server? #47

Open
evanstucker-hates-2fa opened this issue May 9, 2017 · 13 comments

Comments

@evanstucker-hates-2fa
Copy link

This service looks almost exactly like what I've been looking for - the feature set it great! - except I need to have it stored in my cloud, not your cloud. If I'm using this for work and I accidentally put a password on the command line, I can't have that going to a third-party. If I were able to host a bashhub server at work and the password never made it off-premises, I could use this product.

Can you open source the server side and allow client configuration to point to a private server?

@rcaloras
Copy link
Owner

rcaloras commented May 9, 2017

Hey @evanstucker-hates-2fa thanks for checking out bashhub and opening the issue!

I've addressed this in the past on #16 and I discuss sensitive data and privacy in the wiki.

I have no plans to opensource bashhub.com's current server implementation, but I am planning to create a new open source implementation for the community to maintain and use for their own private use cases. It should be fully compatible with this existing project. Please stay tuned as I'm hoping to make a release in the next few months.

@lolorc
Copy link

lolorc commented Sep 1, 2017

any news ? bashhub looks very nice, but it's also a no-go for us to use an opensource software that stores private history in a closed source central server.

@rcaloras
Copy link
Owner

rcaloras commented Sep 1, 2017

@lolorc No major update. I've been experimenting with a few frameworks/languages to decide on the implementation. I want to use something that a community can get behind and support. I'll update here once I actually push something. Thanks for checking and the compliments about Bashhub!

@kutsan
Copy link

kutsan commented Sep 5, 2017

Sorry but why don't you want to open-source it and want to implement it from scratch? What's the reason behind? This thought makes the thing more fishy. Saying that "Your data are private." is not enough, you know.

You are making proprietary software for the Linux community and a lot of people, including myself won't ever use it unless see the code completely.

@Gibby
Copy link

Gibby commented Sep 14, 2018

I would like this option also, would love to be able to host my own instance of the server in something like AWS.

@tcyrus
Copy link

tcyrus commented Dec 6, 2018

@rcaloras, It's been about a year since you last commented. Any updates?
Consider at least publishing API documentation (e.g. Swagger) if you can't open source the server implementation.

@dubiouscript
Copy link

.# export BH_URL='http://localhost:9000'

BH_URL = os.getenv('BH_URL', 'https://bashhub.com')

wrt:"server" 😉

https://github.com/sunaku/dasht/blob/77e7adfc8fde0043a0a063fe02eb02a807af0357/bin/dasht-server#L86

host=127.0.0.1
port=${1:-54321}
echo "http://$host:$port"

socat "TCP-LISTEN:$port,bind=$host,reuseaddr,fork" EXEC:dasht-server-http

+https://github.com/sunaku/dasht/blob/master/bin/dasht-server-http

plz dump some api doc's
thnx
..
p

@brokencode64
Copy link

Would love to see this open-sourced. I love the idea, but there is no way I am sending my bash history to the "cloud". If I could run my own server this would be amazing.

@dubiouscript
Copy link

dubiouscript commented Mar 30, 2019

Would love to see this open-sourced. I love the idea, but there is no way I am sending my bash history to the "cloud". If I could run my own server this would be amazing.

... hi ! i had some luck
changing bashhub dot com to point to localhost in the hosts file and runing a local echo server

also found

this https://github.com/notpushkin/bashhub-server .. could be useful ...

&&

https://github.com/search?o=desc&p=2&q=bash+httpd
0.0

@nicksherron
Copy link

nicksherron commented Feb 10, 2020

Hey guys! This issue inspired me to make bashhub-server.

It’s a mostly complete drop-in replacement for the private server.

All you need to do is run it and change the BH_URL environment variable to that of the bashhub-server
and re-run bashhub setup.

The backend db can use sqlite or postgresql and also adds regex support for bh queries.

I'd love to get your guy's feedback. Especially @rcaloras.

@rcaloras
Copy link
Owner

Hey @nicksherron! Awesome to see an open implementation of Bashhub's backend. Would love to connect to hear your thoughts on the project and also share some of the ideas I've had around this kind of implementation. Will reach out via email!

@kootenpv
Copy link

I'm also very interested in this. Particularly in being able to show the whole session for a found command. Let's say that in interactive mode there would be a keyboard command we could use to show the entire session as well?

@v3ss0n
Copy link

v3ss0n commented Nov 5, 2021

Hey @nicksherron! Awesome to see an open implementation of Bashhub's backend. Would love to connect to hear your thoughts on the project and also share some of the ideas I've had around this kind of implementation. Will reach out via email!

That doesn't make sense. why don't you open the source in the first place?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests