{"id":16656466,"url":"https://github.com/kociamber/elf","last_synced_at":"2026-05-21T04:36:48.555Z","repository":{"id":44041175,"uuid":"223000196","full_name":"Kociamber/elf","owner":"Kociamber","description":"LiveView powered online Elixir code formatter and Credo analyser.","archived":false,"fork":false,"pushed_at":"2023-01-05T01:19:57.000Z","size":12365,"stargazers_count":1,"open_issues_count":16,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-12-31T21:16:39.110Z","etag":null,"topics":["elixir","elixir-phoenix","phoenix","phoenix-framework","phoenix-liveview"],"latest_commit_sha":null,"homepage":null,"language":"Elixir","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Kociamber.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-11-20T18:20:24.000Z","updated_at":"2024-05-02T14:50:11.000Z","dependencies_parsed_at":"2023-02-03T03:46:06.500Z","dependency_job_id":null,"html_url":"https://github.com/Kociamber/elf","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Kociamber/elf","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kociamber%2Felf","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kociamber%2Felf/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kociamber%2Felf/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kociamber%2Felf/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Kociamber","download_url":"https://codeload.github.com/Kociamber/elf/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kociamber%2Felf/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33288909,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-21T02:57:32.698Z","status":"ssl_error","status_checked_at":"2026-05-21T02:57:31.990Z","response_time":62,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["elixir","elixir-phoenix","phoenix","phoenix-framework","phoenix-liveview"],"created_at":"2024-10-12T09:57:25.393Z","updated_at":"2026-05-21T04:36:48.538Z","avatar_url":"https://github.com/Kociamber.png","language":"Elixir","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Elixir LiveView Formatter\n\n__WIP!__\n[LiveView](https://github.com/phoenixframework/phoenix_live_view) powered in-browser Elixir code formatter and Credo analyser.\n\nWhat is [LiveView](https://github.com/phoenixframework/phoenix_live_view)? In short - you can write real-time user interaction code with pure Elixir and get rid off JS!\n\nThe functionality is there, now I just need to add some decent CSS styling.\n\nPlease bear in mind that Credo is picking up the code wrapped around module (`defmodule`) or function (`def`) definitions, ie - this ugly code will be picked up:\n```elixir\ndef mount(_session, socket) do\n  if true do\n    if true do\n    if true do\n        assigns =\n          socket\n          |\u003e assign(:assign_me, 1)\n          |\u003e assign(:assign_me_too, \"value\")\n          |\u003e assign(:hairy, \"cattos\")\n    end\n    end\n  end\n  {:ok, assigns}\nend\n```\nand this one will not:\n```elixir\n  if true do\n    if true do\n    if true do\n        assigns =\n          socket\n          |\u003e assign(:assign_me, 1)\n          |\u003e assign(:assign_me_too, \"value\")\n          |\u003e assign(:cattos, \"furry\")\n    end\n    end\n  {:ok, assigns}\n```\n# Install and run locally\n  * Clone repo with `git clone https://github.com/Kociamber/elf.git`\n  * Install dependencies with `mix deps.get`\n  * Install Node.js dependencies with `cd assets \u0026\u0026 npm install \u0026\u0026 cd ..`\n  * Start Phoenix endpoint with `mix phx.server`\n\nNow you can visit [`localhost:4000`](http://localhost:4000) from your browser.\n\n# TODO\n * work with CSS on some nice layout\n * allow formatting without wrapping code around with `def` and `end` or display\n a message\n * release to hex, host the thing online, add Travis CI\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkociamber%2Felf","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkociamber%2Felf","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkociamber%2Felf/lists"}