lexivault

LexiVault Logo

LexiVault

Your Professional, Self-Hosted Vocabulary Management System

PHP 8.0+ MySQL Supported MIT License

Features • Installation • Public API • Backups • Contact


LexiVault is a powerful, modern, and highly responsive vocabulary repository built as a single-file PHP application. It is designed for language learners, writers, students, and professionals who want a secure, self-hosted environment to store, organize, and review new words.

Despite being contained in a single index.php file, LexiVault features a glassmorphism-inspired UI, flashcard reviews, automated daily email digests, a public dictionary API, and an auto-fetch integration with the Free Dictionary API.

✨ Key Features


🛠️ Technical Stack


Screenshot


🚀 Installation

LexiVault is designed to be ridiculously easy to install.

Prerequisites

Step-by-Step Setup

  1. Download the App: Download the index.php file and place it in your web server’s public directory (e.g., /var/www/html/lexivault or htdocs).
  2. Access the App: Open your web browser and navigate to the location where you placed the file (e.g., http://yourdomain.com/lexivault/).
  3. Setup Wizard:
    • You will be greeted by the built-in Setup Wizard.
    • Step 1: Enter your MySQL Database credentials (Host, Port, Database Name, User, Password). The wizard will automatically test the connection and create the database if it doesn’t exist.
    • Step 2: Create your Administrator account (Name, Username, Password).
  4. Done! Log in with your new credentials and start building your vault.

(Note: LexiVault automatically creates a protected lexivault_data/ folder in the same directory to store the system.json configuration file.)


📱 Application Modules

Dashboard

Provides a high-level overview of your vocabulary journey. View total words, mastered words, starred words, and visual graphs detailing your learning activity over the last 7 days.

Word Library

Your main repository. Supports both Grid View (card-based) and Table View (list-based).

Categories

Create unique categories (e.g., Science, Literature, Foreign Language) and assign them custom colors for easy visual identification across the app.

Review Cards

A distraction-free environment to study. Filter the cards by category or status (e.g., “Not Mastered”). Flip the cards to reveal definitions and use the built-in Text-to-Speech to hear the pronunciation.

Settings & Daily Digest

Configure your global words-per-page, enforce strict timezones, and set up your SMTP credentials. Once configured, LexiVault can automatically send you a beautiful HTML email daily containing your most recent words.


🌐 The Public Dictionary & API

LexiVault includes a public-facing portal allowing non-logged-in users to search your vocabulary database.

🛠️ API Parameters

| Parameter | Type | Description | | :— | :— | :— | | pbw | string | The search term (e.g., ?pbw=Ephemeral). | | format | string | Output format: html (default) or json. | | category | int/string| Filter by exact Category ID or Category Name. | | word_type | string | Filter by Word Class / Part of Speech (e.g., Noun). |

💡 API Examples

Note: If an authenticated admin clicks a public search link, LexiVault intelligently redirects them to their internal, editable word library.


Backup & Restore

Never lose your data. Head over to the Import / Export tab to manage your backups.


🤝 Contributing

Contributions, issues, and feature requests are welcome! Feel free to check issues page if you want to contribute.

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

📝 License

This project is licensed under the MIT License - see the LICENSE file for details.


📬 Contact

Developed with ❤️ by Vineet.


Your Personal Vocabulary Repository.