Skip to content
Back to search

naymspace-backpex

MarketplaceWorks with Claude CodeGitHubIncomplete

Safety scan

A static text scan, not a guarantee. Select the badge to see what was scanned and every finding.

Checked today

Check it deeper on your machine

It has changed since its scan on 11 Nov 2026.

As a Claude Code plugin, install it and then ask Claude Code:

/plugin marketplace add keithmackay/mackayi/plugin install scanskillsafety@mackayiDo a deep scan of https://github.com/naymspace/backpex with scanskillsafety

Or from a terminal, clone it and run it:

git clone https://github.com/keithmackay/scanskillsafety-skill ~/.claude/skills/scanskillsafetynode ~/.claude/skills/scanskillsafety/cli.cjs --deep 'https://github.com/naymspace/backpex'

It checks the exact commit: every file, its packages against OSV (api.osv.dev), how it compares with this page's scan (findsafeskills.com receives the repository's address), and, if you agree, Claude reading every file with your own Claude subscription. It never runs the code.

Badge for your README
findsafeskills safety rating

Markdown

[![findsafeskills safety rating](/api/listings/naymspace--backpex/badge.svg)](/listings/naymspace--backpex)

HTML

<a href="/listings/naymspace--backpex"><img src="/api/listings/naymspace--backpex/badge.svg" alt="findsafeskills safety rating" /></a>

Install

What was scanned

The files the safety scan read, as written by the repository's author and shown as plain text. Lines with a finding are marked.

.claude-plugin/marketplace.json · Manifest · 19 lines

View this file on GitHub (read at the repository's current version: the scan did not record which commit it read)

This file has changed since it was scanned, so this is not exactly the text that was scanned, and no line is marked. The findings are listed with the safety scan above.

  1. {
  2. "name": "naymspace-backpex",
  3. "owner": {
  4. "name": "Naymspace"
  5. },
  6. "metadata": {
  7. "description": "Official Backpex plugin for Claude Code"
  8. },
  9. "plugins": [
  10. {
  11. "name": "backpex",
  12. "source": "./plugin",
  13. "description": "Skills and agents for building with Backpex — the Phoenix LiveView admin panel",
  14. "version": "0.1.3",
  15. "homepage": "https://github.com/naymspace/backpex",
  16. "keywords": ["elixir", "phoenix", "liveview", "admin", "backpex"]
  17. }
  18. ]
  19. }
README.md · README · 180 lines

View this file on GitHub (read at the repository's current version: the scan did not record which commit it read)

This file has changed since it was scanned, so this is not exactly the text that was scanned, and no line is marked. The findings are listed with the safety scan above.

  1. [![Coverage](https://codecov.io/gh/naymspace/backpex/branch/develop/graph/badge.svg)](https://codecov.io/gh/naymspace/backpex)
  2. [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://github.com/naymspace/backpex/blob/develop/LICENSE.md)
  3. [![Hex](https://img.shields.io/hexpm/v/backpex.svg)](https://hex.pm/packages/backpex)
  4. [![Hex Docs](https://img.shields.io/badge/hex-docs-green)](https://hexdocs.pm/backpex)
  5. <div align="center">
  6. <img src="https://github.com/naymspace/backpex/blob/develop/priv/static/images/logo.svg?raw=true" width="100" height="100">
  7. <br />
  8. <br />
  9. <strong>Admin panels for Phoenix LiveView, built from your Ecto schemas.</strong>
  10. <br />
  11. <br />
  12. <span>🚀 <a href="https://backpex.live/">Live Demo</a></span>
  13. •
  14. <span>📚 <a href="https://hexdocs.pm/backpex">Documentation</a></span>
  15. •
  16. <span>🛠️ <a href="https://hexdocs.pm/backpex/installation.html">Installation Guide</a></span>
  17. •
  18. <span>🩵 <a href="https://hexdocs.pm/backpex/contribute-to-backpex.html">Contribute</a></span>
  19. </div>
  20. # Backpex
  21. Backpex turns your existing Ecto schemas into a complete admin panel: index, show, edit and create views with search, filters, actions, metrics and authorization. Each resource is a single Elixir module, a *LiveResource*, that lives in your Phoenix app, uses your changesets and renders in your layout. Everything runs on LiveView, so there is no separate frontend to build and no second app to deploy.
  22. ![Backpex Screenshot](https://github.com/naymspace/backpex/blob/develop/priv/static/images/screenshot.png?raw=true)
  23. <div align="center">
  24. <a href="https://backpex.live/"><strong>Try the Live Demo →</strong></a>
  25. </div>
  26. ## Why Backpex?
  27. - **It's your code.** A LiveResource is a plain module in your app. Backpex calls your changesets, your repo and your authorization rules instead of inventing its own.
  28. - **Declarative where it can be, extensible where you need it.** Configure fields, filters and actions as data. When the built-ins don't fit, write your own field, filter or action module against a documented behaviour.
  29. - **Real-time by default.** Built on Phoenix LiveView and PubSub: searches, filters and inline edits update instantly, and changes made by other users show up without a reload.
  30. - **Looks good out of the box.** Styled with Tailwind CSS 4 and daisyUI 5, with a responsive app shell, a theme selector and full-width layouts.
  31. ## A LiveResource in 30 Lines
  32. ```elixir
  33. defmodule MyAppWeb.PostLive do
  34. use Backpex.LiveResource,
  35. adapter_config: [
  36. schema: MyApp.Blog.Post,
  37. repo: MyApp.Repo,
  38. update_changeset: &MyApp.Blog.Post.update_changeset/3,
  39. create_changeset: &MyApp.Blog.Post.create_changeset/3
  40. ],
  41. layout: {MyAppWeb.Layouts, :admin}
  42. @impl Backpex.LiveResource
  43. def singular_name, do: "Post"
  44. @impl Backpex.LiveResource
  45. def plural_name, do: "Posts"
  46. @impl Backpex.LiveResource
  47. def fields do
  48. [
  49. title: %{module: Backpex.Fields.Text, label: "Title", searchable: true},
  50. published: %{module: Backpex.Fields.Boolean, label: "Published", index_editable: true},
  51. category: %{module: Backpex.Fields.BelongsTo, label: "Category", display_field: :name},
  52. inserted_at: %{module: Backpex.Fields.DateTime, label: "Created", only: [:index, :show]}
  53. ]
  54. end
  55. @impl Backpex.LiveResource
  56. def can?(assigns, :delete, _post), do: assigns.current_user.role == :admin
  57. def can?(_assigns, _action, _post), do: true
  58. end
  59. ```
  60. Mount it in your router and you get a searchable, sortable, paginated index with inline editing, plus show, edit and create views:
  61. ```elixir
  62. scope "/admin", MyAppWeb do
  63. pipe_through :browser
  64. backpex_routes()
  65. live_session :admin, on_mount: Backpex.InitAssigns do
  66. live_resources "/posts", PostLive
  67. end
  68. end
  69. ```
  70. ## Features
  71. ### Resources and fields
  72. - 🧩 **18 built-in field types**: Text, Textarea, Number, Currency, Boolean, Select, MultiSelect, Checkgroup, Date, DateTime, Time, Email, URL and Upload, plus [custom fields](https://hexdocs.pm/backpex/custom-fields.html) for everything else.
  73. - 🔗 **Associations**: BelongsTo, HasMany and HasManyThrough, and InlineCRUD for editing embedded or associated rows inside the parent form.
  74. - ✏️ **Inline editing** of [fields on the index view](https://hexdocs.pm/backpex/index-edit.html), [readonly](https://hexdocs.pm/backpex/readonly.html) and [computed](https://hexdocs.pm/backpex/computed-fields.html) fields, [panels](https://hexdocs.pm/backpex/panels.html) to group fields on forms.
  75. - 🪝 **[Hooks](https://hexdocs.pm/backpex/hooks.html)** before and after an item is created, updated or deleted.
  76. ### Finding data
  77. - 🔍 **[Search](https://hexdocs.pm/backpex/basic-search.html)** across fields, or PostgreSQL [full-text search](https://hexdocs.pm/backpex/full-text-search.html) on a generated column.
  78. - 🎛️ **[Filters](https://hexdocs.pm/backpex/what-is-a-filter.html)**: Boolean, Select, MultiSelect and Range, with [presets](https://hexdocs.pm/backpex/filter-presets.html), validated URL params and [custom filters](https://hexdocs.pm/backpex/custom-filter.html).
  79. - 📈 **[Metrics](https://hexdocs.pm/backpex/metrics.html)**: value metrics such as sums or averages above the index table, computed for the current search and filters.
  80. - 🗂️ **Column toggles**: users show and hide columns and metrics on the index view.
  81. - ↕️ **[Ordering](https://hexdocs.pm/backpex/ordering.html)** and **[pagination](https://hexdocs.pm/backpex/pagination.html)** with configurable defaults.
  82. ### Actions and access control
  83. - ⚡ **[Item actions](https://hexdocs.pm/backpex/item-actions.html)** for single or selected rows (archive, approve, soft-delete) and **[resource actions](https://hexdocs.pm/backpex/resource-actions.html)** for the whole resource (invite, import, export), both with optional forms and confirmation dialogs.
  84. - 🔒 **[Authorization](https://hexdocs.pm/backpex/live-resource-authorization.html)** in one `can?/3` callback, enforced by Backpex for every view, save, inline edit and action, plus [per-field rules](https://hexdocs.pm/backpex/field-authorization.html). Delegate to the policy library you already use.
  85. ### Built for real use
  86. - 💾 **[User preferences](https://hexdocs.pm/backpex/user-preferences.html)**: theme, sidebar state, visible columns and metrics are remembered per user, in the session or in your database.
  87. - 📡 **[Live updates](https://hexdocs.pm/backpex/listen-to-pubsub-events.html)** via PubSub when items are created, updated or deleted.
  88. - 🌍 **[Translations](https://hexdocs.pm/backpex/translations.html)** of every text Backpex renders, with Gettext or your own translator.
  89. - ♿ **Accessible**: components are operable with the keyboard, and every demo resource is audited with axe in CI.
  90. - 🧪 **[Testing helpers](https://hexdocs.pm/backpex/Backpex.Testing.html)** to drive your LiveResources from `Phoenix.LiveViewTest` without depending on Backpex's markup.
  91. ## Get Started
  92. Backpex ships with an [Igniter](https://github.com/ash-project/igniter) installer. Install the Igniter archive once, then run the installer in your Phoenix app:
  93. ```bash
  94. mix archive.install hex igniter_new
  95. ```
  96. ```bash
  97. mix igniter.install backpex
  98. ```
  99. It configures PubSub, adds the JavaScript hooks, sets up daisyUI and Tailwind, adds the admin routes and creates an admin layout. Review the diff, then follow the [installation guide](https://hexdocs.pm/backpex/installation.html) for the remaining steps and your first LiveResource.
  100. Prefer to set it up by hand? Add Backpex to your dependencies and follow the same guide:
  101. ```elixir
  102. def deps do
  103. [
  104. {:backpex, "~> 0.23"}
  105. ]
  106. end
  107. ```
  108. ### Requirements
  109. - Elixir 1.16 or later
  110. - Phoenix 1.7 or 1.8 and Phoenix LiveView 1.1
  111. - Ecto with a single primary key per schema
  112. - Tailwind CSS 4 and daisyUI 5
  113. Using [Ash](https://ash-hq.org/)? The community project [ash_backpex](https://github.com/enoonan/ash_backpex) connects Backpex to Ash resources.
  114. ## Build Backpex Apps with AI Agents
  115. Backpex gives coding agents the context they need to write correct Backpex code:
  116. - **Usage rules** ship with the Hex package in `deps/backpex/usage-rules.md` and always match your installed version. Sync them into your `AGENTS.md` with [usage_rules](https://hexdocs.pm/usage_rules).
  117. - **A Claude Code plugin** with skills to create LiveResources, fields, filters and actions, and to upgrade between Backpex versions:
  118. ```bash
  119. /plugin marketplace add naymspace/backpex
  120. /plugin install backpex@naymspace-backpex
  121. ```
  122. See [AI Assisted Development](https://hexdocs.pm/backpex/ai-development.html) for details.
  123. ## Learn More
  124. - [What is Backpex?](https://hexdocs.pm/backpex/what-is-backpex.html)
  125. - [Why we built Backpex](https://hexdocs.pm/backpex/why-we-built-backpex.html)
  126. - [What is a LiveResource?](https://hexdocs.pm/backpex/what-is-a-live-resource.html)
  127. - [Upgrade guides](https://hexdocs.pm/backpex/v0-23.html) and [changelog](https://github.com/naymspace/backpex/releases)
  128. ## Contributing
  129. Bug reports, ideas and pull requests are welcome. Start with [Contribute to Backpex](https://hexdocs.pm/backpex/contribute-to-backpex.html) and the [contributing guide](https://github.com/naymspace/backpex/blob/develop/CONTRIBUTING.md), and have a look at the [open issues](https://github.com/naymspace/backpex/issues).
  130. Backpex is built and maintained by [naymspace](https://naymspace.de).
  131. ## License
  132. Backpex is open-source software, licensed under the [MIT License](https://github.com/naymspace/backpex/blob/develop/LICENSE.md).

Ratings and comments

Sign in to rate this skill.

Sign in

Free to use. If it’s helped, pass it on.