fix: serve quartz with clean URL support and regenerate site

- Add serve.py to resolve clean Quartz URLs to .html files
- Regenerate Quartz site with correct baseUrl http://100.118.5.51:9120
- 196 HTML files emitted; all internal links now resolve
This commit is contained in:
Tony0410
2026-08-15 23:35:16 +08:00
parent d749b85fa9
commit d129b70237
1524 changed files with 138308 additions and 0 deletions
+45
View File
@@ -0,0 +1,45 @@
# Quartz
A module to interface with Transmission's RPC
# How to install
`npm install quartz`
# Functions
## quartz.connect(options, callback)
var quartz = require('quartz');
quartz.connect({
url: "http://localhost:9091/transmission/rpc"
, auth_required: false
, username: "admin"
, password: "password"
}, function(err) {
if (err) { console.log(err); } else {
// Connected!
}
});
## quartz.query(method, args, callback)
// after connect
quartz.query(
'torrent-get',
{fields: ['id', 'name']},
function(err, res, body) {
if (err) {
console.log(err);
} else {
// do stuff
}
}
);
# Features
* Auth based login support
# Todo
* Functions for each RPC call
# Author
* Robin Duckett <[robin.duckett@gmail.com](mailto:robin.duckett@gmail.com)>