Recent comments in /f/coolgithubprojects
Educational_Ice151 t1_jc1sxbj wrote
This looks great!
Shared to r/aipromptprogramming
orhunp OP t1_jc1hqny wrote
Reply to comment by Educational_Ice151 in halp: A CLI tool to get help with CLI tools š by orhunp
Thx! :3
sigoden OP t1_jc0lmic wrote
Features
Educational_Ice151 t1_jc0515n wrote
This looks awesome!
Shared to r/aipromptprogramming
LuvPastelPink t1_jbyntw7 wrote
How is it better than tealdeer?
orhunp OP t1_jbykkix wrote
Reply to comment by Bloxxy213 in halp: A CLI tool to get help with CLI tools š by orhunp
Not quite.
> If you deal with command-line tools often, it might take some time to figure out how to get help or check the version of a particular command (especially when shell completions are not available). In that case, you might try the most-known flags such as -h
and -v
but unfortunately not all the command-line tools follow these conventions (either due to conflicts with other flags or they just use another form). Instead of brute-forcing manually into getting help, you can run halp <command>
and it will check the common arguments by running the command and checking the exit code.
sparr t1_jby7vh6 wrote
What I'd be looking for out of a program like this would be for it to figure out whether to use man or info or -h or -? Or --help or no option or ...
Bloxxy213 t1_jbxw7fm wrote
So, like man?
orhunp OP t1_jbx1gd3 wrote
halp
aims to help find the correct arguments for command-line tools by checking the predefined list of commonly used options/flags. Additionally, it provides a prompt for quick access to the manual page or cheat sheet of the given command.
GitHub: https://github.com/orhun/halp
ragtagthrone t1_jbbx4sf wrote
Reply to comment by lurgi in I made a library that allows you to run functions from any language, in any language. by Zealousideal_Crazy46
Yeah, seems really rigid tbh
lurgi t1_jbbp5gi wrote
Reply to comment by ragtagthrone in I made a library that allows you to run functions from any language, in any language. by Zealousideal_Crazy46
Then you'd need to modify the C/C++ code so that it doesn't return a Widget
type or whatever and instead serializes the data in such a way that it can be deserialized by the caller.
At this point it's just FFI with me doing all the work. Plus, every time a function is called with different arguments, the C compiler is invoked (this also means whoever is running the code will need a C compiler installed, which seems like a big ask).
ragtagthrone t1_jbbla1i wrote
Reply to comment by lurgi in I made a library that allows you to run functions from any language, in any language. by Zealousideal_Crazy46
So in theory you could stringify any object and return that as long as you have a deserialization step to handle it.
lurgi t1_jbawg6k wrote
Reply to comment by iceytomatoes in I made a library that allows you to run functions from any language, in any language. by Zealousideal_Crazy46
If what you are returning can easily be represented as a string, I suppose you could.
iceytomatoes t1_jbaw9rn wrote
Reply to comment by lurgi in I made a library that allows you to run functions from any language, in any language. by Zealousideal_Crazy46
i understand it gets a little complicated depending on what's being returned, but for returning values wouldn't it be feasible to wrap that in an input()?
lurgi t1_jbarw1b wrote
Reply to comment by iceytomatoes in I made a library that allows you to run functions from any language, in any language. by Zealousideal_Crazy46
It looks like it takes the file containing the function, slaps an int main()
in there which calls the function with the appropriate arguments, and then compiles and runs the code. No values can be returned from the function and my guess is it will only work with a few data types (int, float, char, maybe string) so good luck using anything remotely interesting.
iceytomatoes t1_jbaa2po wrote
Reply to I made a library that allows you to run functions from any language, in any language. by Zealousideal_Crazy46
i still don't understand this since the last time you posted it
is the readme in examples supposed to be empty
Zealousideal_Crazy46 OP t1_jb8fc2l wrote
Reply to I made a library that allows you to run functions from any language, in any language. by Zealousideal_Crazy46
Hello! am the owner of sushi - a library to help you migrate from one language to another and wanted to announce 0.1! When I first posted about sushi, it had lots of bugs and was in a really early stage. After releasing 0.1 all bugs were fixed and suggestions from my last post were applied.
So what really is sushi? As the title says it's a library to help you migrate from one language to another. It can also be used if you can't find any library for your language. In future, I want to have it compatible with any language.
If it sounds interesting, you can help me continue growing this project by giving it a star and contributing to it. Thanks for all the support!
I will also listen to all your suggestions and opinions about it, so if you have any - comment it!
Examples: https://github.com/dev-sushi/sushi/tree/main/examples. I will add more when auto indexing will be ready (alternative to regex based indexing)
UsePsychological2822 t1_jb4dt66 wrote
Reply to FeatureProbe: 100% open source project for feature flags, AB testing feature release management platform, is has support for development languages including Rust SDK, Python SDK, Golang SDK, Node.js SDK, Java SDK, React SDK, and more. by New-Phrase9852
Try our React SDK here (https://github.com/FeatureProbe/client-sdk-react)
If there is anyone who is interested in Vue.js sdk?
Formal_Tree2535 t1_jazh5k8 wrote
Reply to comment by josiahnelson in Logto: A cost-effective open-source alternative to Auth0 by Reasonable-Ice6455
Thank you u/josiahnelson! I think you have a precise first impression since that's exactly our target - a drop-in auth solution, but with customization and extensibility. :-)
Our team is still working hard on adding new features to extend the scenarios, so don't hesitate to let us know if there's anything we can do better.
josiahnelson t1_jaymk5f wrote
Reply to comment by Formal_Tree2535 in Logto: A cost-effective open-source alternative to Auth0 by Reasonable-Ice6455
Thanks for responding! Iām looking forward to testing it out and may look at contributing if you guys need. Love to see projects like this making better auth more accessible!
josiahnelson t1_jaym8bq wrote
Reply to comment by Ranomier in Logto: A cost-effective open-source alternative to Auth0 by Reasonable-Ice6455
Not OP, but as a heavy Authentik user I read through the docs and I think this solution is somewhere inbetween something like Authelia and Authentik.
It has a built in IdP, looks very straightforward to setup and is fairly customizable/extensible, but not nearly as much so as Authentik in most areas.
I fully plan to spin this up in my test environment to kick the tires, but my initial thought is that this aims at being more targeted towards developers looking for a straightforward drop-in auth provider for their app.
Obviously simplifying here but just my first impressions.
twin802 t1_jaxxlnp wrote
Reply to comment by jrh3k5 in Forte: An open-source, self-hosted, music streaming platform by kgb_26
Ah, that makes sense
jrh3k5 t1_jaxmau2 wrote
Reply to comment by twin802 in Forte: An open-source, self-hosted, music streaming platform by kgb_26
To this point: Plexamp is locked behind Plex Pass, I believe, so, if you don't want to / don't have the funds to buy a Plex Pass, this kind of software seems like it may be a good fit for such an individual.
InitialCreature t1_jc1vomh wrote
Reply to AIChat: A cli tool to chat with gpt-3.5/chatgpt in terminal. by sigoden
puts my version to shame haha. I do like the idea of the color highlighting, what did you use for that?