Skip to content

XAOSTECH/account.xaostech.io

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

40 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

account.xaostech.io

GitHub repo GitHub release License

CI Status Issues Pull Requests Stars Forks

Last Commit Repo Size Code Size Contributors

Stability Maintenance


account worker


πŸ“‹ Table of Contents


πŸ” Overview

User account management with zero-trust authentication:

  • OAuth flow + session management
  • Password reset with email verification
  • Two-Factor Authentication (2FA) via TOTP
  • GDPR data export and account deletion
  • Audit logging for compliance

Why account.xaostech.io?

Centralizes all identity & authentication logic. Integrates with:

  • data.xaostech.io - Consent and privacy data
  • blog.xaostech.io - User posts and comments
  • Other workers - User verification via session tokens

✨ Features

  • πŸ” OAuth + Sessions - Stateless JWT-like auth tokens
  • πŸ”‘ Password Reset - Email-verified flow with 15-min tokens
  • πŸ” 2FA (TOTP) - Time-based OTP with recovery codes
  • πŸ“€ Data Export - GDPR Art. 15 (JSON export)
  • πŸ—‘οΈ Account Deletion - GDPR Art. 17 (30-day grace)
  • πŸ“‹ Audit Trail - IP, timestamp, action logging
  • πŸ”’ SameSite=Strict - Secure session cookies

πŸ“₯ Installation

Prerequisites

  • Node.js 18+
  • Cloudflare account with Workers
  • D1 database
  • KV namespace (sessions, recovery codes, reset tokens)

Quick Start

# Clone the repository
git clone https://github.com/XAOSTECH/account.xaostech.io.git
cd account.xaostech.io

# Install dependencies
npm install

# Local development
npm run dev

# Deploy to production
npm run deploy
```bash
# Clone the repository
git clone https://github.com/XAOSTECH/account.xaostech.io.git
cd account.xaostech.io

# Run installation
./install.sh

# Or manual installation
{{MANUAL_INSTALL_STEPS}}

Package Managers

# npm
npm install {{PACKAGE_NAME}}

# yarn
yarn add {{PACKAGE_NAME}}

# apt (Debian/Ubuntu)
sudo apt install {{PACKAGE_NAME}}

# brew (macOS)
brew install {{PACKAGE_NAME}}

πŸš€ Usage

Basic Usage

{{BASIC_USAGE_EXAMPLE}}

Advanced Usage

{{ADVANCED_USAGE_EXAMPLE}}

Examples

πŸ“˜ Example 1: {{EXAMPLE_1_TITLE}}
{{EXAMPLE_1_CODE}}
πŸ“— Example 2: {{EXAMPLE_2_TITLE}}
{{EXAMPLE_2_CODE}}

βš™οΈ Configuration

Environment Variables

Variable Description Default
{{ENV_VAR_1}} {{ENV_VAR_1_DESC}} {{ENV_VAR_1_DEFAULT}}
{{ENV_VAR_2}} {{ENV_VAR_2_DESC}} {{ENV_VAR_2_DEFAULT}}

Configuration File

# config.yml
{{CONFIG_FILE_EXAMPLE}}

πŸ“š Documentation

Document Description
πŸ“– Getting Started Quick start guide
πŸ“‹ API Reference Complete API documentation
πŸ”§ Configuration Configuration options
❓ FAQ Frequently asked questions

🀝 Contributing

Contributions are welcome! Please read our Contributing Guidelines before submitting PRs.

  1. Fork the repository
  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

See also: Code of Conduct | Security Policy


πŸ—ΊοΈ Roadmap

  • {{COMPLETED_FEATURE_1}}
  • {{COMPLETED_FEATURE_2}}
  • {{PLANNED_FEATURE_1}}
  • {{PLANNED_FEATURE_2}}
  • {{PLANNED_FEATURE_3}}

See the open issues for a full list of proposed features and known issues.


πŸ’¬ Support


πŸ“„ License

Distributed under the GPL-3.0 License. See LICENSE for more information.


πŸ™ Acknowledgments

  • {{ACKNOWLEDGMENT_1}}
  • {{ACKNOWLEDGMENT_2}}
  • {{ACKNOWLEDGMENT_3}}

⬆️ Back to Top

About

account worker

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors