tldr_news

所属分类:代码编辑器
开发工具:Python
文件大小:0KB
下载次数:0
上传日期:2023-09-01 13:05:34
上 传 者sh-1993
说明:  此回购包含在我的邮箱中收到的TLDR新闻稿,并将每个电子邮件以降价格式与相应的文章一起保存。在一个接近fu...,
(This repo contains TLDR newsletter received in my mailbox and save each email in Markdown format with corresponding article. In a near future, we can use AI ?? to name each file and make indexes.)

文件列表:
Pipfile.lock (1684, 2023-12-26)
TLDR AI/ (0, 2023-12-26)
TLDR AI/article_01-03-2023.md (8335, 2023-12-26)
TLDR AI/article_01-05-2023.md (9588, 2023-12-26)
TLDR AI/article_01-09-2023.md (7453, 2023-12-26)
TLDR AI/article_01-11-2023.md (8582, 2023-12-26)
TLDR AI/article_01-12-2023.md (8109, 2023-12-26)
TLDR AI/article_02-03-2023.md (9624, 2023-12-26)
TLDR AI/article_02-05-2023.md (9763, 2023-12-26)
TLDR AI/article_02-06-2023.md (9575, 2023-12-26)
TLDR AI/article_02-10-2023.md (7941, 2023-12-26)
TLDR AI/article_02-11-2023.md (8161, 2023-12-26)
TLDR AI/article_03-03-2023.md (9079, 2023-12-26)
TLDR AI/article_03-04-2023.md (7188, 2023-12-26)
TLDR AI/article_03-07-2023.md (7981, 2023-12-26)
TLDR AI/article_03-10-2023.md (7470, 2023-12-26)
TLDR AI/article_03-11-2023.md (6946, 2023-12-26)
TLDR AI/article_04-04-2023.md (7639, 2023-12-26)
TLDR AI/article_04-07-2023.md (8684, 2023-12-26)
TLDR AI/article_04-09-2023.md (5824, 2023-12-26)
TLDR AI/article_04-10-2023.md (8892, 2023-12-26)
TLDR AI/article_04-12-2023.md (7362, 2023-12-26)
TLDR AI/article_05-04-2023.md (8762, 2023-12-26)
TLDR AI/article_05-07-2023.md (8247, 2023-12-26)
TLDR AI/article_05-09-2023.md (7681, 2023-12-26)
TLDR AI/article_05-10-2023.md (8868, 2023-12-26)
TLDR AI/article_05-12-2023.md (10131, 2023-12-26)
TLDR AI/article_06-03-2023.md (8780, 2023-12-26)
TLDR AI/article_06-04-2023.md (9048, 2023-12-26)
TLDR AI/article_06-06-2023.md (10188, 2023-12-26)
TLDR AI/article_06-07-2023.md (7996, 2023-12-26)
TLDR AI/article_06-09-2023.md (9380, 2023-12-26)
TLDR AI/article_06-10-2023.md (7909, 2023-12-26)
TLDR AI/article_06-11-2023.md (8314, 2023-12-26)
TLDR AI/article_06-12-2023.md (9260, 2023-12-26)
TLDR AI/article_07-03-2023.md (9275, 2023-12-26)
TLDR AI/article_07-04-2023.md (7704, 2023-12-26)
TLDR AI/article_07-07-2023.md (8759, 2023-12-26)
... ...

# TLDR Newsletter ## Init This repo is built with `pipenv`. Before to run you have to declare a `.env` file with this format : ``` email = 'YOUR_EMAIL' KEY = 'YOUR_PASSWORD' ``` For gmail account you should activate double-authentication (2FA) and setup an app passwords : [Sign in with app passwords - Google Account Help](https://support.google.com/accounts/answer/185833?hl=en). After this you can run this repo with : ``` pipenv shell > pipenv install --ignore-pipfile > python3 script.py ``` ## Repository The repository is structured around each categories from **TLDR newsletter**. Each email is saved in format `articles_{date_reception}.md` in corresponding folder. The `ids.txt` file is used to save each email's id to be able to not do again the treatment if it's already done. Some tests and archives and still in the repo. ## Automation To run automation I use `crontab -e` with the cronjob file content. Warning ! You have to authorise acces with `chmod +x automation.sh && chmod +x script_push.sh` to be able to use it. ## TODO Improve render. We need to select the Title for each article add `(TITLE)` before `[LINK]`.

近期下载者

相关文件


收藏者