The best Hacker News stories from Show from the past day
Latest posts:
Show HN: I built a simple CLI helper integrating with GPT-3
Hi all!<p>I don’t think CHATGPT has gone unnoticed by anyone here on Hackernews. I’ve myself played around a bit with it, but felt it was annoying to always have to log into their GUI to ask the questions.<p>To scratch my own itch and at the same time learn more about how to write my own command line interface, I created 'askai'. 'askai' is a simple CLI integration with OpenAI’s GPT3 models. I’ve primarily used it to get quick answers to technical questions, like:<p>> askai "How to mock user input when writing a Python pytest test?"<p>> askai "How do I remove a conda environment?"<p>As I've found it quite helpful, I decided to spend some time to package it in a nicer way to share it with all of you. I've also uploaded it to PyPI to simplify the installation process.<p>'askai' enables you to:<p><pre><code> * Ask questions and get the answers straight into your terminal
* Configure which model and model parameters you want to use
* Overwrite saved configurations when you ask questions
</code></pre>
Currently, it only supports OpenAI’s models, but my plan is to integrate more endpoints as soon as new capable NLP endpoints are popping up.<p>I hope some of you find it useful :)
Show HN: I built a simple CLI helper integrating with GPT-3
Hi all!<p>I don’t think CHATGPT has gone unnoticed by anyone here on Hackernews. I’ve myself played around a bit with it, but felt it was annoying to always have to log into their GUI to ask the questions.<p>To scratch my own itch and at the same time learn more about how to write my own command line interface, I created 'askai'. 'askai' is a simple CLI integration with OpenAI’s GPT3 models. I’ve primarily used it to get quick answers to technical questions, like:<p>> askai "How to mock user input when writing a Python pytest test?"<p>> askai "How do I remove a conda environment?"<p>As I've found it quite helpful, I decided to spend some time to package it in a nicer way to share it with all of you. I've also uploaded it to PyPI to simplify the installation process.<p>'askai' enables you to:<p><pre><code> * Ask questions and get the answers straight into your terminal
* Configure which model and model parameters you want to use
* Overwrite saved configurations when you ask questions
</code></pre>
Currently, it only supports OpenAI’s models, but my plan is to integrate more endpoints as soon as new capable NLP endpoints are popping up.<p>I hope some of you find it useful :)
How many QMS advertising panels in Sydney are near a Telstra public telephone?
Show HN: Self-hosted CMS on serverless Cloudflare
Show HN: Self-hosted CMS on serverless Cloudflare
Show HN: Self-hosted CMS on serverless Cloudflare
Show HN: Self-hosted CMS on serverless Cloudflare
Show HN: Dog API
Hello there, happy holidays.<p>I've been maintaining for 6 years this Dog API that only returned facts. I recently rewrote the project to make it more flexible [1] and I had a blast doing so.<p>This API has been used by a lot of computer science students, as well as bots and other 3rd party services that integrated in the past. The old endpoint receives around 1,000-1,500 requests per day, which makes me happy.<p>The goal is to extend it to make it more interesting and usable, I collect dog data in my spare time. I'm not looking to monetize it, it's just for the love of education.<p>Feel free to use it, and share it!<p>[1]: <a href="https://github.com/kinduff/dogapi.dog">https://github.com/kinduff/dogapi.dog</a>
Show HN: Dog API
Hello there, happy holidays.<p>I've been maintaining for 6 years this Dog API that only returned facts. I recently rewrote the project to make it more flexible [1] and I had a blast doing so.<p>This API has been used by a lot of computer science students, as well as bots and other 3rd party services that integrated in the past. The old endpoint receives around 1,000-1,500 requests per day, which makes me happy.<p>The goal is to extend it to make it more interesting and usable, I collect dog data in my spare time. I'm not looking to monetize it, it's just for the love of education.<p>Feel free to use it, and share it!<p>[1]: <a href="https://github.com/kinduff/dogapi.dog">https://github.com/kinduff/dogapi.dog</a>
Show HN: Dog API
Hello there, happy holidays.<p>I've been maintaining for 6 years this Dog API that only returned facts. I recently rewrote the project to make it more flexible [1] and I had a blast doing so.<p>This API has been used by a lot of computer science students, as well as bots and other 3rd party services that integrated in the past. The old endpoint receives around 1,000-1,500 requests per day, which makes me happy.<p>The goal is to extend it to make it more interesting and usable, I collect dog data in my spare time. I'm not looking to monetize it, it's just for the love of education.<p>Feel free to use it, and share it!<p>[1]: <a href="https://github.com/kinduff/dogapi.dog">https://github.com/kinduff/dogapi.dog</a>
Show HN: Dog API
Hello there, happy holidays.<p>I've been maintaining for 6 years this Dog API that only returned facts. I recently rewrote the project to make it more flexible [1] and I had a blast doing so.<p>This API has been used by a lot of computer science students, as well as bots and other 3rd party services that integrated in the past. The old endpoint receives around 1,000-1,500 requests per day, which makes me happy.<p>The goal is to extend it to make it more interesting and usable, I collect dog data in my spare time. I'm not looking to monetize it, it's just for the love of education.<p>Feel free to use it, and share it!<p>[1]: <a href="https://github.com/kinduff/dogapi.dog">https://github.com/kinduff/dogapi.dog</a>
Show HN: 10x Faster Twitter Embeds
Show HN: 10x Faster Twitter Embeds
Show HN: Eleven – open-source alternative to Codespaces
Hey HN,<p>Eleven is the second project that I've built to learn Go. It lets you create a code sandbox in your cloud provider account easily.<p>What's a "code sandbox"? Just a VM, running in your cloud provider account, with some runtimes pre-installed, your repositories cloned, a way to connect to it with your preferred editor (or via SSH) and a way to serve your apps easily via HTTP (with automatic HTTPS).<p>You could use it to deploy your app, as a remote development environment or even to test some code. It's up to you.<p>For example, to deploy a Node.JS app:<p>$ eleven aws init hello-world --runtimes node@18.7.0 --repositories eleven-sh/hello-world<p>> Success! The sandbox "hello-world" was initialized.<p>$ ssh eleven/hello-world forever node index.js<p>> Forever: command started. Run "forever stop" in current path to stop.<p>$ eleven aws serve hello-world 8000 --as hello.eleven.sh<p>> Success! The port "8000" is now reachable at: <a href="https://hello.eleven.sh" rel="nofollow">https://hello.eleven.sh</a><p>$ curl <a href="https://hello.eleven.sh" rel="nofollow">https://hello.eleven.sh</a><p>> Hello World<p>Still learning Go by the way, so I'm open to any suggestions to improve.
Show HN: Eleven – open-source alternative to Codespaces
Hey HN,<p>Eleven is the second project that I've built to learn Go. It lets you create a code sandbox in your cloud provider account easily.<p>What's a "code sandbox"? Just a VM, running in your cloud provider account, with some runtimes pre-installed, your repositories cloned, a way to connect to it with your preferred editor (or via SSH) and a way to serve your apps easily via HTTP (with automatic HTTPS).<p>You could use it to deploy your app, as a remote development environment or even to test some code. It's up to you.<p>For example, to deploy a Node.JS app:<p>$ eleven aws init hello-world --runtimes node@18.7.0 --repositories eleven-sh/hello-world<p>> Success! The sandbox "hello-world" was initialized.<p>$ ssh eleven/hello-world forever node index.js<p>> Forever: command started. Run "forever stop" in current path to stop.<p>$ eleven aws serve hello-world 8000 --as hello.eleven.sh<p>> Success! The port "8000" is now reachable at: <a href="https://hello.eleven.sh" rel="nofollow">https://hello.eleven.sh</a><p>$ curl <a href="https://hello.eleven.sh" rel="nofollow">https://hello.eleven.sh</a><p>> Hello World<p>Still learning Go by the way, so I'm open to any suggestions to improve.
Show HN: Eleven – open-source alternative to Codespaces
Hey HN,<p>Eleven is the second project that I've built to learn Go. It lets you create a code sandbox in your cloud provider account easily.<p>What's a "code sandbox"? Just a VM, running in your cloud provider account, with some runtimes pre-installed, your repositories cloned, a way to connect to it with your preferred editor (or via SSH) and a way to serve your apps easily via HTTP (with automatic HTTPS).<p>You could use it to deploy your app, as a remote development environment or even to test some code. It's up to you.<p>For example, to deploy a Node.JS app:<p>$ eleven aws init hello-world --runtimes node@18.7.0 --repositories eleven-sh/hello-world<p>> Success! The sandbox "hello-world" was initialized.<p>$ ssh eleven/hello-world forever node index.js<p>> Forever: command started. Run "forever stop" in current path to stop.<p>$ eleven aws serve hello-world 8000 --as hello.eleven.sh<p>> Success! The port "8000" is now reachable at: <a href="https://hello.eleven.sh" rel="nofollow">https://hello.eleven.sh</a><p>$ curl <a href="https://hello.eleven.sh" rel="nofollow">https://hello.eleven.sh</a><p>> Hello World<p>Still learning Go by the way, so I'm open to any suggestions to improve.
Show HN: Eleven – open-source alternative to Codespaces
Hey HN,<p>Eleven is the second project that I've built to learn Go. It lets you create a code sandbox in your cloud provider account easily.<p>What's a "code sandbox"? Just a VM, running in your cloud provider account, with some runtimes pre-installed, your repositories cloned, a way to connect to it with your preferred editor (or via SSH) and a way to serve your apps easily via HTTP (with automatic HTTPS).<p>You could use it to deploy your app, as a remote development environment or even to test some code. It's up to you.<p>For example, to deploy a Node.JS app:<p>$ eleven aws init hello-world --runtimes node@18.7.0 --repositories eleven-sh/hello-world<p>> Success! The sandbox "hello-world" was initialized.<p>$ ssh eleven/hello-world forever node index.js<p>> Forever: command started. Run "forever stop" in current path to stop.<p>$ eleven aws serve hello-world 8000 --as hello.eleven.sh<p>> Success! The port "8000" is now reachable at: <a href="https://hello.eleven.sh" rel="nofollow">https://hello.eleven.sh</a><p>$ curl <a href="https://hello.eleven.sh" rel="nofollow">https://hello.eleven.sh</a><p>> Hello World<p>Still learning Go by the way, so I'm open to any suggestions to improve.
Show HN: WebTransport vs. WebRTC vs. WebSocket
Show HN: WebTransport vs. WebRTC vs. WebSocket
Show HN: WebTransport vs. WebRTC vs. WebSocket