CKB Pulse

v1.1.0
io.github.LusoCryptoLabs/ckb-pulse Checked 1 hour ago Published 13 days ago

Who 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.

ParameterTypeDescription
periodstringday, 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.

ParameterTypeDescription
areastring
limitintegerat most this many, 15 by default
offsetintegerskip this many, to read the next page
querystringwords to look for, e.g. "wallet" or "lock script"; all words must match, "a OR b" takes either; plurals and hyphens do not matter
sortstringupdates (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.

ParameterTypeDescription
name *stringthe 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.

ParameterTypeDescription
login *stringthe 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.

ParameterTypeDescription
areastring
limitintegerat most this many people, 10 by default
querystringwords 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.

ParameterTypeDescription
limitintegerat most this many, 20 by default
loginstringa GitHub login, to see one person
projectstringowner/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.

ParameterTypeDescription
groupstringtech by default
limitinteger10 by default
projectstringowner/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.

ParameterTypeDescription
a *stringthe first project, owner/repo
b *stringthe 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.

ParameterTypeDescription
daysintegerhow far back, 30 by default

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…

ParameterTypeDescription
areastringan area id from list_areas
evidencestringkeep only lessons with this proof
limitinteger
offsetintegerskip this many matches (the nextOffset of the last answer)
querystringwords, 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.

ParameterTypeDescription
id *stringarea/slug, from search_lessons

lessons_from_project

The lessons that came from one project's commits, newest first.

ParameterTypeDescription
repo *stringowner/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.

ParameterTypeDescription
code *stringthe code, up to 30,000 characters
limitinteger

list_areas

The areas of the lessons (CCC, scripts, Fiber, wallets...) with how many lessons each has, and the period they cover.