Skip to content

wangshuihua/Calibre-News

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Calibre News Delivery

Leverages GitHub Actions to automate the delivery of Calibre News.

Shortcut

Workflow | Actions | Environments | Enable/Disable | Destroy

Setup

  1. Create a project in your repositories using this template.
  2. Navigate to [ Settings > Environments ] in the project.
  3. Click "New environment" to create a new one called calibre-news.
  4. Add the required "environment secrets" to it as follows.
Name Required Description Example
FROM Yes Your email address xxx@gmail.com
TO Yes Destination email address xxx@kindle.com
ENCRYPT Yes SMTP encryption method SSL
SECRET Yes SMTP password xxxxxxxxxx
SMTP Yes SMTP server smtp.gmail.com
PORT Yes SMTP port 465
FORMAT No The ebook format epub
  1. Navigate to "Actions" and click [ Calibre News Delivery > Run workflow ] to test.

Schedule

The default delivery is scheduled to occur daily at midnight (00:00) UTC. You can change it according to your preference. The cron expression - cron: '0 0 * * *' can be found in the workflow file located at:

/.github/workflows/calibre-news.yml

Please refer to the "schedule" documentation to specify an appropriate time. For example, if you are in a timezone that is UTC+8 and want the delivery to start at 6:00 AM every day, you can set the cron expression as 0 22 * * *, calculated using the formula UTC Time = Local Time − Offset.

Additionally, you can manually trigger the delivery on the "Actions" page of your project.

Recipe

For the built-in recipes, you need to add their names to the plain text file recipe_list.txt, one name per line. For manually written recipes, simply place them in the root of the project.

Notice

This project does not accept any PRs for adding recipes. Please do something interesting on your own.

Links

License

GNU General Public License v3.0

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published