
Security News
MCP Community Begins Work on Official MCP Metaregistry
The MCP community is launching an official registry to standardize AI tool discovery and let agents dynamically find and install MCP servers.
livejournal
Advanced tools
npm install livejournal
This package provides access to both XMLRPC and JSONRPC APIs for LiveJournal.
Examples
// get posts inside the journal using XMLRPC
LiveJournal.xmlrpc.getevents({
journal: 'brad',
auth_method: 'noauth',
selecttype: 'lastn',
howmany: 20
}, function(err, value) {
console.log(value.events);
});
// get post content using XMLRPC
LiveJournal.xmlrpc.getevents({
journal: 'brad',
auth_method: 'noauth',
selecttype: 'one',
ditemid: '29215'
}, function(err, post) {
console.log(post.events[0]);
});
There is no official public description of LiveJournal JSON RPC methods, but you can check Site.rpc.public
on http://livejournal.com
. Because the data is stored on CDN, you can access the data from anywhere.
Those are current ones (badly documented, contributions are welcome):
discovery.author_posts
comment.get_thread
Get comments thread
Params:
journal -- Journal username
itemid -- Post id
latest.get_entries
Get latest posts
Params:
first_timepost
browse.get_posts
gifts.get_gifts_categories
gifts.get_all_gifts
homepage.get_categories
discovery.suggest
sitemessage.get_message
discovery.get_categories
browse.get_categories
writers_block.get_list
discovery.today
discovery.get_feed
discovery.get_item
homepage.get_rating
browse.get_communities
Examples
// get latest posts using JSONRPC
LiveJournal.jsonrpc.request('latest.get_entries', {
first_timepost: 1435262400
}, function(err, res) {
console.log(res.body.result.params.recent);
});
// get comments using JSONRPC
LiveJournal.jsonrpc.request('comment.get_thread', {
journal: 'tema',
itemid: '1987717'
}, function(err, res) {
console.log(res.body.result.comments)
});
You can access method list using LiveJournal.jsonrpc.methods
.
LiveJournal.API is wrapper around some resources provided at http://www.livejournal.com/bots/
npm install jasmine -g
npm test
FAQs
LiveJournal API
The npm package livejournal receives a total of 0 weekly downloads. As such, livejournal popularity was classified as not popular.
We found that livejournal demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
The MCP community is launching an official registry to standardize AI tool discovery and let agents dynamically find and install MCP servers.
Research
Security News
Socket uncovers an npm Trojan stealing crypto wallets and BullX credentials via obfuscated code and Telegram exfiltration.
Research
Security News
Malicious npm packages posing as developer tools target macOS Cursor IDE users, stealing credentials and modifying files to gain persistent backdoor access.