CKB Pulse
v1.1.0Who builds on Nervos CKB, from public GitHub: projects, people, updates.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
overview What is happening in CKB
The CKB ecosystem over the last day, week or month: how many updates, people and projects, the most active projects, people and organisations, and the projects new to Pulse. Ranked numbers cap bursts at 10 updates per person, project and hour, as the page does. AI accounts and the people who make Pulse are listed apart, never among the ranked people.
| Parameter | Type | Description |
|---|---|---|
period | string | day, week (the default) or month |
find_projects Find CKB projects
Search the projects Pulse follows by words in their name, description or topics, by area (ckb, fiber, dob/spore, rgb++, ccc, nervos), or both; the most active first. Counts every update, with no cap on bursts, so numbers can be higher than on the page and in overview.
| Parameter | Type | Description |
|---|---|---|
area | string | |
limit | integer | at most this many, 15 by default |
offset | integer | skip this many, to read the next page |
query | string | words to look for, e.g. "wallet" or "lock script"; all words must match, "a OR b" takes either; plurals and hyphens do not matter |
sort | string | updates (the default), commits, people, stars or recent (latest update first) |
project One CKB project
One followed project in detail: description, language, topics, activity per day over 30 days, commits and developers per month, its people and its latest updates.
| Parameter | Type | Description |
|---|---|---|
name * | string | the GitHub repository, owner/repo |
person One CKB developer
What one person works on across the CKB projects Pulse follows: their projects, the areas and languages of those projects, and the kinds of updates they make, and dated facts (first commit seen, months with commits, reviews, accepted pull requests, last release). Counts every update, with no cap on bursts, so numbers can be higher than on the page and in overview.
| Parameter | Type | Description |
|---|---|---|
login * | string | the GitHub login |
who_works_on Who works on what
The people most active in the projects of an area (ckb, fiber, dob/spore, rgb++, ccc, nervos) or in the projects that match some words, with the projects they work on. Useful to find who to ask about a part of CKB. Counts every update, with no cap on bursts.
| Parameter | Type | Description |
|---|---|---|
area | string | |
limit | integer | at most this many people, 10 by default |
query | string | words that pick the projects, e.g. "wallet" or "spore" |
recent_updates Latest updates
The latest updates by people (pushes, pull requests, issues, reviews, releases) across CKB, or in one project, or by one person; newest first.
| Parameter | Type | Description |
|---|---|---|
limit | integer | at most this many, 20 by default |
login | string | a GitHub login, to see one person |
project | string | owner/repo, to see one project |
forum_week The forum this week
The topics of the Nervos forum (Nervos Talk) that had a post in the last seven days, with replies, people, who opened each one and the followed projects it links. group is tech (the default), funding, other or all; project keeps the topics that link one project. Counts and titles only, the text of a post stays on the forum.
| Parameter | Type | Description |
|---|---|---|
group | string | tech by default |
limit | integer | 10 by default |
project | string | owner/repo, to see the topics that link it |
compare_projects Compare two projects
Two followed projects side by side over the last 30 days: updates by people and automatic ones, days with work, the share of the busiest day and of the top person, people, developers and commits in the last whole month, and forum topics this week. A bigger number is more work, not a better project; a high share says the work was concentrated.
| Parameter | Type | Description |
|---|---|---|
a * | string | the first project, owner/repo |
b * | string | the second project, owner/repo |
new_builders Who joined recently
People whose first commit in a project Pulse follows is from the last days (30 by default), in alphabetical order. This is a list of arrivals, not a ranking. From GitHub statistics, so someone new to GitHub and someone new to these projects look the same.
| Parameter | Type | Description |
|---|---|---|
days | integer | how far back, 30 by default |
trends Builders per month
Developers, new developers and commits per month over two years, in the projects Pulse follows today. The current month is so far.
search_lessons
Search what CKB projects learned from their own fixes: pitfalls, bugs and protocol rules, each with the commits it came from. Every word of the query must match (words like "how" and "the" are left out). Use it before writing CKB code that builds transactions, handles witnesses, locks, Fiber channels or indexer queries. count is how many lessons match, not how many came back: when nextOffset is present, call again with it as offset. evidence keeps one level of proof: L3 reproduced by a public test, L2 confirmed by someone who maintains the project and is not the publisher, OWN checked by the o…
| Parameter | Type | Description |
|---|---|---|
area | string | an area id from list_areas |
evidence | string | keep only lessons with this proof |
limit | integer | |
offset | integer | skip this many matches (the nextOffset of the last answer) |
query | string | words, e.g. "witness lock args" |
get_lesson
One released lesson in full: the rule, the code pattern, its sources (repository, commit, date), the test files its commits changed, related lessons, and how it was checked (checked: date, verdict, against_commit, and problem when the verdict is not right), and the section of the official documentation on the same subject when one was found (official: relation "agrees" with the section's own sentence as quote, or "topic only" when the section is the reference for the subject without the lesson's point; repo, path, line, url). Licence CC BY 4.0.
| Parameter | Type | Description |
|---|---|---|
id * | string | area/slug, from search_lessons |
lessons_from_project
The lessons that came from one project's commits, newest first.
| Parameter | Type | Description |
|---|---|---|
repo * | string | owner/repo on GitHub |
check_code
Check CKB code against the lessons. Paste the code (TypeScript, Rust, Go, Python, any language): it returns the lessons about the functions, RPC methods and constants the code uses, best match first, and marks code that repeats a pattern a lesson says to avoid. Hints to read, not proof: nothing is run, and the code is not stored. Use it after writing code that builds, signs or reads CKB transactions.
| Parameter | Type | Description |
|---|---|---|
code * | string | the code, up to 30,000 characters |
limit | integer |
list_areas
The areas of the lessons (CCC, scripts, Fiber, wallets...) with how many lessons each has, and the period they cover.