npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

juejin-pins-comment

v0.3.8

Published

掘金批量评论沸点工具

Downloads

3

Readme

juejin-pins-comment

掘金批量评论沸点工具

安装

npm install -g juejin-pins-comment

获取 Token

我们需要获取掘金登录状态才可以评论,评论时生效的 cookie 是 sessionid_ss。暂时我们需要您手动获取,后续会借鉴 ArtiPub 写一个 Chrome 插件自动获取。

  • 登录 juejin.cn
  • 打开 开发者工具 -> Application -> Storage -> Cookies -> https://juejin.cn
  • 复制 sessionid_ssvalue

使用

6931915009140195336 是指定的沸点分类 id;-t 指定 Token;-c 指定评论内容;-p 指定图片(暂时只支持单张)

注意:-l 指定限制数量,为了防止误发,默认值设为了 1,批量发送请指定一个足够大的数字

$ juejin-pins-comment 6931179346187321351 \
  -t 0c13f8e1412f1c11990d6aa15c1ba4c1 \
  -c 获得一张通关卡,其他话题请留到明天继续解锁 \
  -p https://p3-juejin.byteimg.com/tos-cn-i-k3u1fbpfcp/dfa295f82472451fa64db3f512e16123\~tplv-k3u1fbpfcp-watermark.image \
  -l 1000 \
  -s 1614268800 \
  -e 1614333300

或者不换行:

$ juejin-pins-comment 6931915009140195336 -t 0a316dbb4a103a0e3156213ba0b49c32 -c 获得一张通关卡,其他话题请留到明天继续解锁 -p https://p9-juejin.byteimg.com/tos-cn-i-k3u1fbpfcp/4eff98c7ceec4a52821f679a542445f6~tplv-k3u1fbpfcp-watermark.image -s 1614268800 -e 1614338400 -l 1000

juejin-pins-comment 可以简写为 jpc

另外还支持指定时间范围、限制沸点数量等功能,请使用 juejin-pins-comment -h 查看如何使用。