usenet ready for local testing

- custom patched nntp-server node module with support for POSTing
- should be able to post locally
- 4 groups are made by default
- can override in user_config.json (look at the config.json changes but dont do them there)
- can sync down from an upstream server with sync_nntp.js
- sync does not push new posts to upstream yet
This commit is contained in:
zefie
2022-10-12 19:08:57 -04:00
parent 048a609756
commit a4adf8414b
7 changed files with 88 additions and 35 deletions

View File

@@ -18,7 +18,7 @@
"iconv-lite": "^0.6.3",
"mime-types": "^2.1.35",
"newsie": "^1.2.1",
"nntp-server": "^3.1.0",
"nntp-server": "github:zefie/nntp-server",
"proxy-agent": "^5.0.0",
"sanitize-html": "^2.7.2",
"socks-proxy-agent": "^6.2.1",
@@ -872,8 +872,8 @@
},
"node_modules/nntp-server": {
"version": "3.1.0",
"resolved": "https://registry.npmjs.org/nntp-server/-/nntp-server-3.1.0.tgz",
"integrity": "sha512-L8U2CnFPHXfDKF+eaYpx07fCW7gbk7gNB0faDWg5fLIEofEP7O/RIUEonl0jGRDf9/eGMj7CRil1faG5YZq4bw==",
"resolved": "git+ssh://git@github.com/zefie/nntp-server.git#bf57c038b6ead946850084cd923445a44aff0128",
"license": "MIT",
"dependencies": {
"debug": "^4.3.3",
"denque": "^2.0.1",
@@ -2075,9 +2075,8 @@
"integrity": "sha512-41jhtKmlpSc27oIBkp681fm4aLURPT/AgeBvSRicxNPWDVeHLaq7tSvG/OsEXz7g41thgv9JMV1ZjYSABMiYVA=="
},
"nntp-server": {
"version": "3.1.0",
"resolved": "https://registry.npmjs.org/nntp-server/-/nntp-server-3.1.0.tgz",
"integrity": "sha512-L8U2CnFPHXfDKF+eaYpx07fCW7gbk7gNB0faDWg5fLIEofEP7O/RIUEonl0jGRDf9/eGMj7CRil1faG5YZq4bw==",
"version": "git+ssh://git@github.com/zefie/nntp-server.git#bf57c038b6ead946850084cd923445a44aff0128",
"from": "nntp-server@zefie/nntp-server",
"requires": {
"debug": "^4.3.3",
"denque": "^2.0.1",