Automated generation of Apple's iCloud emails via HideMyEmail.
Note: You need an active iCloud+ subscription to use Hide My Email feature.
- .NET 9.0 SDK
- iCloud account with Hide My Email feature enabled
- iCloud authentication cookie file
- Clone the repository
- Navigate to the project directory
- Build the project:
dotnet build- Create a
cookie.txtfile in the project root directory - Copy your iCloud cookie to the file (you can use browser developer tools)
- See the example in
cookie.example.txt
- See the example in
-
Download EditThisCookie Chrome extension
-
Go to EditThisCookie settings page and set the preferred export format to
Semicolon separated name=value pairs -
Navigate to iCloud settings in your browser and log in
-
Click on the EditThisCookie extension and export cookies
-
Paste the exported cookies into a file named
cookie.txt
To generate the default 5 email addresses:
dotnet run --project src/HideMyEmailGeneratoror
dotnet run --project src/HideMyEmailGenerator -- generateTo generate a specific number of email addresses:
dotnet run --project src/HideMyEmailGenerator -- generate --count 10To display all active email addresses:
dotnet run --project src/HideMyEmailGenerator -- listTo display inactive email addresses:
dotnet run --project src/HideMyEmailGenerator -- list --inactiveTo search for email addresses using a regular expression:
dotnet run --project src/HideMyEmailGenerator -- list --search "pattern"The program uses the official iCloud API to generate and manage Hide My Email addresses:
- Authentication using a cookie file
- Generating email addresses through the iCloud API
- Reserving the generated addresses
- Saving the generated addresses to an
emails.txtfile
This project is licensed under the MIT License. See the LICENSE file for more information.