Skip to content

chatchailim/SecureGen

Repository files navigation

SecureGen - Thai Smart Password Manager 🇹🇭

GitLab CI License React TypeScript

SecureGen is a client-side password generator and manager designed specifically for Thai users. It leverages the "Thai-Shift" keyboard logic to convert memorable Thai phrases into complex English passwords, alongside AI-powered mnemonic generation.

Live Demo: [Link to your GitLab Pages]


📚 Documentation (เอกสารประกอบ)


✨ Key Features (คุณสมบัติหลัก)

  • 🇹🇭 Thai-Shift Generator: Convert Thai phrases (e.g., "สวัสดี") into complex strings based on QWERTY key mapping.
  • 🤖 AI Creative Mode: Use Google Gemini API to generate secure passwords from context/mnemonics.
  • 🧠 Memory Test: Built-in tool to test if you can remember the generated password before using it.
  • 🔒 Client-Side Only: Runs entirely in the browser. No data is ever sent to a server (except for AI generation prompts, which are stateless).
  • 💾 Encrypted Export: Export your credentials using AES encryption for backup.
  • 📱 PWA Ready: Installable on mobile and desktop.

🚀 Getting Started (การติดตั้งและใช้งาน)

Prerequisites

  • Node.js (v18 or higher)
  • npm or yarn

Installation

  1. Clone the repository

    git clone https://gitlab.com/your-username/securegen.git
    cd securegen
  2. Install dependencies

    npm install
  3. Set up Environment Variables (Optional) If you want to use the AI features locally without entering the key in the UI every time, create a .env file:

    VITE_API_KEY=your_gemini_api_key_here
  4. Run Development Server

    npm run dev

    Open http://localhost:3000 in your browser.


🏗️ Project Structure

securegen/
├── public/             # Static assets (icons, manifest)
├── src/
│   ├── services/       # Core logic (Crypto, Thai Mapping)
│   ├── types.ts        # TypeScript interfaces
│   ├── App.tsx         # Main Component
│   └── index.tsx       # Entry point
├── .gitlab-ci.yml      # GitLab CI/CD Configuration
├── package.json        # Dependencies & Scripts
└── README.md           # Documentation

🤝 Contributing

We welcome contributions! Please see CONTRIBUTING.md for details on how to submit Merge Requests and report issues.


🛡️ Privacy & Security

  • Zero-Knowledge Architecture: We do not store your passwords. Everything is stored in your browser's RAM and cleared when the tab is closed.
  • BYOK (Bring Your Own Key): For AI features, users provide their own Gemini API keys for maximum privacy.

📞 Contact & Credits

Presented by: SPADA Service (Nextwaver.Net Co., Ltd.)
Developer: Mr. Chatchai Limprasertsiri
Email: chatchai@nextwaver.com

Licensed under the MIT License.

About

SecureGen (BTC Edition) เพิ่มขีดความสามารถในการจัดการ Key สำหรับ Cryptocurrency โดยเฉพาะ BTC E-Wallet เพื่อให้ผู้ใช้สามารถสร้างและจัดเก็บ Seed Phrase/Private Key ได้อย่างปลอดภัยภายใต้สถาปัตยกรรม Zero-Knowledge

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors