FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

devforth/adminforth at e66a36bb2d7db119154722c8cc8fc9e6b19da74e · GitHub

Repository navigation

About

Admin panels for humans and AI agents. Let agents search, update, and act on your data through built-in chat or MCP, with the same permissions as your team. Open-source and self-hosted.

Topics

Resources

Stars

394 stars

Watchers

0 watching

Forks

Repository files navigation

AdminForth - free powerfull Node.js admin panel framework on Vue & Tailwind



Why AdminForth:

  • Init AdminForth project with npx adminforth create-app and pass your database URL, import the tables you wish to see in admin using npx adminforth resource, and get fully functional UI for your data (filter, create, edit, remove)
  • Modern look and simple Tailwind-ish ability to adjust it
  • Supports Postgres, MySQL, Mongo, SQLite, Clickhouse
  • Define Vue components to change look of various parts of admin using npx adminforth component (edit data cells, edit fields, add something above the table, inject something to header or sidebar, add custom page with charts or custom components)
  • Build-in Components library (AdminForth AFCL) with premade easy-to-use build-blocks which follow your theme
  • Define express APIs and call them from your components and pages
  • Use various modern back-office-must-have plugins like audit log, files/image upload, TOTP 2FA, I18N, Copilot-style AI writing and image generation and many more
  • AdminForth is always free and open-source (no paid versions, no cloud subscriptions sh*t)

Project initialisation

mkdir myadmin && cd myadmin
npx adminforth create-app

Previews

Custom Dashboard

Text completion plugin (Copilot-style) using LLMs

Image Generation using image generation models

For developers

The most convenient way to add new features or fixes is using dev-demo. It imports the source code of the repository and plugins so you can edit them and see changes on the fly.

Requirements

  • Node.js 20
  • Docker
  • pnpm
  • Taskfile

To run dev demo:

cd dev-demo

pnpm setup-dev-demo
pnpm migrate:all

pnpm start

Adding columns to a database in dev-demo

Open ./migrations folder. There is prisma migration folder for the sqlite, postgres and mysql and clickhouse_migrations folder for the clickhouse:

Migrations for the MySQL, SQLite and Postgres

To make migration add to the .prisma file in folder with database you need and add new tables or columns. Then run:

pnpm makemigration:sqlite -- --name init

and

pnpm migrate:sqlite

to apply migration

use :sqlite, :mysql or :postgres for you case

Migrations for the clickhouse

In order to make migration for the clickhouse, go to the ./migrations/clickhouse_migrations folder and add migration file to the folder.

Then run

pnpm migrate:clickhouse

to apply the migration.

Testing CLI commands during development

Make sure you have not adminforth globally installed. If you have it, remove it:

pnpm uninstall -g adminforth

Then, in the root of the project, run once:

cd adminforth/adminforth
pnpm build
pnpm link

Then, go to testing app, e.g. created with CLI, and use next command:

npx -g adminforth <your command under development>

This will always run latest version of adminforth package.

Star History

About

Admin panels for humans and AI agents. Let agents search, update, and act on your data through built-in chat or MCP, with the same permissions as your team. Open-source and self-hosted.

Topics

Resources

Stars

394 stars

Watchers

0 watching

Forks

Releases

Used by

Contributors

Languages


Back | FazBrowse Home | New Git URL