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 patreon: leafac
custom: "https://paypal.me/LeandroFacchinettiEU" custom:
[
"https://paypal.me/LeandroFacchinettiEU",
"https://btc.com/34KJBgtaFYMtDqpSgMayw9qiKWg2GQXA9M",
]
github: leafac github: leafac

View File

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

View File

@ -1,6 +1,6 @@
MIT License 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 Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal 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> <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> <h3 align="center">Convert email newsletters into Atom feeds</h3>
<p align="center"> <p align="center">

View File

@ -18,7 +18,13 @@
"author": "Leandro Facchinetti <kill-the-newsletter@leafac.com> (https://leafac.com)", "author": "Leandro Facchinetti <kill-the-newsletter@leafac.com> (https://leafac.com)",
"license": "MIT", "license": "MIT",
"bugs": "https://github.com/leafac/kill-the-newsletter/issues", "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": { "scripts": {
"start": "node-dev source/index.ts", "start": "node-dev source/index.ts",
"test": "prettier --check \"source/**/*\" --end-of-line auto && jest", "test": "prettier --check \"source/**/*\" --end-of-line auto && jest",

View File

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