DuckAlias Sender is a simple web application that allows users to generate DuckDuckGo email aliases and send emails through them. This app is built using React, Chakra UI, and localStorage to provide a smooth user experience. The app also supports dark mode.
- Alias Generation: Enter your DuckDuckGo email and the recipient's email to generate a masked alias.
- Clipboard Copy: Copy the generated alias to the clipboard with a single click.
- Responsive Design: Fully responsive and works well on both mobile and desktop.
- Dark Mode Support: Automatic adaptation based on the user's system color mode.
- Local Storage: Input values are saved locally, so you don't lose them when refreshing the page.
You can view the live demo here.
-
Clone the repository:
git clone https://github.com/hadyrashwan/duckduckgo-sender-alias cd duckduckgo-sender-alias
-
Install the dependencies:
npm install
-
Start the development server:
npm run dev
- Enter your DuckDuckGo email (e.g.,
[email protected]
). - Enter the recipient's email (e.g.,
[email protected]
). - Click the Generate Alias button to create a masked alias (e.g.,
[email protected]
). - Click the Copy button to copy the alias to your clipboard.
- Use the alias to send emails to your recipients while protecting your personal email address.
- React: Frontend JavaScript framework
- Chakra UI: UI framework for React
- TypeScript: Typed JavaScript for better code quality and developer experience
- localStorage: Used to persist user inputs across sessions
- CSS Variables: For dynamic styling and theme management
├── public
│ └── index.html # Main HTML file
├── src
│ ├── assets # Images and assets
│ ├── components # Reusable components (if any)
│ ├── App.tsx # Main app component
│ ├── App.css # CSS styles
│ └── index.tsx # React entry point
└── package.json # Project dependencies and scripts
You can customize the app’s theme and appearance by modifying the CSS variables in the App.css
file.
:root {
--text-color: #1c4532;
--box-bg-color: #f0fff4;
--button-bg-color: #38a169;
--button-text-color: white;
--divider-color: #c6f6d5;
--border-color: #38a169;
--logo-hover-color: #646cffaa;
--react-logo-hover-color: #61dafbaa;
}
Contributions are welcome! If you have suggestions or find any issues, feel free to create a pull request or open an issue.
This project is open-source and available under the MIT License.
- DuckDuckGo: For their amazing email aliasing service.
- Chakra UI: For the beautiful and flexible UI components.
- React: For providing the foundation to build this app.
- TypeScript: For bringing type safety to JavaScript.