This commit is contained in:
Leandro Facchinetti 2022-10-13 21:06:00 +01:00
parent 8b8d524b8e
commit 06d0ffa488
6 changed files with 68 additions and 25 deletions

6
.github/FUNDING.yml vendored
View File

@ -1,3 +1,7 @@
patreon: leafac
custom: "https://paypal.me/LeandroFacchinettiEU"
custom:
[
"https://paypal.me/LeandroFacchinettiEU",
"https://btc.com/34KJBgtaFYMtDqpSgMayw9qiKWg2GQXA9M",
]
github: leafac

View File

@ -20,14 +20,14 @@ jobs:
artifact: kill-the-newsletter--linux--${{ github.sha }}.tgz
runs-on: ${{ matrix.os }}-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 16
node-version: 18
- run: |
npm ci
${{ matrix.build }}
- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v3
with:
name: ${{ matrix.artifact }}
path: ${{ matrix.artifact }}
@ -36,13 +36,12 @@ jobs:
strategy:
matrix:
os: [windows, macos, ubuntu]
node-version: [14, 15, 16]
runs-on: ${{ matrix.os }}-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
node-version: 18
- run: npm install-ci-test
deploy:
@ -50,11 +49,11 @@ jobs:
needs: [insiders-build, test]
runs-on: ubuntu-latest
steps:
- uses: webfactory/ssh-agent@v0.5.0
- uses: webfactory/ssh-agent@v0.5.4
with:
ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }}
- uses: actions/checkout@v2
- uses: actions/download-artifact@v2
- uses: actions/checkout@v3
- uses: actions/download-artifact@v3
with:
name: kill-the-newsletter--linux--${{ github.sha }}.tgz
- run: |
@ -82,10 +81,10 @@ jobs:
needs: test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 16
node-version: 18
registry-url: https://registry.npmjs.org/
- run: npm ci && npm publish
env:
@ -96,13 +95,13 @@ jobs:
needs: [insiders-build, test]
runs-on: ubuntu-latest
steps:
- uses: actions/download-artifact@v2
- uses: actions/download-artifact@v3
with:
name: kill-the-newsletter--windows--${{ github.sha }}.exe
- uses: actions/download-artifact@v2
- uses: actions/download-artifact@v3
with:
name: kill-the-newsletter--macos--${{ github.sha }}.tgz
- uses: actions/download-artifact@v2
- uses: actions/download-artifact@v3
with:
name: kill-the-newsletter--linux--${{ github.sha }}.tgz
- run: echo "::set-output name=tag::${GITHUB_REF#refs/tags/}"

View File

@ -1,6 +1,6 @@
MIT License
Copyright (c) 2021 Leandro Facchinetti <license@leafac.com> (https://leafac.com)
Copyright (c) 2022 Leandro Facchinetti <license@leafac.com> (https://leafac.com)
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal

View File

@ -1,3 +1,34 @@
<!--
- [ ] Copy and paste issue Gwern Branwen
- [ ] Use app.locals instead of app.set()
- [ ] Stop using @leafac/sqlite-migration
- [ ] Store email content as files, because theyre too big for the database and cause things to go more slowly
- [ ] Fix any issues with timestamps (store timestamps with explicit timezones)
One more encoding issue: Max Kolysh <max@dover.io> , А А <asavian@ya.ru>, Mikalai Daronin <me@mikalaidaronin.info>
Let you reply to emails: Wesley Luan <luannleonn@gmail.com>
Increase feed size to 1MB: Nicola DG <straynic@gmail.com>
Blocklist Blogtrottr
FAQ:
- Email confirmation
- Clicking on links works.
- Sending an email doesnt work
- When old posts are eliminated
- How do delete an inbox
- feed isnt updating? Check reader. Try sending a test emat. Contact me via email
- Publishers: Dont worry, its just another email client
if (import.meta.url.endsWith(process.argv[1]))
-->
<h1 align="center"><a href="https://kill-the-newsletter.com">Kill the Newsletter!</a></h1>
<h3 align="center">Convert email newsletters into Atom feeds</h3>
<p align="center">

View File

@ -18,7 +18,13 @@
"author": "Leandro Facchinetti <kill-the-newsletter@leafac.com> (https://leafac.com)",
"license": "MIT",
"bugs": "https://github.com/leafac/kill-the-newsletter/issues",
"homepage": "https://github.com/leafac/kill-the-newsletter#readme",
"homepage": "https://github.com/leafac/kill-the-newsletter",
"funding": [
"https://patreon.com/leafac",
"https://paypal.me/LeandroFacchinettiEU",
"https://github.com/sponsors/leafac",
"https://btc.com/34KJBgtaFYMtDqpSgMayw9qiKWg2GQXA9M"
],
"scripts": {
"start": "node-dev source/index.ts",
"test": "prettier --check \"source/**/*\" --end-of-line auto && jest",

View File

@ -1,11 +1,14 @@
{
"compilerOptions": {
"rootDir": "source",
"outDir": "distribution",
"rootDir": "./source/",
"outDir": "./distribution/",
"target": "ES2019",
"module": "commonjs",
"esModuleInterop": true,
"module": "ESNext",
"moduleResolution": "NodeNext",
"lib": ["ESNext", "DOM", "DOM.Iterable"],
"skipLibCheck": true,
"allowSyntheticDefaultImports": true,
"target": "ESNext",
"declaration": true,
"declarationMap": true,