Skip to content

mysteren/nodebb-plugin-slugify

 
 

Repository files navigation

NodeBB Slugify

npm version Downloads License: MIT

English | Русский

About

Automatic transliteration of URL slugs from Cyrillic (Russian, Bulgarian, Serbian, etc.) to Latin characters. Perfect for multilingual NodeBB forums that serve Russian-speaking users.

What it does:

  • 🔤 Converts Cyrillic topic titles to readable Latin slugs
  • 👥 Transliterates user profile URLs
  • 📂 Auto-slugifies category URLs
  • 🔄 Updates existing slugs when content is edited
  • ✅ Supports both NodeBB 3.x and 4.x

Installation

Via npm

npm install nodebb-plugin-slugify

Via NodeBB Admin Panel

  1. Go to AdministrationPlugins
  2. Search for nodebb-plugin-slugify
  3. Click Install and activate
  4. Restart NodeBB

Supported Entities

The plugin automatically transliterates:

  • 📝 Topics - Converts Russian topic titles to Latin-based slugs
  • 👤 Users - Transliterates user profile URLs
  • 📂 Categories - Auto-generates clean category URLs

Features

Transliteration only - Removes diacritics and converts Cyrillic to Latin ✨ On-the-fly - Automatically applies when creating or editing content ✨ No configuration - Works out of the box ✨ Lightweight - Uses efficient slugify library

Supported Scripts

  • ✅ Cyrillic (Russian, Bulgarian, Serbian, Ukrainian)
  • ✅ Cyrillic Extended
  • ⚠️ Vietnamese support via slugify library

How It Works

Before: Topic title "Как установить плагин" → Slug: "как-установить-плагин" After: Topic title "Как установить плагин" → Slug: "kak-ustanovit-plugin"

This makes URLs more search-engine friendly and readable for international audiences.

Compatibility

  • NodeBB: 3.2.0+, 4.x
  • Node.js: 18+
  • License: MIT

Development

npm install
npm run lint

Support

License

MIT License - see LICENSE


Created by TimofeyC

About

Fix for translate slug on edit topic title

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • JavaScript 100.0%