Hacker GitHub

← All repos

wojtekmach/mix_install_examples

View on GitHub ↗ ★ 796 Elixir

A collection of simple Elixir scripts that are using Mix.install/2.

11 mentions on Hacker News by 10 people: 0 stories, 11 comments · first 2021-09-15 · latest 2025-01-23

Mentions per year 11 mentions · busiest year 2023 (8)
20082026
  1. You can get a similar effect in Elixir scripts with Mix.install/2: https://github.com/wojtekmach/mix_install_examples It supports git-links as well as package names in repos and versions. Also happens to be a very nice and capable…
  2. …have you aboard ;) Also, if you want an auth solution without code generation, there is Pow [1] [0] https://github.com/wojtekmach/mix_install_examples/blob/main... [1] https://github.com/pow-auth/pow
    comment by sodapopcan · 2023-08-16 · in On to Elixir
  3. Here's a great repo showcasing how to use it more like a quick scripting language. https://github.com/wojtekmach/mix_install_examples
    comment by sergiotapia · 2023-08-03 · in Elixir for cynical curmudgeons
  4. …As mentioned in the article, I can definitely recommend to check out https://github.com/wojtekmach/mix_install_examples which has a long list of examples. One last tip is that you can also use "mix run script.exs" on a file not
    comment by thibaut_barrere · 2023-06-12 · in Scripting with Elixir
  5. Streaming ChatGPT via SSE in Elixir: https://github.com/wojtekmach/mix_install_examples/pull/22#i...
    comment by nberkman · 2023-05-16 · in Server-sent events
  6. …track of what to change when mix create outputs something different next year. and now things like https://github.com/wojtekmach/mix_install_examples/blob/main... where is ecto even installed? download from where? so annoying this trend.
    comment by rftyuikdjhgvcf · 2023-03-09 · in Single File Elixir Scripts
  7. You could adapt this script and replace Postgrex with the ecto_sqlite3 adapter: https://github.com/wojtekmach/mix_install_examples/blob/main... https://github.com/elixir-sqlite/ecto_sqlite3
    comment by h0l0cube · 2023-03-09 · in Single File Elixir Scripts
  8. A nice collection of Elixir scripts in the repository linked at the end of the article: https://github.com/wojtekmach/mix_install_examples
    comment by plainOldText · 2023-03-09 · in Single File Elixir Scripts
  9. See also https://github.com/wojtekmach/mix_install_examples/blob/main... https://github.com/wojtekmach/mix_install_examples/blob/main...
    comment by ElDji · 2023-03-06 · in Phoenix 1.7.0
  10. And with Mix.install/2 [0] you have access to the entire ecosystem. Here are a few examples: https://github.com/wojtekmach/mix_install_examples [0]: https://hexdocs.pm/mix/1.12.3/Mix.html#install/2
    comment by krnsi · 2022-12-15 · in Python 3.11 Delivers
  11. …and configuration. Check-out this repository for an example (and other single-file examples): https://github.com/wojtekmach/mix_install_examples/blob/main...
    comment by thibaut_barrere · 2021-09-15 · in Dynamic Queries in Ecto (Elixir Lang)