github jbangdev/jbang v0.106.0

latest releases: v0.132.1, v0.132.0, v0.131.0...
2 years ago

Changelog

This enables use of GPT with JBang.

To use it you need an OPENAI_API_KEY and use the --preview flag.

export OPENAI_API_KEY=sk-xxxxxxx-x-xxxxxx
jbang init gh.java "connect to github an fetch all repositories under jbangdev and collect how many stars they have"

And JBang will call out using ChatGPT's API to initialize and create a jbang script that attempts to do what you expressed on the command line.

You can see it in action in this video: https://www.youtube.com/watch?v=4Ol3sMm8xDM

Enjoy!

🚀 Features

  • 152424f support use of ChatGPT in init

🐛 Fixes

  • 39ada52 remove codeblocks and make magiccontent part of init
  • 37ae906 essential space
  • 4388052 trim trailing whitespaces in //MODULE directive (#1602)

Contributors

We'd like to thank the following people for their contributions:
Max Rydahl Andersen, GitHub, Fred Bricon

Don't miss a new jbang release

NewReleases is sending notifications on new releases.