Skip to content

atasoya/vaultenv

Repository files navigation

Node NPM SQLite Electron.js Vite React TypeScript

Vaultenv

Secure local env management app

App Preview

App Screenshots

App Screenshot 1 App Screenshot 2 App Screenshot 3

Features

  • Local encription with electron safeStorage.
  • Import and export env files.
  • Env management.

Project Setup

Install

$ npm install

Development

$ npm run dev

Build

# For windows
$ npm run build:win

# For macOS
$ npm run build:mac

# For Linux
$ npm run build:linux

Project Structure

vaultenv/
├─ build/
│  ├─ entitlements.mac.plist
│  ├─ icon.icns
│  ├─ icon.ico
│  └─ icon.png
├─ resources/
│  └─ icon.png
├─ src/
│  ├─ main/
│  │  ├─ db.ts                # SQLite setup and CRUD for projects/envs
│  │  └─ index.ts             # Electron main process (BrowserWindow, IPC)
│  ├─ preload/
│  │  ├─ index.ts             # Exposes safe IPC APIs to renderer
│  │  └─ index.d.ts           # Type declarations for window.vault
│  └─ renderer/
│     ├─ index.html
│     └─ src/
│        ├─ assets/
│        │  ├─ electron.svg
│        │  └─ icon.png
│        ├─ components/
│        │  ├─ AddEnv.tsx
│        │  ├─ Navbar.tsx
│        │  ├─ ProjectCard.tsx
│        │  └─ Env.tsx
│        ├─ pages/
│        │  ├─ Project.tsx
│        │  └─ Vault.tsx
│        ├─ App.tsx
│        ├─ env.d.ts
│        └─ main.tsx
├─ electron-builder.yml        # Build configuration
├─ electron.vite.config.ts     # electron-vite config
├─ tsconfig.json               # root TS config (references node/web)
├─ tsconfig.node.json          # TS config for main/preload
├─ tsconfig.web.json           # TS config for renderer
├─ package.json
└─ README.md

About

Secure local env management app

Resources

Stars

Watchers

Forks

Packages

No packages published