Guest mode. You can read posts without signing up. Comments, ratings, job contacts and your own posts open after you sign up and accept the rules. What is Kommit →

Редакция КоммитРедакция портала
commit e1439e6 · 15 days ago
Project

AD Portal: the company's internal portal with all Active Directory services and a no-code editor

🌐 Machine-translated from Russian. Show original

AD Portal is a template for the company's internal portal. All the services of the AD Tools series and any other resources are gathered on one page: email, 1C, knowledge base. The portal is customized for your company with the mouse in the built-in editor, without code editing. It works internally, without internet or CDN.

🔒 Since 17.11.2026, the source code of the AD Tools series is provided upon request: leave a request. The showcase of the series is github.com/WorkTime-kz/ad-tools.

Link
🏠AD Portal — source code and instructions

Главная страница AD Portal на демо-данных

In this part:

What's New (November 2026)#

  • 🧩 Shared ad-tools-core core. AD connection, login parsing, attempt limit, sessions, and log are now shared across the entire AD Tools series (folder src/core/). Login under someone else's account via domain trust is closed (ДРУГОЙ\ivanov no longer maps to its ivanov), X-Forwarded-For counts only from trusted proxies, sessions are recalled upon exit.
  • 🪟 Login through Windows without password — Kerberos in the portal itself (keytab) or on IIS/Apache before it, for the portal (when PORTAL_AUTH=ldap) and the /admineditor. Status: verified on Samba AD, not yet on Windows Server AD; disabled by default, normal form remains.
  • 🇰🇿 Interface in Russian and Kazakh: "Rus | Қаз" switch on the portal, status page, login form, and editor, language by browser settings with memory, dates Intl (kk-KZ). The "Today" section and /status have been translated. For the heading and text of the greeting, subtitle, and section titles, the editor has separate fields in Kazakh; the rest of the content is not automatically translated. The Kazakh translation was prepared using AI — edits by native speakers are welcome.
  • ✅ CI on GitHub Actions: tests on Node 20 and 22 on Ubuntu and Windows and integration login run against real Samba AD from ad-testlab — UPN, DOMAIN\user, nested groups, locked and disabled accounts.
  • 🐞 Fix in the poll card: if ad-polls gives relative links, the "Login" button now leads to the poll service instead of the portal root.
  • 📦 Installing the entire series at once — ad-tools-suite: one configuration file instead of fifteen .env, HTTPS, and names of the type portal.corp.local through Caddy, summary check. The generator automatically writes directory addresses, birthdays, absences, surveys, and certificates for search and the "Today" section to the portal, and the portal address — in EMBED_ORIGINS ad-polls.

Why#

Internal services usually live at different addresses, and employees bookmark them or ask in the chat 'where do they book a meeting room.' AD Portal provides a single start page: service tiles with an availability indicator, colleague search, a 'Today' section, news and important contacts, as well as a service status page. It can be made the browser's homepage for all employees through group policies.

What he can do#

  • 🧩 Service tiles with a "working/unavailable" indicator: the portal checks the /healthz of each service once a minute, and if there is no such address — the page itself.
  • 🔎 Search for colleagues directly from home via ad-phonebook.
  • 📅 The "Today" section with data from other services in the series: who to congratulate on a birthday and work anniversary (ad-birthdays), who is absent and who is replacing (ad-absence), which surveys await an employee response (ad-polls), and for editors — certificates that are about to expire (ad-certs). Each block is enabled in the editor.
  • 🚦 Status page /status: availability of each service for 30 days, ongoing failures, scheduled maintenance, and history. If the service fails to respond to two consecutive checks, the failure opens automatically and closes itself after recovery. The IT department publishes work reports on the "Status" tab in the editor, and they appear as a banner on the main page.
  • 📰 News with simple markup, useful group links , important contacts, basement.
  • 🎨 The /admin editor with live preview for computer, tablet, and phone. Changes apply only after "Save." Configurable:
    • title, subtitle, logo, main and accent colors (ready-made palettes available), font, theme, rounding;
    • title and style of the main section, order, titles, and visibility of sections;
    • Services: address, description, one of 16 icons, highlighted with a button in the header.
  • 🕘 Version history: last 30 saves, any can be opened and restored. Export and import the entire configuration as a single JSON file — convenient to transfer between servers.
  • 🔐 Editors log in with a domain password limited by the AD group. The portal itself can be opened to everyone on the network or only after logging in (PORTAL_AUTH=ldap). Login via Windows (Kerberos) — optional, see above.
  • 🇰🇿 Russian and Kazakh interfaces on the portal, status page, and editor.

Security: content is checked on the server — dangerous links are discarded, logo is accepted only by image, strict CSP applies, login attempts are limited. One external dependency — ldapts, all data — in folder data/: portal content in site.json, status log in incidents.json.

AD Tools series services#

The default template already contains tiles for the entire series — all that remains is to replace the addresses with your own:

ServiceIn the showcase series (code on request)
Phone directoryad-phonebook · Lite
Birthdays and anniversariesad-birthdays
Organizational structuread-orgchart
Meeting and workspacesad-rooms
IT applicationsad-helpdesk
Changing and resetting the [ad-sspr](https://github.com/WorkTime-kz/ad-tools) password
Equipment accountingad-inventory
AD auditad-audit
Hiring and firing employeesad-onboarding
Access requests to groupsad-access
Leave and absencead-absence
LAPSad-laps passwords
Certificatesad-certs
Polls and votingad-polls
Outlook signatures, vCard, group report,ad-toolkit-lite

Try and install#

Demo without AD:

npm ci
npm run demo      # http://localhost:8080, редактор: /admin (demo / demo)

With your AD — copy .env.example to .env, specify the domain controllers (LDAP_URL), the editor group (EDITOR_GROUP_DN), SESSION_SECRET , and optionally the directory address (PHONEBOOK_URL), and for the "Today" section — service addresses (BIRTHDAYS_URL, ABSENCE_URL, POLLS_URL, CERTS_URL), then npm start.

PlatformHow
Windows Server 2016+Windows
Linuxsystemd service
Dockerdocker compose up -d --build
The entire AD Tools seriesad-tools-suite: Docker, Windows Server, or Linux for Caddy

Requirements are modest: Node.js 20.12 or newer (or Docker), 1 vCPU, and 256 MB RAM. Access to domain controllers via LDAPS (636) is needed only for editor login.

The repository includes a step-by-step guide in 12 sections: editor group in AD, installation on Windows Server, Linux, and Docker, DNS name and HTTPS, company setup in the editor, connecting AD Tools services, the "Today" section and status page, portal as the Edge start page and shortcut via GPO, backups, troubleshooting, and security checklist. Windows login is described in a separate document docs/KERBEROS.md.

Why there is no Lite version#

Many tools in the series have Lite — a PowerShell script that collects static HTML from AD. This is not suitable for the portal: its content is not taken from AD but is customized by people — news, tiles, links, version history. For this, a server with an editor is needed.

Project status#

  • GPL-3.0 license, source code available upon request.
  • Covered by 38 autotests (node --test) on Node 20 and 22 on Ubuntu and Windows: content verification and cleaning, removal of dangerous links, version history, directory search, LDAP escape, "Today" partition data (cache, unavailable service), automatic crashes, 30-day availability, scheduled maintenance, kernel login, Kerberos, interface language, and HTTP.
  • The input at each push is checked by an integration run against the real Samba AD on the ad-testlab stand.
  • Working with Windows Server AD has not yet been tested — as well as searching through the real directory, the "Today" section with real services in the series, installation by the service and in Docker. We are looking for administrators willing to try it on our own.

How to help#

  • ⭐ Give a star to the ad-tools showcase if the project is useful.
  • 🧪 Try it on your domain (start with npm run demo) and write in the comments what worked and what didn't.
  • 🇰🇿 Correct the Kazakh translation in public/i18n/kk.json.
  • 🛠️ Questions and access requests — through the Issues storefront; after gaining access, send issues and pull requests to the service repository.

👉 Repository: source code — upon request, leave a request. Series showcase — github.com/WorkTime-kz/ad-tools.

Looking for:тестировщики с реальным ADконтрибьюторыобратная связь от админов
Comments 00 участников · 0 гостей🔒 Rate and discuss after signing up

Comments · 0

No comments yet.Sign in to comment, rate and see all comments.