* . *
  • About
  • Advertise
  • Privacy & Policy
  • Contact
Monday, August 4, 2025
Earth-News
  • Home
  • Business
  • Entertainment
    Hank Hill returns to a changed world in new ‘King of the Hill’ episodes – New Haven Register

    Hank Hill Navigates a Bold New World in Thrilling New ‘King of the Hill’ Episodes

    Exclusive | Fox Takes Stake in IndyCar Owner Penske Entertainment – The Wall Street Journal

    Exclusive | Fox Takes Stake in IndyCar Owner Penske Entertainment – The Wall Street Journal

    Go-to entertainment: why gaming was made for the toilet – The Guardian

    Why Gaming Is the Ultimate Way to Pass Time in the Bathroom

    Chicago Youth Symphony Orchestra takes the Lollapalooza stage – Yahoo Home

    Chicago Youth Symphony Orchestra takes the Lollapalooza stage – Yahoo Home

    Sens. Blackburn, Warnock introduce CREATE Act to provide tax relief to music creators – Yahoo Home

    Sens. Blackburn and Warnock Launch CREATE Act to Deliver Tax Relief for Music Creators

    That’s (Political) Entertainment: When Theatre Meets Politics

  • General
  • Health
  • News

    Cracking the Code: Why China’s Economic Challenges Aren’t Shaking Markets, Unlike America’s” – Bloomberg

    Trump’s Narrow Window to Spread the Truth About Harris

    Trump’s Narrow Window to Spread the Truth About Harris

    Israel-Gaza war live updates: Hamas leader Ismail Haniyeh assassinated in Iran, group says

    Israel-Gaza war live updates: Hamas leader Ismail Haniyeh assassinated in Iran, group says

    PAP Boss to Niger Delta Youths, Stay Away from the Protest

    PAP Boss to Niger Delta Youths, Stay Away from the Protest

    Court Restricts Protests In Lagos To Freedom, Peace Park

    Court Restricts Protests In Lagos To Freedom, Peace Park

    Fans React to Jazz Jennings’ Inspiring Weight Loss Journey

    Fans React to Jazz Jennings’ Inspiring Weight Loss Journey

    Trending Tags

    • Trump Inauguration
    • United Stated
    • White House
    • Market Stories
    • Election Results
  • Science
  • Sports
  • Technology
    How Tech Firms Like Google and Meta Are Embracing the Military – The New York Times

    How Tech Firms Like Google and Meta Are Embracing the Military – The New York Times

    Credo Technology: Wiring The AI Revolution (NASDAQ:CRDO) – Seeking Alpha

    Credo Technology: Driving the Next Wave of AI Innovation

    Microsoft Seeks to Extend Access to OpenAI Technology – PYMNTS.com

    Microsoft Aims to Broaden Access to OpenAI Technology

    Livonia police use grappler technology to stop drunk driver – ClickOnDetroit | WDIV Local 4

    Livonia Police Deploy Grappler Technology to Safely Stop Drunk Driver

    Emory orthopaedic surgeons use robotic technology to transform knee replacement surgery – Emory News Center

    How Robotic Technology is Revolutionizing Knee Replacement Surgery

    Cognizant Technology Solutions Corp (CTSH) Q2 2025 Earnings Call Highlights: Strong Revenue … – Yahoo.co

    Cognizant Q2 2025 Earnings: Impressive Revenue Growth and Key Takeaways

    Trending Tags

    • Nintendo Switch
    • CES 2017
    • Playstation 4 Pro
    • Mark Zuckerberg
No Result
View All Result
  • Home
  • Business
  • Entertainment
    Hank Hill returns to a changed world in new ‘King of the Hill’ episodes – New Haven Register

    Hank Hill Navigates a Bold New World in Thrilling New ‘King of the Hill’ Episodes

    Exclusive | Fox Takes Stake in IndyCar Owner Penske Entertainment – The Wall Street Journal

    Exclusive | Fox Takes Stake in IndyCar Owner Penske Entertainment – The Wall Street Journal

    Go-to entertainment: why gaming was made for the toilet – The Guardian

    Why Gaming Is the Ultimate Way to Pass Time in the Bathroom

    Chicago Youth Symphony Orchestra takes the Lollapalooza stage – Yahoo Home

    Chicago Youth Symphony Orchestra takes the Lollapalooza stage – Yahoo Home

    Sens. Blackburn, Warnock introduce CREATE Act to provide tax relief to music creators – Yahoo Home

    Sens. Blackburn and Warnock Launch CREATE Act to Deliver Tax Relief for Music Creators

    That’s (Political) Entertainment: When Theatre Meets Politics

  • General
  • Health
  • News

    Cracking the Code: Why China’s Economic Challenges Aren’t Shaking Markets, Unlike America’s” – Bloomberg

    Trump’s Narrow Window to Spread the Truth About Harris

    Trump’s Narrow Window to Spread the Truth About Harris

    Israel-Gaza war live updates: Hamas leader Ismail Haniyeh assassinated in Iran, group says

    Israel-Gaza war live updates: Hamas leader Ismail Haniyeh assassinated in Iran, group says

    PAP Boss to Niger Delta Youths, Stay Away from the Protest

    PAP Boss to Niger Delta Youths, Stay Away from the Protest

    Court Restricts Protests In Lagos To Freedom, Peace Park

    Court Restricts Protests In Lagos To Freedom, Peace Park

    Fans React to Jazz Jennings’ Inspiring Weight Loss Journey

    Fans React to Jazz Jennings’ Inspiring Weight Loss Journey

    Trending Tags

    • Trump Inauguration
    • United Stated
    • White House
    • Market Stories
    • Election Results
  • Science
  • Sports
  • Technology
    How Tech Firms Like Google and Meta Are Embracing the Military – The New York Times

    How Tech Firms Like Google and Meta Are Embracing the Military – The New York Times

    Credo Technology: Wiring The AI Revolution (NASDAQ:CRDO) – Seeking Alpha

    Credo Technology: Driving the Next Wave of AI Innovation

    Microsoft Seeks to Extend Access to OpenAI Technology – PYMNTS.com

    Microsoft Aims to Broaden Access to OpenAI Technology

    Livonia police use grappler technology to stop drunk driver – ClickOnDetroit | WDIV Local 4

    Livonia Police Deploy Grappler Technology to Safely Stop Drunk Driver

    Emory orthopaedic surgeons use robotic technology to transform knee replacement surgery – Emory News Center

    How Robotic Technology is Revolutionizing Knee Replacement Surgery

    Cognizant Technology Solutions Corp (CTSH) Q2 2025 Earnings Call Highlights: Strong Revenue … – Yahoo.co

    Cognizant Q2 2025 Earnings: Impressive Revenue Growth and Key Takeaways

    Trending Tags

    • Nintendo Switch
    • CES 2017
    • Playstation 4 Pro
    • Mark Zuckerberg
No Result
View All Result
Earth-News
No Result
View All Result
Home Technology

TinyLetter Shut Down by Mailchimp, So I Built the LetterDrop

June 23, 2024
in Technology
TinyLetter Shut Down by Mailchimp, So I Built the LetterDrop
Share on FacebookShare on Twitter

LetterDrop is a secure and efficient newsletter management service powered by Cloudflare Workers, enabling easy creation, distribution, and subscription management of newsletters.

I have been using TinyLetter to send newsletters to my subscribers, but unfortunately, Mailchimp has now shut down this free service. This isn’t the first time I’ve faced such an issue, whenever this happens, I lose all my subscribers and have to look for a new way to send newsletters. To avoid this recurring problem, I’ve decided to build my own free newsletter service. It needs to be zero-cost, easy to use, and reliable so it won’t get shut down. To achieve this, I’m using Cloudflare Workers to create the service, which I’ve named LetterDrop.

Create a newsletter by sending a POST request to the /api/newsletter endpoint like this:

curl –request POST
–url https://ld.i365.tech/api/newsletter
–header ‘CF-Access-Client-Id: ‘
–header ‘CF-Access-Client-Secret: ‘
–header ‘content-type: application/json’
–data ‘{
“title”: “BMPI”,
“description”: “BMPI weekly newsletter”,
“logo”: “https://www.bmpi.dev/images/logo.png”
}’

Offline the newsletter by sending a PUT request to the /api/newsletter/:id/offline endpoint like this:

curl –request PUT
–url https://ld.i365.tech/api/newsletter/9080f810-e0f7-43aa-bac8-8d1cb3ceeff4/offline
–header ‘CF-Access-Client-Id: ‘
–header ‘CF-Access-Client-Secret: ‘

NOTE: These APIs should be protected by Cloudflare zero-trust security. That means you need to create a service-token and use it to access these APIs.

Subscribe or Unsubscribe to a newsletter

Just go to the newsletter page and click the subscribe or unsubscribe button. e.g. BMPI.

Then you will receive an email to confirm your subscription or unsubscription. After that, you will receive the newsletter when it is published.

NOTE: The newsletter page link pattern is https:///newsletter/:id.

The LetterDrop use the Cloudflare Email Worker to send emails. And there is a ALLOWED_EMAILS variable to control who can send newsletters. You can use the Cloudflare dashboard to update the variable.

After that, you can publish a newsletter by sending your newsletter content to this specific email address. And the Email Worker will send the newsletter to all subscribers.

NOTE:

You should config the Email Worker to let it can be triggered by the specific email address. Please refer to the Cloudflare Email Worker to know how to do it.
The newsletter email subject should be [Newsletter-ID:], e.g. [Newsletter-ID:9080f810-e0f7-43aa-bac8-8d1cb3ceeff4]BMPI Weekly Newsletter – 20240623.

To use LetterDrop, you need to create a Cloudflare account and deploy the Worker script. The Worker script is available in the app directory. You can deploy the Worker script using the Cloudflare Workers dashboard.

NOTE: You need to change the app/wrangler.toml file to use your config values.

Cloudflare Workers
Cloudflare Email Workers
Cloudflare KV
Cloudflare R2
Cloudflare Queues
Cloudflare D1

Please refer to the app/db/README.md file to create the database.

ALLOWED_EMAILS: The list of allowed emails to create newsletters.

How to setup the notification service?

Currently LetterDrop uses AWS SES to send emails. You need to create an AWS account and configure SES to send emails. After that, you need to create a Cloudflare Worker as a notification service. The code is very simple, you can use the ChatGPT to generate the code.

How to handle the failed emails?

LetterDrop uses the Cloudflare Queues to handle the failed emails. You can use the Cloudflare dashboard to monitor the failed emails and replay them in the dead-letter queue.

The next step is to add more features to LetterDrop.

Support the mulit-tenant feature.
Add the landing page.

I used the GPT-4o model to generate the code for LetterDrop. That means the code is generated by the AI model, and I only need to provide the prompts to the model. This approach is very efficient and can save a lot of time. I’ve also recorded a video to show how to create the LetterDrop project using the GPT-4o model.

That also means you can easily customize the code by changing the prompts. You can find the prompts in the CDDR file.

>>> Read full article>>>
Copyright for syndicated content belongs to the linked Source : Hacker News – https://github.com/i365dev/LetterDrop

Tags: MailchimptechnologyTinyLetter
Previous Post

The manager’s unbearable lack of endorphins

Next Post

Native American Indian Star Charts

Scientists say they have solved the mystery of what killed more than 5 billion sea stars – Yahoo Home

Scientists say they have solved the mystery of what killed more than 5 billion sea stars – Yahoo Home

August 4, 2025
Science and the courts need to better distinguish between correlations and causation – Genetic Literacy Project

Science and the courts need to better distinguish between correlations and causation – Genetic Literacy Project

August 4, 2025
Adidas Relies on ‘Brand Heat’ in Lifestyle Footwear for Future Growth – WWD

Adidas Relies on ‘Brand Heat’ in Lifestyle Footwear for Future Growth – WWD

August 4, 2025
Team USA sets new relay record at swim worlds and Katie Ledecky wins again – CBS News

Team USA Smashes Relay Record at Swim Worlds as Katie Ledecky Reigns Supreme Again

August 4, 2025
Dow futures reverse higher as recession alarm bells jolt Wall Street awake from dreams of a gravity-defying economy – Fortune

Dow Futures Soar Amid Growing Recession Concerns Shaking Wall Street Confidence

August 4, 2025
Hank Hill returns to a changed world in new ‘King of the Hill’ episodes – New Haven Register

Hank Hill Navigates a Bold New World in Thrilling New ‘King of the Hill’ Episodes

August 4, 2025
How Trump’s Immigration Policies Are Impacting Health Care – Pulmonology Advisor

How Trump’s Immigration Policies Are Shaping the Future of Health Care

August 4, 2025
Ghislaine Maxwell moved to federal prison camp in Texas – CNN

Ghislaine Maxwell Moved to Federal Prison Camp in Texas

August 4, 2025
How Tech Firms Like Google and Meta Are Embracing the Military – The New York Times

How Tech Firms Like Google and Meta Are Embracing the Military – The New York Times

August 4, 2025

Do You Really Need Electrolyte Drinks to Stay Hydrated? Here’s the Truth

August 4, 2025

Categories

Archives

August 2025
MTWTFSS
 123
45678910
11121314151617
18192021222324
25262728293031
« Jul    
Earth-News.info

The Earth News is an independent English-language daily published Website from all around the World News

Browse by Category

  • Business (20,132)
  • Ecology (753)
  • Economy (779)
  • Entertainment (21,656)
  • General (16,283)
  • Health (9,816)
  • Lifestyle (787)
  • News (22,149)
  • People (778)
  • Politics (788)
  • Science (15,992)
  • Sports (21,274)
  • Technology (15,756)
  • World (760)

Recent News

Scientists say they have solved the mystery of what killed more than 5 billion sea stars – Yahoo Home

Scientists say they have solved the mystery of what killed more than 5 billion sea stars – Yahoo Home

August 4, 2025
Science and the courts need to better distinguish between correlations and causation – Genetic Literacy Project

Science and the courts need to better distinguish between correlations and causation – Genetic Literacy Project

August 4, 2025
  • About
  • Advertise
  • Privacy & Policy
  • Contact

© 2023 earth-news.info

No Result
View All Result

© 2023 earth-news.info

No Result
View All Result

© 2023 earth-news.info

Go to mobile version