top | item 37953955

Show HN: Salami – declare your cloud infrastructure with natural language

4 points| poundofshrimp | 2 years ago |github.com

Hi HN!

Salami is an open-source DSL that lets you declare Terraform-style configurations with natural language. The compiler uses LLM (currently GPT-4) to convert natural language into Terraform code.

This project's main motivation was to better integrate LLMs into the developer workflow. Salami makes it easier to program in natural language without switching and copy-pasting. It’s also more accurate than GPT-4 alone, as it can catch errors and generate code that is more likely to be correct.

The GitHub repo has several examples you can easily run. I also wrote a blog post and recorded a short demo video.

Blog post: https://www.petrgazarov.com/posts/infrastructure-as-natural-... Demo video: https://www.youtube.com/watch?v=ej629E0WOIY

Thanks for checking it out!

2 comments

order

DrLukt|2 years ago

come on, tell us why it's called "Salami" :D

poundofshrimp|2 years ago

Spoiler - no big reason other than it was available and I thought it sounded cool