derpycoder
Created a Command Palette within a week, thanks to Elixir & Phoenix LiveView
Hey Guys,
I created a command palette for my blog/site/portfolio, using Phoenix LiveView & Meilisearch.
I am just overwhelmed by how much I was able to do thanks to LiveView & Elixir.
- Using Req library, I am able to interface with Meilisearch easily.
- Imgproxy, lets me dynamically resize images, which then appear nicely in Command Palette.
- Tailwind CSS native integration with Phoenix is just chef’s kiss.
- Phoenix LiveView, JS Hooks and the whole interaction with JS is just sublime. I got this thing done, because of how little JS I had to write.
- Meilisearch is fast and easy, with features like multi search, facets, filters, synonyms I don’t think I will need any other search engine.
- Changesets are amazing at form validation, even when used without a DB.
I’m glad Elixir, Phoenix & Live View exists. I would have quit this field otherwise. ![]()
My site (Using Tailwind CSS)
Command Palette ⌘K (Using Phoenix Hooks)
Global Search (Utilising the latest Multisearch feature of Meilisearch)
Specialized search (Utilising Elixir’s amazing string pattern matching)
Routes dynamically extracted from the internal routes (Utilising Elixir’s amazing Map & Enum features)
P.S. Log Out works, thanks to <.link method="delete" />
Hints
Input Validation (Changesets & Schema are just incredible, for form input validations)
P.S. The project is open source, it’s a WIP so I haven’t deployed it yet.
https://github.com/derpycoder/derpy_tools
P.P.S. Tools part is pending as of now, and so is a ! command for toggles.
Like
! Debug Latency
! Show Source Inspector
Popular in Discussions
I would like to better understand what the advantages/disadvantages of umbrella applications are compared to structuring your app as as s...
New
Hello everyone,
I’m so glad to have discovered this awesome community. Thanks for creating it! This is my second post, and apologies for...
New
I’m trying to evaluate the best combo/stack for a BEAM Web app. Right now I’m exploring Yaws a bit, after having dealt with Phoenix for a...
New
I have put far too much effort into Dialyzer over the last year or so - and basically - I doubt it’s worth the effort.
It’s not as easy ...
New
There’s a new TIOBE index report that came out that shows Elixir is still not in the top 50 used languages.
It also goes on to call Elix...
New
I suppose this question is effectively hackney vs. ibrowse but we are at a point in our project where we have to make a choice between th...
New
What configs will make sense to put to runtime.exs?
–
A bit of how I configure apps:
I have generic configs in config/config.exs,
dev...
New
If so I (and hopefully others!) might have some tips for you :slight_smile:
But first, please say which area you’re finding most challen...
New
I’m looking for a host for the server part of a small (personal) side project that I’m working on. It’s currently written in Node.js and ...
New
Phoenix Live View is now publicly available on GitHub.
Here’s Chris McCord’s tweet announcing making it public.
New
Other popular topics
Hello, can anybody help here..? I have a list of players and I what to delete an element, but every for loop the list is reverting to ori...
New
To my knowledge, put_in, Map.update etc. all have the one limitation of not automatically creating intermediate keys when needed (for exa...
New
Anybody knows a comprehensive comparison of Django and Phoenix, thanks for the help.
Where are they similar?
Where do they differ the m...
New
What is the idiomatic way of matching for not nil in Elixir?
E.g.,
First way:
defp halt_if_not_signed_in(conn, signed_in_account) when...
New
I have a server on AWS, and was running a load test using artillery. When looking at the Phoenix dashboard I see the Ports going to 100% ...
New
Hello guys,
I have finally made it. I created an admin interface for a framework. It’s been on my todo list for years and with the curre...
New
I have VueJS GUIs with the project generated using Webpack.
I have Elixir modules that will need to be used by the VueJS GUIs.
I forese...
New
Got a question about when to concat vs. prepending items to list then reversing to achieve appending.
So i know lists boil down to [1 | ...
New
I am trying to start a new phoenix project with elixir 1.9, but mix phx.new does not work. It says that ** (Mix) The task "phx.new" could...
New
Hi!
Currently I want to submit a form by pressing the Enter key. However, since my input field is of type “textarea” this is just adds a...
New
Categories:
Sub Categories:
Forums
Popular Tags
- #ecto
- #liveview
- #troubleshooting
- #learning-elixir
- #deployment
- #library
- #erlang
- #testing
- #genserver
- #mix
- #absinthe
- #remote-other
- #otp
- #plug
- #how-to-question
- #macros
- #postgres
- #channels
- #elixirconf
- #exunit
- #discussion
- #code-sync
- #javascript
- #podcasts
- #onsite
- #dialyzer
- #docker
- #authentication
- #umbrella
- #full-time-contract
- #podcasts-by-brainlid
- #ecto-query
- #elixir-ls
- #phoenix_html
- #iex
- #blog-post
- #graphql
- #genstage
- #ai
- #websockets
- #supervisor
- #advent-of-code
- #elixirconf-us
- #distillery
- #processes
- #forms
- #api
- #metaprogramming
- #security
- #performance



















