CleanFrame
A personal home screen for Samsung The Frame. A starting point to fork and adapt.
Transform your screen into a serene digital sanctuary. Cool down your brain with our beautiful, minimalist screen saver app for macOS.
LifestyleGitHub @laststanceOnlineOwner unconfirmed
Have you tried it? One tap is enough. No sign-in needed.
Repository information has not been collected yet.
No updates detected yet. GitHub releases will appear here.
Dark self screen saver app for cooldown brain
Translation pending
Loading the full README.
Read the full README ↗A modern Electron application template with React, Vite, TypeScript, and TailwindCSS. This project provides a solid foundation for developing macOS desktop applications.
Clone the repository and install dependencies:
# Clone the repository
git clone https://github.com/guasam/electron-react-app
cd electron-react-app
# Install dependencies
npm install
# or
yarn
# or
pnpm install
# or
bun install
Start the development server:
npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun run dev
This will start Electron with hot-reload enabled so you can see changes in real time.
Build the application for macOS:
# For macOS (Universal - x64 and arm64)
npm run build:mac
# For macOS (Intel only)
npm run build:mac:intel
# For macOS (Apple Silicon only)
npm run build:mac:apple
# Unpacked build
npm run build:unpack
Distribution files will be located in the dist directory.
The app uses a secure IPC (Inter-Process Communication) system to communicate between the renderer and main processes:
// Renderer process (send message to main)
window.api.send('channel-name', ...args)
// Renderer process (receive message from main)
window.api.receive('channel-name', (data) => {
console.log(data)
})
// Renderer process (invoke a method in main and get a response)
const result = await window.api.invoke('channel-name', ...args)
This template includes a custom window implementation with:
The titlebar menu can be toggled using:
Option (⌥) keyWhen you press the toggle key:
To add, remove or modify menu items, update the lib/window/titlebarMenus.ts file.
The project supports TailwindCSS for styling:
// Example component with Tailwind classes
const Button = () => (
<button className="px-4 py-2 bg-blue-500 text-white rounded hover:bg-blue-600">
Click me
</button>
);
Contributions are welcome! Feel free to submit a Pull Request.
├── app/ # Renderer process files
│ ├── assets/ # Static assets (images, fonts, etc)
│ ├── components/ # React components
│ │ ├── App.tsx # Application component
│ ├── styles/ # CSS and Tailwind files
│ │ ├── app.css # App stylesheet
│ │ └── tailwind.css # Tailwind stylesheet
│ ├── index.html # Entry HTML file
│ └── renderer.tsx # Renderer process entry
├── lib/ # Shared library code
│ ├── main/ # Main process code
│ │ ├── index.ts # Main entry point for Electron
│ │ └── ... # Other main process modules
│ ├── preload/ # Preload scripts for IPC
│ │ ├── index.ts # Preload script entry
│ │ └── api.ts # Exposed API for renderer
│ ├── welcome/ # Welcome kit components
│ └── window/ # Custom window implementation
├── resources/ # Build resources
├── .eslintrc # ESLint configuration
├── .prettierrc # Prettier format configuration
├── electron-builder.yml # Electron builder configuration
├── electron.vite.config.ts # Vite configuration for Electron
├── package.json # Project dependencies and scripts
└── tsconfig.node.json # Main process tsconfig
└── tsconfig.web.json # Renderer process tsconfig