id large_stringlengths 54 122 | language large_stringclasses 5
values | repo_owner large_stringlengths 2 28 | repo_name large_stringlengths 2 61 | repo_stars int64 501 245k | repo_forks int64 7 109k | repo_description large_stringlengths 9 468 | repo_topics listlengths 0 20 | license large_stringclasses 17
values | file_path large_stringlengths 4 74 | file_name large_stringlengths 4 59 | file_size int64 101 610k | code large_stringlengths 101 610k | word_count int64 4 82.9k | char_count int64 101 610k | line_count int64 1 24.6k | data_quality_score float64 0.95 0.98 | timestamp large_stringdate 2026-04-13 13:39:58 2026-04-23 15:56:29 | scrubbed bool 1
class |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
github_imsyy_DailyHotApi_1a6996a0d60815a8b65a6472915820c059838930 | TypeScript | imsyy | DailyHotApi | 3,749 | 1,256 | 🔥 今日热榜 API,一个聚合热门数据的 API 接口,支持 RSS 模式 及 Vercel 部署 | 前端页面:https://github.com/imsyy/DailyHot | [
"api",
"daily-hot",
"list",
"rss",
"vercel"
] | MIT | src/routes/lol.ts | lol.ts | 1,393 | import type { RouterData } from "../types.js";
import { get } from "../utils/getData.js";
import { getTime } from "../utils/getTime.js";
export const handleRoute = async (_: undefined, noCache: boolean) => {
const listData = await getList(noCache);
const routeData: RouterData = {
name: "lol",
title: "英雄联盟"... | 132 | 1,377 | 52 | 0.98 | 2026-04-17T18:03:11.342017 | true |
github_getsentry_sentry-cli_b8f5f311db8b08c258caaf01865e042b948af4d0 | JavaScript | getsentry | sentry-cli | 1,001 | 244 | A command line utility to work with Sentry. | [
"cli",
"crash-reporting",
"hacktoberfest",
"rust",
"sentry",
"sentry-cli",
"tag-production",
"team-web-backend"
] | NOASSERTION | jest.config.js | jest.config.js | 252 | module.exports = {
collectCoverage: true,
testEnvironment: 'node',
setupFiles: [require.resolve('./setupTests.js')],
testPathIgnorePatterns: ['<rootDir>/src/', '<rootDir>/tests/integration/'],
transform: {
'^.+\\.ts$': 'ts-jest',
},
};
| 18 | 252 | 10 | 0.98 | 2026-04-17T19:38:17.695841 | true |
github_pubkey_rxdb_8db19aff82a91c1d548ae715283d59f0759367d2 | TypeScript | pubkey | rxdb | 23,156 | 1,161 | A fast, local first, reactive Database for JavaScript Applications https://rxdb.info/ | [
"angular",
"browser-database",
"couchdb",
"crdt",
"database",
"firebase",
"graphql",
"indexeddb",
"ionic",
"local-first",
"localstorage",
"nodejs",
"nosql",
"postgres",
"pouchdb",
"react-native",
"realtime",
"realtime-database",
"rxdb",
"sqlite"
] | Apache-2.0 | src/rx-query-helper.ts | rx-query-helper.ts | 13,511 | import { LOGICAL_OPERATORS, getQueryPlan } from './query-planner.ts';
import { getPrimaryFieldOfPrimaryKey } from './rx-schema-helper.ts';
import type {
DeepReadonly,
DeterministicSortComparator,
FilledMangoQuery,
MangoQuery,
MangoQuerySortDirection,
PreparedQuery,
QueryMatcher,
RxDocume... | 1,389 | 13,511 | 369 | 0.98 | 2026-04-23T08:22:06.966827 | true |
github_apollographql_apollo-client_20ac58494a2f161f6718158e576deea151c3ff66 | TypeScript | apollographql | apollo-client | 19,717 | 2,702 | The industry-leading GraphQL client for TypeScript, JavaScript, React, Vue, Angular, and more. Apollo Client delivers powerful caching, intuitive APIs, and comprehensive developer tools to accelerate your app development. | [
"apollo-client",
"apollographql",
"graphql",
"graphql-client",
"typescript"
] | MIT | src/cache/index.ts | index.ts | 1,676 | export type { Transaction } from "./core/cache.js";
export type {
WatchFragmentOptions,
WatchFragmentResult,
} from "./deprecated.js";
export { ApolloCache } from "./core/cache.js";
export type { Cache } from "./core/types/Cache.js";
export type {
IgnoreModifier,
MissingTree,
Modifier,
ModifierDetails,
Mo... | 147 | 1,676 | 64 | 0.98 | 2026-04-18T01:25:40.107462 | true |
github_hlorenzi_customasm_33a8b735e907334af6955d344f1244258e1b8faa | Rust | hlorenzi | customasm | 1,032 | 71 | 💻 An assembler for custom, user-defined instruction sets! https://hlorenzi.github.io/customasm/web/ | [
"asm",
"assembler",
"assembly",
"assembly-language",
"bytecode",
"bytecode-compiler",
"compiler",
"custom",
"customizable",
"instruction-set",
"instruction-set-architecture",
"machine-code",
"microprocessor",
"processor-architecture",
"rust",
"rust-lang",
"user-defined",
"virtual-m... | Apache-2.0 | src/test/lib.rs | lib.rs | 833 | use crate::*;
use sha2::*;
fn load_file_and_assemble_str_to_binary(filename: &str, hash: &[u8])
{
let src = std::fs::read_to_string(filename).unwrap();
let output = assemble_str_to_binary(&src);
if let Some(binary) = output.0
{
let mut output_hasher = sha2::Sha256::new();
output_hashe... | 85 | 833 | 35 | 0.98 | 2026-04-17T17:08:04.288507 | true |
github_thuml_Time-Series-Library_9fe7530617791f654d3353002fd4013001089f1d | Python | thuml | Time-Series-Library | 12,124 | 1,913 | A Library for Advanced Deep Time Series Models for General Time Series Analysis. | [
"deep-learning",
"time-series",
"time-series-analysis"
] | MIT | run.py | run.py | 16,328 | import argparse
import os
import torch
import torch.backends
from utils.print_args import print_args
import random
import numpy as np
if __name__ == '__main__':
fix_seed = 2021
random.seed(fix_seed)
torch.manual_seed(fix_seed)
np.random.seed(fix_seed)
parser = argparse.ArgumentParser(description='... | 1,094 | 16,328 | 282 | 0.98 | 2026-04-22T13:58:13.002723 | true |
github_ChromeDevTools_chrome-devtools-mcp_9a6539bf295f932e94db400215bde153263f3253 | TypeScript | ChromeDevTools | chrome-devtools-mcp | 36,793 | 2,272 | Chrome DevTools for coding agents | [
"browser",
"chrome",
"chrome-devtools",
"debugging",
"devtools",
"mcp",
"mcp-server",
"puppeteer"
] | Apache-2.0 | src/third_party/devtools-formatter-worker.ts | devtools-formatter-worker.ts | 263 | /**
* @license
* Copyright 2026 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
// eslint-disable-next-line no-restricted-imports
import '../../node_modules/chrome-devtools-frontend/front_end/entrypoints/formatter_worker/formatter_worker-entrypoint.js';
| 17 | 263 | 9 | 0.98 | 2026-04-23T08:42:43.008620 | true |
github_axios_axios_7653c491fa94e0334f8453b08d7595fa8291645a | JavaScript | axios | axios | 109,012 | 11,651 | Promise based HTTP client for the browser and node.js | [
"hacktoberfest",
"http-client",
"javascript",
"nodejs",
"promise"
] | MIT | lib/adapters/fetch.js | fetch.js | 13,306 | import platform from '../platform/index.js';
import utils from '../utils.js';
import AxiosError from '../core/AxiosError.js';
import composeSignals from '../helpers/composeSignals.js';
import { trackStream } from '../helpers/trackStream.js';
import AxiosHeaders from '../core/AxiosHeaders.js';
import {
progressEventRe... | 1,262 | 13,306 | 456 | 0.98 | 2026-04-23T06:16:42.063674 | true |
github_tikv_tikv_a14684e0bcded2a03214e283ce2d4c67c18f3f4f | Rust | tikv | tikv | 16,636 | 2,264 | Distributed transactional key-value database, originally created to complement TiDB | [
"cncf",
"consensus",
"distributed-transactions",
"hacktoberfest",
"key-value",
"raft",
"rocksdb",
"rust",
"tidb",
"tikv"
] | Apache-2.0 | src/server/metrics.rs | metrics.rs | 24,330 | // Copyright 2016 TiKV Project Authors. Licensed under Apache-2.0.
use std::{
cell::{Cell, RefCell},
time::Duration,
};
use collections::HashMap;
use lazy_static::lazy_static;
use prometheus::{exponential_buckets, local::LocalIntCounter, *};
use prometheus_static_metric::*;
use tikv_util::time::Instant;
use ... | 1,801 | 24,330 | 697 | 0.98 | 2026-04-17T13:49:38.503933 | true |
github_plotly_dash_9b2859eb5727c86d73d2bf3ca55ea1505b4adcce | Python | plotly | dash | 24,208 | 2,275 | Data Apps & Dashboards for Python. No JavaScript Required. | [
"bioinformatics",
"charting",
"dash",
"data-science",
"data-visualization",
"finance",
"flask",
"gui-framework",
"jupyter",
"modeling",
"plotly",
"plotly-dash",
"productivity",
"python",
"react",
"rstats",
"technical-computing",
"web-app"
] | MIT | rerun_failed_tests.py | rerun_failed_tests.py | 857 | import xml.etree.ElementTree as ET
import subprocess
def parse_test_results(file_path):
tree = ET.parse(file_path)
root = tree.getroot()
failed_tests = []
for testcase in root.iter('testcase'):
if testcase.find('failure') is not None:
failed_tests.append(testcase.get('name'))
re... | 63 | 857 | 26 | 0.98 | 2026-04-17T16:36:42.303598 | true |
github_webtorrent_webtorrent_3b3433f88fc56d303fd28e953ce504ead80110ae | JavaScript | webtorrent | webtorrent | 30,888 | 2,784 | ⚡️ Streaming torrent client for the web | [
"bittorrent",
"browser",
"hacktoberfest",
"javascript",
"nodejs",
"p2p",
"streaming",
"torrent",
"webrtc",
"webtorrent"
] | MIT | lib/rarity-map.js | rarity-map.js | 2,760 | /**
* Mapping of torrent pieces to their respective availability in the torrent swarm. Used
* by the torrent manager for implementing the rarest piece first selection strategy.
*/
export default class RarityMap {
constructor (torrent) {
this._torrent = torrent
this._numPieces = torrent.pieces.length
th... | 312 | 2,760 | 106 | 0.98 | 2026-04-23T06:41:23.517586 | true |
github_ava_use-http_e3182dce99bcac96a72b0ad0e98ac4b5c7e0158e | TypeScript | ava | use-http | 2,303 | 116 | 🐶 React hook for making isomorphic http requests | [
"fetch",
"fetch-data",
"graphql",
"http",
"isomorphic",
"mutation",
"query",
"react",
"react-cache",
"react-fetch-hook",
"react-hook",
"react-hooks",
"react-suspense",
"react-usefetch",
"reacthook",
"request",
"rest-client",
"ssr",
"suspense",
"usefetch"
] | MIT | src/storage/memoryStorage.ts | memoryStorage.ts | 1,467 | import { Cache } from '../types'
let inMemoryStorage: any = {}
const getMemoryStorage = ({ cacheLife }: { cacheLife: number }): Cache => {
const remove = async (...responseIDs: string[]) => {
for (const responseID of responseIDs) {
delete inMemoryStorage[responseID]
delete inMemoryStorage[`${response... | 186 | 1,467 | 45 | 0.98 | 2026-04-18T01:39:25.827420 | true |
github_auth0_nextjs-auth0_bc750c51eed5583a9083483f630c778df5366ba7 | TypeScript | auth0 | nextjs-auth0 | 2,296 | 455 | Next.js SDK for signing in with Auth0 | [
"auth0",
"dx-sdk",
"nextjs",
"react",
"typescript"
] | MIT | src/server/mfa-error-bubbling.test.ts | mfa-error-bubbling.test.ts | 16,753 | import { NextRequest, NextResponse } from "next/server.js";
import * as jose from "jose";
import { http, HttpResponse } from "msw";
import { setupServer } from "msw/node";
import {
afterEach,
beforeAll,
beforeEach,
describe,
expect,
it,
vi
} from "vitest";
import { MfaRequiredError, OAuth2Error } from ".... | 1,567 | 16,753 | 561 | 0.98 | 2026-04-23T10:52:15.269978 | true |
github_D4Vinci_Scrapling_fcb089c767eb1e9edcf90c51de8fc137a305cae3 | Python | D4Vinci | Scrapling | 38,406 | 3,397 | 🕷️ An adaptive Web Scraping framework that handles everything from a single request to a full-scale crawl! | [
"ai",
"ai-scraping",
"automation",
"crawler",
"crawling",
"crawling-python",
"data",
"data-extraction",
"mcp",
"mcp-server",
"playwright",
"python",
"scraping",
"selectors",
"stealth",
"web-scraper",
"web-scraping",
"web-scraping-python",
"webscraping",
"xpath"
] | BSD-3-Clause | benchmarks.py | benchmarks.py | 4,454 | import functools
import time
import timeit
from statistics import mean
import requests
from autoscraper import AutoScraper
from bs4 import BeautifulSoup
from lxml import etree, html
from mechanicalsoup import StatefulBrowser
from parsel import Selector
from pyquery import PyQuery as pq
from selectolax.parser import HT... | 424 | 4,454 | 147 | 0.98 | 2026-04-22T17:05:36.415833 | true |
github_sqlc-dev_sqlc_b1fbb1990efccf47a78a376a950522522f8c6c6b | Go | sqlc-dev | sqlc | 17,354 | 1,027 | Generate type-safe code from SQL | [
"code-generator",
"go",
"kotlin",
"mysql",
"orm",
"postgresql",
"python",
"sql",
"sqlite"
] | MIT | internal/compiler/resolve.go | resolve.go | 15,312 | package compiler
import (
"fmt"
"log/slog"
"strconv"
"github.com/sqlc-dev/sqlc/internal/sql/ast"
"github.com/sqlc-dev/sqlc/internal/sql/astutils"
"github.com/sqlc-dev/sqlc/internal/sql/catalog"
"github.com/sqlc-dev/sqlc/internal/sql/named"
"github.com/sqlc-dev/sqlc/internal/sql/rewrite"
"github.com/sqlc-dev/... | 1,749 | 15,312 | 638 | 0.98 | 2026-04-17T10:13:23.728863 | true |
github_restic_restic_8c72a16a9b4c140546219b636c567f98c88d7087 | Go | restic | restic | 33,144 | 1,742 | Fast, secure, efficient backup program | [
"backup",
"dedupe",
"deduplication",
"go",
"restic",
"secure-by-default"
] | BSD-2-Clause | cmd/restic/cmd_cat_test.go | cmd_cat_test.go | 743 | package main
import (
"strings"
"testing"
rtest "github.com/restic/restic/internal/test"
)
func TestCatArgsValidation(t *testing.T) {
for _, test := range []struct {
args []string
err string
}{
{[]string{}, "Fatal: type not specified"},
{[]string{"masterkey"}, ""},
{[]string{"invalid"}, `Fatal: inval... | 86 | 743 | 31 | 0.98 | 2026-04-17T08:10:12.235349 | true |
github_xo_usql_c52570824c0d1fe6705654d3533cb441c5112a36 | Go | xo | usql | 9,921 | 386 | Universal command-line interface for SQL databases | [
"command-line",
"database",
"go",
"golang",
"mariadb",
"microsoft-sql-server",
"mysql",
"oracle",
"oracle-database",
"postgres",
"postgresql",
"sql",
"sqlite",
"sqlite3"
] | MIT | internal/hive.go | hive.go | 177 | //go:build (all || most || hive) && !no_hive
package internal
// Code generated by gen.go. DO NOT EDIT.
import (
_ "github.com/xo/usql/drivers/hive" // Apache Hive driver
)
| 27 | 177 | 10 | 0.98 | 2026-04-17T18:09:10.602731 | true |
github_stoplightio_elements_69db4b661cd9c2844a1f0e23a6ac82d7d30e9e6c | TypeScript | stoplightio | elements | 2,397 | 259 | Build beautiful, interactive API Docs with embeddable React or Web Components, powered by OpenAPI and Markdown. | [
"api",
"api-documentation",
"gatsby",
"hacktoberfest",
"openapi",
"openapi3",
"openapi3-1",
"react",
"stoplight-elements",
"stoplight-oss",
"swagger-oss"
] | Apache-2.0 | setupTests.ts | setupTests.ts | 755 | import '@testing-library/jest-dom';
import { ResizeObserver } from '@juggle/resize-observer';
import fetchMock from 'jest-fetch-mock';
const Enzyme = require('enzyme');
const Adapter = require('enzyme-adapter-react-16');
Enzyme.configure({ adapter: new Adapter() });
process.env.TZ = 'UTC';
Element.prototype.scroll... | 75 | 755 | 29 | 0.98 | 2026-04-17T18:07:53.313065 | true |
github_nodejs_node_b276f4b29dfcdc3886b15103b56689d1db94c3f1 | JavaScript | nodejs | node | 116,870 | 35,414 | Node.js JavaScript runtime ✨🐢🚀✨ | [
"javascript",
"js",
"linux",
"macos",
"mit",
"node",
"nodejs",
"runtime",
"windows"
] | NOASSERTION | lib/ffi.js | ffi.js | 4,674 | 'use strict';
const {
ObjectFreeze,
ObjectPrototypeToString,
} = primordials;
const { Buffer } = require('buffer');
const { emitExperimentalWarning } = require('internal/util');
const {
isArrayBufferView,
} = require('internal/util/types');
const {
codes: {
ERR_ACCESS_DENIED,
ERR_INVALID_ARG_TYPE,
... | 449 | 4,674 | 234 | 0.98 | 2026-04-23T06:15:43.265776 | true |
github_ClickHouse_clickhouse-go_01072417a1ed328cf16e29ac7e55bd82207a94ea | Go | ClickHouse | clickhouse-go | 3,270 | 647 | Golang driver for ClickHouse | [
"analytics-database",
"clickhouse",
"database",
"golang",
"golang-driver",
"sql"
] | Apache-2.0 | context_watchdog_test.go | context_watchdog_test.go | 2,368 | //go:build go1.25
package clickhouse
import (
"context"
"sync/atomic"
"testing"
"testing/synctest"
"time"
"github.com/stretchr/testify/assert"
)
func TestContextWatchdog(t *testing.T) {
t.Run("callback should be called once", func(t *testing.T) {
called := atomic.Int32{}
ctx, cancel := context.WithTimeou... | 266 | 2,368 | 90 | 0.98 | 2026-04-17T18:23:57.198622 | true |
github_ChatGPTNextWeb_NextChat_1e5c7598582380d14a9bde98981168412b334026 | TypeScript | ChatGPTNextWeb | NextChat | 87,769 | 59,807 | ✨ Light and Fast AI Assistant. Support: Web | iOS | MacOS | Android | Linux | Windows | [
"calclaude",
"chatgpt",
"claude",
"cross-platform",
"desktop",
"fe",
"gemini",
"gemini-pro",
"gemini-server",
"gemini-ultra",
"gpt-4o",
"groq",
"nextjs",
"ollama",
"react",
"tauri",
"tauri-app",
"vercel",
"webui"
] | MIT | app/locales/de.ts | de.ts | 20,843 | import { SubmitKey } from "../store/config";
import type { PartialLocaleType } from "./index";
import { getClientConfig } from "../config/client";
import { SAAS_CHAT_UTM_URL } from "@/app/constant";
const isApp = !!getClientConfig()?.isApp;
const de: PartialLocaleType = {
WIP: "In Bearbeitung...",
Error: {
Una... | 2,004 | 20,592 | 622 | 0.98 | 2026-04-23T08:58:11.919807 | true |
github_graphql_graphql-js_5c8aeb7240639d5f0ee2ceea6b07cb42c609c95a | TypeScript | graphql | graphql-js | 20,323 | 2,056 | A reference implementation of GraphQL for JavaScript | [
"graphql",
"graphql-js"
] | MIT | src/language/directiveLocation.ts | directiveLocation.ts | 978 | /**
* The set of allowed directive location values.
*/
enum DirectiveLocation {
/** Request Definitions */
QUERY = 'QUERY',
MUTATION = 'MUTATION',
SUBSCRIPTION = 'SUBSCRIPTION',
FIELD = 'FIELD',
FRAGMENT_DEFINITION = 'FRAGMENT_DEFINITION',
FRAGMENT_SPREAD = 'FRAGMENT_SPREAD',
INLINE_FRAGMENT = 'INLINE... | 112 | 978 | 35 | 0.98 | 2026-04-18T01:24:54.817589 | true |
github_pubkey_rxdb_a7c624539e602bafbf93f9d27c60630428273770 | TypeScript | pubkey | rxdb | 23,156 | 1,161 | A fast, local first, reactive Database for JavaScript Applications https://rxdb.info/ | [
"angular",
"browser-database",
"couchdb",
"crdt",
"database",
"firebase",
"graphql",
"indexeddb",
"ionic",
"local-first",
"localstorage",
"nodejs",
"nosql",
"postgres",
"pouchdb",
"react-native",
"realtime",
"realtime-database",
"rxdb",
"sqlite"
] | Apache-2.0 | src/change-event-buffer.ts | change-event-buffer.ts | 5,198 | /**
* a buffer-cache which holds the last X changeEvents of the collection
*/
import {
Subscription
} from 'rxjs';
import { filter } from 'rxjs/operators';
import type {
RxChangeEventBulk,
RxCollection,
RxStorageChangeEvent
} from './types/index.d.ts';
import {
requestIdlePromiseNoQueue
} from './... | 535 | 5,198 | 175 | 0.98 | 2026-04-23T08:21:55.411050 | true |
github_seanmonstar_warp_5350d2215623302ea83358127d2974c48f020380 | Rust | seanmonstar | warp | 10,274 | 748 | A super-easy, composable, web server framework for warp speeds. | [
"framework",
"http",
"rust",
"server"
] | MIT | src/generic.rs | generic.rs | 5,434 | #[derive(Debug)]
pub struct Product<H, T: HList>(pub(crate) H, pub(crate) T);
pub type One<T> = (T,);
#[inline]
pub(crate) fn one<T>(val: T) -> One<T> {
(val,)
}
#[derive(Debug)]
pub enum Either<T, U> {
A(T),
B(U),
}
// Converts Product (and ()) into tuples.
pub trait HList: Sized {
type Tuple: Tupl... | 636 | 5,434 | 251 | 0.98 | 2026-04-17T14:24:41.480977 | true |
github_jfairbank_redux-saga-test-plan_d0e735b4b922e050e6fc871ee1ba10348a5003c7 | JavaScript | jfairbank | redux-saga-test-plan | 1,244 | 126 | Test Redux Saga with an easy plan. | [
"integration-testing",
"redux-saga",
"redux-saga-testing",
"testing",
"testing-sagas",
"unit-testing"
] | MIT | src/expectSaga/index.js | index.js | 18,693 | // @flow
/* eslint-disable no-underscore-dangle */
import { runSaga, stdChannel } from 'redux-saga';
import * as is from '@redux-saga/is';
import * as effects from 'redux-saga/effects';
import { splitAt } from '../utils/array';
import ArraySet from '../utils/ArraySet';
import { warn } from '../utils/logging';
import { ... | 1,744 | 18,693 | 787 | 0.98 | 2026-04-23T12:31:23.845051 | true |
github_ChromeDevTools_chrome-devtools-mcp_ea9c022a5f8d716b96c558b4da12d79506e3a5f5 | TypeScript | ChromeDevTools | chrome-devtools-mcp | 36,793 | 2,272 | Chrome DevTools for coding agents | [
"browser",
"chrome",
"chrome-devtools",
"debugging",
"devtools",
"mcp",
"mcp-server",
"puppeteer"
] | Apache-2.0 | src/HeapSnapshotManager.ts | HeapSnapshotManager.ts | 4,419 | /**
* @license
* Copyright 2026 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
import fsSync from 'node:fs';
import path from 'node:path';
import {DevTools} from './third_party/index.js';
import {
createIdGenerator,
stableIdSymbol,
type WithSymbolId,
} from './utils/id.js';
export type AggregatedInfoW... | 349 | 4,419 | 154 | 0.98 | 2026-04-23T08:42:26.650790 | true |
github_actionhero_actionhero_7bb5e9c373341a1afea28d4d81b3c50484316c36 | TypeScript | actionhero | actionhero | 2,418 | 259 | Actionhero is a realtime multi-transport nodejs API Server with integrated cluster capabilities and delayed tasks | [
"actionhero",
"api",
"api-server",
"async-await",
"cluster",
"delayed-jobs",
"delayed-tasks",
"framework",
"frameworks",
"http",
"https",
"javascript",
"nodejs",
"server",
"socket-client",
"tcp",
"ts",
"typescript",
"websocket"
] | Apache-2.0 | src/config/api.ts | api.ts | 4,182 | import * as path from "path";
import * as fs from "fs";
import { PackageJson } from "type-fest";
import { ActionheroLogLevel } from "..";
const namespace = "general";
declare module ".." {
export interface ActionheroConfigInterface {
[namespace]: ReturnType<(typeof DEFAULT)[typeof namespace]>;
}
}
export con... | 498 | 4,182 | 108 | 0.98 | 2026-04-17T18:07:21.810125 | true |
github_tenable_terrascan_9d2bb22ad8f181f411f42d71082041b5f3eef630 | Go | tenable | terrascan | 5,210 | 550 | Detect compliance and security violations across Infrastructure as Code to mitigate risk before provisioning cloud native infrastructure. | [
"architecture",
"aws",
"aws-security",
"azure-security",
"cloud-security",
"cloudsecurity",
"devops",
"devsecops",
"gcp-security",
"iac",
"infrastructure",
"infrastructure-as-code",
"kubernetes",
"sast",
"scans",
"security",
"security-tools",
"security-violations",
"terraform",
... | Apache-2.0 | pkg/iac-providers/docker.go | docker.go | 1,107 | /*
Copyright (C) 2022 Tenable, Inc.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in wri... | 132 | 1,107 | 37 | 0.98 | 2026-04-17T21:33:57.022039 | true |
github_bvaughn_react-virtualized_9a7f14660b65f5909664d6e2ac5ff2631bcc8b86 | JavaScript | bvaughn | react-virtualized | 27,068 | 3,034 | React components for efficiently rendering large lists and tabular data | [
"grid",
"list",
"listview",
"performance",
"react",
"react-components",
"tabular-data",
"virtualization",
"windowing"
] | MIT | source/Table/createMultiSort.jest.js | createMultiSort.jest.js | 6,472 | import createMultiSort from './createMultiSort';
describe('createMultiSort', () => {
function simulate(
sort,
dataKey,
eventModifier = '',
defaultSortDirection = 'ASC',
) {
sort({
defaultSortDirection,
event: {
ctrlKey: eventModifier === 'control',
metaKey: eventModi... | 410 | 6,472 | 201 | 0.98 | 2026-04-23T04:50:43.134577 | true |
github_starship_starship_23c6b57b121f56d89aabf921abfc50d0c116ed36 | Rust | starship | starship | 56,483 | 2,470 | ☄🌌️ The minimal, blazing-fast, and infinitely customizable prompt for any shell! | [
"bash",
"fish",
"fish-prompt",
"fish-theme",
"oh-my-zsh",
"powershell",
"rust",
"shell-prompt",
"starship",
"zsh",
"zsh-prompt",
"zsh-theme"
] | ISC | src/configs/fortran.rs | fortran.rs | 1,366 | use serde::{Deserialize, Serialize};
#[derive(Clone, Deserialize, Serialize)]
#[cfg_attr(
feature = "config-schema",
derive(schemars::JsonSchema),
schemars(deny_unknown_fields)
)]
#[serde(default)]
pub struct FortranConfig<'a> {
pub format: &'a str,
pub version_format: &'a str,
pub symbol: &'a ... | 126 | 1,363 | 45 | 0.98 | 2026-04-17T13:17:38.997856 | true |
github_rancher_rancher_12344e919d39e336fc55b327bd6fa3f6052f5e88 | Go | rancher | rancher | 25,503 | 3,179 | Complete container management platform | [
"cattle",
"containers",
"docker",
"kubernetes",
"orchestration",
"rancher"
] | Apache-2.0 | pkg/ingresswrapper/ingresswrapper_test.go | ingresswrapper_test.go | 11,440 | package ingresswrapper
import (
"context"
"testing"
rextv1beta1 "github.com/rancher/rancher/pkg/generated/norman/extensions/v1beta1"
rextv1beta1fakes "github.com/rancher/rancher/pkg/generated/norman/extensions/v1beta1/fakes"
rnetworkingv1 "github.com/rancher/rancher/pkg/generated/norman/networking.k8s.io/v1"
rn... | 964 | 11,440 | 494 | 0.98 | 2026-04-17T08:38:29.295837 | true |
github_actionhero_actionhero_bb4a13af84c66e3e05493717a4baaab9ca07f3e3 | TypeScript | actionhero | actionhero | 2,418 | 259 | Actionhero is a realtime multi-transport nodejs API Server with integrated cluster capabilities and delayed tasks | [
"actionhero",
"api",
"api-server",
"async-await",
"cluster",
"delayed-jobs",
"delayed-tasks",
"framework",
"frameworks",
"http",
"https",
"javascript",
"nodejs",
"server",
"socket-client",
"tcp",
"ts",
"typescript",
"websocket"
] | Apache-2.0 | src/initializers/chatRoom.ts | chatRoom.ts | 6,281 | import { api, config, id, log, chatRoom, redis, Initializer } from "../index";
import { Connection } from "../classes/connection";
import * as ChatModule from "./../modules/chatRoom";
export interface ChatRoomApi {
middleware: {
[key: string]: ChatModule.chatRoom.ChatMiddleware;
};
globalMiddleware: Array<st... | 536 | 6,281 | 215 | 0.98 | 2026-04-17T18:07:26.470243 | true |
github_rustdesk_rustdesk_bf980ee8ca5f55a73a5a6f0a15c2b70756a5d1f8 | Rust | rustdesk | rustdesk | 111,484 | 16,696 | An open-source remote desktop application designed for self-hosting, as an alternative to TeamViewer. | [
"android",
"anydesk",
"dart",
"flatpak",
"flutter",
"flutter-apps",
"ios",
"linux",
"macos",
"p2p",
"rdp",
"remote-control",
"remote-desktop",
"rust",
"rust-lang",
"teamviewer",
"vnc",
"wayland",
"windows"
] | AGPL-3.0 | src/plugin/plugins.rs | plugins.rs | 21,250 | use super::{desc::Desc, errno::*, *};
#[cfg(not(debug_assertions))]
use crate::common::is_server;
use crate::flutter;
use hbb_common::{
bail,
dlopen::symbor::Library,
lazy_static, log,
message_proto::{Message, Misc, PluginFailure, PluginRequest},
ResultType,
};
use serde_derive::Serialize;
use std::... | 2,109 | 21,250 | 660 | 0.98 | 2026-04-17T13:14:55.799665 | true |
github_srizzon_git-city_5fbbbe122e09ba481a936c2a69fc997cdef9611d | TypeScript | srizzon | git-city | 5,147 | 255 | Your GitHub profile as a 3D pixel art building in an interactive city | [
"3d",
"github",
"nextjs",
"pixel-art",
"react",
"react-three-fiber",
"supabase",
"three-js",
"threejs",
"typescript",
"visualization"
] | AGPL-3.0 | src/lib/achievements.ts | achievements.ts | 7,507 | import { getSupabaseAdmin } from "./supabase";
import { sendAchievementNotification } from "./notification-senders/achievement";
import { xpForAchievementTier } from "./xp";
// ─── Types ───────────────────────────────────────────────────
export interface Achievement {
id: string;
category: string;
name: string... | 781 | 7,297 | 262 | 0.98 | 2026-04-23T10:05:38.151343 | true |
github_vectordotdev_vector_1a4bc2f0cc7348e6c03987997ba5b9394237a36e | Rust | vectordotdev | vector | 21,666 | 2,093 | A high-performance observability data pipeline. | [
"agent",
"cloud-native",
"data-transformation",
"datadog",
"etl",
"events",
"forwarder",
"hacktoberfest",
"high-performance",
"logs",
"metrics",
"monitoring",
"observability",
"pipelines",
"rust-lang",
"stream-processing",
"telemetry",
"traces"
] | MPL-2.0 | src/config/watcher.rs | watcher.rs | 15,435 | use notify::{EventKind, RecursiveMode, recommended_watcher};
use std::{
collections::{HashMap, HashSet},
path::{Path, PathBuf},
sync::mpsc::{Receiver, channel},
thread,
time::Duration,
};
use crate::{
Error,
config::{ComponentConfig, ComponentType},
};
/// Per notify own documentation, it'... | 1,156 | 15,435 | 429 | 0.98 | 2026-04-17T13:39:02.989169 | true |
github_ultraworkers_claw-code_1d6823c774e0106b374232bc4b4d9d11d6e1ae4c | Python | ultraworkers | claw-code | 185,575 | 108,568 | The repo is finally unlocked. enjoy the party! The fastest repo in history to surpass 100K stars ⭐. Join Discord: https://discord.gg/5TUQKqFWd Built in Rust using oh-my-codex. | [] | UNKNOWN | src/history.py | history.py | 559 | from __future__ import annotations
from dataclasses import dataclass, field
@dataclass(frozen=True)
class HistoryEvent:
title: str
detail: str
@dataclass
class HistoryLog:
events: list[HistoryEvent] = field(default_factory=list)
def add(self, title: str, detail: str) -> None:
self.events.a... | 52 | 559 | 23 | 0.98 | 2026-04-17T13:13:11.935349 | true |
github_SeaQL_sea-orm_45ab913dbb5f081be05940d7cc250a4cc23dfae6 | Rust | SeaQL | sea-orm | 9,543 | 693 | 🐚 A powerful relational ORM for Rust | [
"database",
"hacktoberfest",
"loco",
"mariadb",
"mysql",
"orm",
"postgres",
"rust",
"sql",
"sqlite",
"sqlx",
"tokio"
] | Apache-2.0 | src/entity/active_model.rs | active_model.rs | 76,359 | use super::{ActiveValue, ActiveValue::*};
use crate::{
ColumnTrait, Condition, ConnectionTrait, DbBackend, DeleteResult, EntityName, EntityTrait,
IdenStatic, Iterable, PrimaryKeyArity, PrimaryKeyToColumn, PrimaryKeyTrait, QueryFilter,
Related, RelatedSelfVia, RelationDef, RelationTrait, Value,
error::*,... | 6,255 | 76,353 | 2,526 | 0.98 | 2026-04-17T14:27:10.108737 | true |
github_serenity-rs_serenity_70ab4c241d9880f80934f21d257ab631b5b3c5a6 | Rust | serenity-rs | serenity | 5,463 | 661 | A Rust library for the Discord API. | [
"discord",
"discord-api",
"hacktoberfest",
"rust"
] | ISC | src/cache/mod.rs | mod.rs | 31,830 | //! A cache containing data received from [`Shard`]s.
//!
//! Using the cache allows to avoid REST API requests via the [`http`] module where possible.
//! Issuing too many requests will lead to ratelimits.
//!
//! # Use by Models
//!
//! Most models of Discord objects, such as the [`Message`], [`GuildChannel`], or [`E... | 3,485 | 31,830 | 884 | 0.98 | 2026-04-17T15:00:57.819616 | true |
github_THUDM_AgentBench_e23b4ee3296831c4aa50110683853993203c9476 | Python | THUDM | AgentBench | 3,335 | 246 | A Comprehensive Benchmark to Evaluate LLMs as Agents (ICLR'24) | [
"chatgpt",
"gpt-4",
"llm",
"llm-agent"
] | Apache-2.0 | src/client/agent_test.py | agent_test.py | 1,429 | import argparse
from src.configs import ConfigLoader
from src.typings import InstanceFactory
from .agent import AgentClient
def parse_args():
parser = argparse.ArgumentParser()
parser.add_argument('--config', type=str, default='configs/agents/api_agents.yaml')
parser.add_argument('--agent', type=str, def... | 104 | 1,429 | 44 | 0.98 | 2026-04-17T23:30:12.999256 | true |
github_H-M-H_Weylus_a38411d135759e43d552baf438c7e763e061ef31 | Rust | H-M-H | Weylus | 9,099 | 364 | Use your tablet as graphic tablet/touch screen on your computer. | [
"android",
"android-application",
"app",
"browser",
"ffmpeg",
"hardware-acceleration",
"ipados",
"linux",
"multi-touch",
"remote-desktop",
"rust",
"screen-mirroring",
"stylus",
"tablet",
"touch-screen",
"uinput",
"wayland",
"webapp",
"x11",
"xdg-desktop-portal"
] | NOASSERTION | src/capturable/remote_desktop_dbus.rs | remote_desktop_dbus.rs | 13,344 | // This code was autogenerated with `dbus-codegen-rust -c blocking -m None`, see https://github.com/diwic/dbus-rs
// XML source:
// https://github.com/flatpak/xdg-desktop-portal/raw/refs/tags/1.18.4/data/org.freedesktop.portal.Request.xml
// https://github.com/flatpak/xdg-desktop-portal/raw/refs/tags/1.18.4/data/org.fr... | 938 | 13,344 | 458 | 0.98 | 2026-04-17T14:28:23.477995 | true |
github_carson-katri_dream-textures_3292c3f491c3382435517dca04a3b83a5d408d7d | Python | carson-katri | dream-textures | 8,146 | 435 | Stable Diffusion built-in to Blender | [
"ai",
"blender",
"blender-addon",
"image-generation",
"stable-diffusion"
] | GPL-3.0 | api/models/fix_it_error.py | fix_it_error.py | 1,264 | from typing import Callable, Any
from .generation_arguments import GenerationArguments
from dataclasses import dataclass
class FixItError(Exception):
"""An exception with a solution.
Call the `draw` method to render the UI elements responsible for resolving this error.
"""
def __init__(self, message, ... | 107 | 1,264 | 41 | 0.98 | 2026-04-17T15:38:17.128014 | true |
github_EmbraceAGI_LifeReloaded_985b3d9047a1e9885270a5cccb5401b1077fb71b | Python | EmbraceAGI | LifeReloaded | 692 | 57 | A life simulation Game powered by GPT-4's “Advanced Data Analysis” function , offering you a second chance at life. 由GPT4的Advanced Data Analysis功能驱动的人生重来模拟器,给您人生第二春。 | [
"advanced-data-analysis",
"chatgpt",
"code",
"codeinterpreter",
"game",
"gpt",
"gpt-4",
"llm",
"openai",
"prompt",
"prompt-engineering"
] | Apache-2.0 | core/__init__.py | __init__.py | 123 | from .chat import Chat
from .database import Database
from .person import Person
__all__ = ['Person', 'Chat', 'Database']
| 17 | 123 | 6 | 0.98 | 2026-04-23T01:15:54.862186 | true |
github_rust-lang_rust_e878350e43b9bd7f6390b0f336ac8fe9fc118fa8 | Rust | rust-lang | rust | 112,076 | 14,769 | Empowering everyone to build reliable and efficient software. | [
"compiler",
"language",
"rust"
] | Apache-2.0 | src/rustdoc-json-types/tests.rs | tests.rs | 5,769 | use super::*;
#[test]
fn test_struct_info_roundtrip() {
let s = ItemEnum::Struct(Struct {
generics: Generics { params: vec![], where_predicates: vec![] },
kind: StructKind::Plain { fields: vec![], has_stripped_fields: false },
impls: vec![],
});
// JSON
let struct_json = serde_... | 468 | 5,769 | 156 | 0.98 | 2026-04-17T13:13:54.734101 | true |
github_open-wa_wa-automate-nodejs_d600a9615bd60fbd8f11630869584e709dfdc712 | JavaScript | open-wa | wa-automate-nodejs | 3,448 | 669 | 💬 🤖 The most reliable tool for chatbots with advanced features. Be sure to 🌟 this repository for updates! | [
"api",
"chatbots",
"framework",
"nodejs",
"typescript"
] | NOASSERTION | src/controllers/preload.js | preload.js | 431 | // overwrite the `languages` property to use a custom getter
Object.defineProperty(navigator, "languages", {
get: function() {
return ["en-US", "en"];
};
});
// overwrite the `plugins` property to use a custom getter
Object.defineProperty(navigator, 'plugins', {
get: function() {
// thi... | 61 | 431 | 14 | 0.98 | 2026-04-17T18:04:07.812150 | true |
github_matplotlib_matplotlib_f5f0918dcc132912762c370b883c79252e5da78e | Python | matplotlib | matplotlib | 22,729 | 8,325 | matplotlib: plotting with Python | [
"data-science",
"data-visualization",
"gtk",
"matplotlib",
"plotting",
"python",
"qt",
"tk",
"wx"
] | UNKNOWN | lib/matplotlib/dates.py | dates.py | 66,402 | """
Matplotlib provides sophisticated date plotting capabilities, standing on the
shoulders of python :mod:`datetime` and the add-on module dateutil_.
By default, Matplotlib uses the units machinery described in
`~matplotlib.units` to convert `datetime.datetime`, and `numpy.datetime64`
objects when plotted on an x- or... | 7,288 | 66,402 | 1,843 | 0.98 | 2026-04-22T18:13:41.935138 | true |
github_Canop_broot_9a65278226ffae8f6eba78e19d752fa960676dfb | Rust | Canop | broot | 12,607 | 285 | A new way to see and navigate directory trees : https://dystroy.org/broot | [
"balanced-bfs-descent",
"command-line",
"command-line-tool",
"fuzzy-search",
"hacktoberfest",
"linux",
"rust",
"tree"
] | MIT | src/app/app.rs | app.rs | 24,761 | use {
super::*,
crate::{
browser::BrowserState,
cli::TriBool,
command::{
Command,
Sequence,
},
conf::Conf,
display::*,
errors::ProgramError,
file_sum,
git,
kitty,
launchable::Launchable,
path:... | 1,686 | 24,761 | 626 | 0.98 | 2026-04-17T14:17:42.151327 | true |
github_volcano-sh_volcano_7202b681d92705c3fe7e7bb8d90288fdb9116246 | Go | volcano-sh | volcano | 5,473 | 1,336 | A Cloud Native Batch System (Project under CNCF) | [
"ai",
"batch-systems",
"bigdata",
"gene",
"golang",
"hpc",
"kubernetes",
"machine-learning",
"serving",
"training"
] | Apache-2.0 | cmd/cli/vcctl.go | vcctl.go | 1,538 | /*
Copyright 2017 The Volcano Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, softwa... | 168 | 1,538 | 61 | 0.98 | 2026-04-17T21:24:30.652329 | true |
github_Permify_permify_6775ada83b56c15b943894e89c39d25a2a243554 | Go | Permify | permify | 5,847 | 303 | An open-source authorization as a service inspired by Google Zanzibar, designed to build and manage fine-grained and scalable authorization systems for any application. — Permify is now part of FusionAuth 🎉 | [
"abac",
"access-control",
"acl",
"authorization",
"ciam",
"cloud-native",
"distributed",
"fga",
"fine-grained-access-control",
"golang",
"grpc",
"kubernetes",
"least-privilege",
"permission",
"permissions",
"rbac",
"rebac",
"security",
"zanzibar"
] | AGPL-3.0 | pkg/cmd/migrate.go | migrate.go | 4,860 | package cmd
import (
"strconv"
"github.com/hashicorp/go-multierror"
"github.com/spf13/cobra"
"github.com/Permify/permify/internal/storage"
)
const (
target = "target"
databaseEngine = "database-engine"
databaseURI = "database-uri"
)
// NewMigrateCommand - Creates new migrate command
func NewMigra... | 539 | 4,860 | 186 | 0.98 | 2026-04-17T21:20:31.337258 | true |
github_FareedKhan-dev_production-grade-agentic-system_cc2ffcc3470eea472da3c60bbee9ae73f237936c | Python | FareedKhan-dev | production-grade-agentic-system | 774 | 171 | Core 7 layers of production grade agentic system | [
"agentic-ai",
"langchain",
"langgraph",
"production"
] | MIT | src/agent/workflow.py | workflow.py | 17,934 | """This file contains the LangGraph Agent/workflow and interactions with the LLM."""
import asyncio
from typing import (
AsyncGenerator,
Optional,
)
from urllib.parse import quote_plus
from asgiref.sync import sync_to_async
from langchain_core.messages import (
BaseMessage,
ToolMessage,
convert_to... | 1,331 | 17,934 | 454 | 0.98 | 2026-04-23T00:47:39.616362 | true |
github_nodejs_node_9122ac1522092a4f37a128a67cc50a5a469f0a34 | JavaScript | nodejs | node | 116,870 | 35,414 | Node.js JavaScript runtime ✨🐢🚀✨ | [
"javascript",
"js",
"linux",
"macos",
"mit",
"node",
"nodejs",
"runtime",
"windows"
] | NOASSERTION | lib/inspector/promises.js | promises.js | 267 | 'use strict';
const inspector = require('inspector');
const { promisify } = require('internal/util');
class Session extends inspector.Session {}
Session.prototype.post = promisify(inspector.Session.prototype.post);
module.exports = {
...inspector,
Session,
};
| 26 | 267 | 13 | 0.98 | 2026-04-23T06:15:46.287384 | true |
github_adam-mcdaniel_oakc_71ffb699621d881ab80943e03af8070e4b001f87 | Rust | adam-mcdaniel | oakc | 747 | 21 | A portable programming language with a compact intermediate representation | [
"c",
"compiler",
"compiler-design",
"golang"
] | Apache-2.0 | src/tir.rs | tir.rs | 44,354 | use std::{
collections::BTreeMap,
fmt::{Display, Error, Formatter},
fs::read_to_string,
path::PathBuf,
process::exit,
};
use crate::{
hir::{
HirConstant, HirDeclaration, HirExpression, HirFunction, HirProgram, HirStatement,
HirStructure, HirType,
},
parse, Identifier, St... | 3,671 | 44,354 | 1,185 | 0.98 | 2026-04-17T17:08:41.141341 | true |
github_farion1231_cc-switch_e90301443396f0857cb086d4e4bb043f925bde95 | TypeScript | farion1231 | cc-switch | 46,404 | 2,957 | A cross-platform desktop All-in-One assistant tool for Claude Code, Codex, OpenCode, openclaw & Gemini CLI. | [
"ai-tools",
"claude-code",
"codex",
"desktop-app",
"mcp",
"minimax",
"omo",
"open-source",
"openclaw",
"openclaw-ui",
"opencode",
"provider-management",
"rust",
"skills",
"skills-management",
"tauri",
"typescript",
"wsl-support"
] | MIT | src/utils/errorUtils.ts | errorUtils.ts | 3,585 | /**
* 从各种错误对象中提取错误信息
* @param error 错误对象
* @returns 提取的错误信息字符串
*/
export const extractErrorMessage = (error: unknown): string => {
if (!error) return "";
if (typeof error === "string") {
return error;
}
if (error instanceof Error && error.message.trim()) {
return error.message;
}
if (typeof err... | 346 | 2,905 | 109 | 0.98 | 2026-04-17T13:19:02.276478 | true |
github_huggingface_datasets_34f84f7fca8cdfa8c3eb508cfc345a830537ce62 | Python | huggingface | datasets | 21,428 | 3,181 | 🤗 The largest hub of ready-to-use datasets for AI models with fast, easy-to-use and efficient data manipulation tools | [
"ai",
"artificial-intelligence",
"computer-vision",
"dataset-hub",
"datasets",
"deep-learning",
"huggingface",
"llm",
"machine-learning",
"natural-language-processing",
"nlp",
"numpy",
"pandas",
"pytorch",
"speech",
"tensorflow"
] | Apache-2.0 | src/datasets/dataset_dict.py | dataset_dict.py | 128,001 | import contextlib
import copy
import itertools
import json
import math
import posixpath
import random
import re
import time
from collections.abc import Sequence
from functools import partial
from typing import Callable, Literal, Optional, Union
import fsspec
import numpy as np
from fsspec.core import url_to_fs
from fs... | 12,530 | 128,001 | 2,775 | 0.98 | 2026-04-22T13:37:28.389021 | true |
github_vercel_pkg_e8a612800385b9c3854896eb598305eb1b40d6dd | TypeScript | vercel | pkg | 24,392 | 1,065 | Package your Node.js project into an executable | [
"binaries",
"cli",
"compiler",
"nodejs"
] | MIT | lib/refiner.ts | refiner.ts | 2,547 | import path from 'path';
import chalk from 'chalk';
import {
STORE_LINKS,
retrieveDenominator,
substituteDenominator,
} from './common';
import { FileRecords, SymLinks } from './types';
import { log } from './log';
const win32 = process.platform === 'win32';
function hasParent(file: string, records: FileRecords... | 285 | 2,547 | 111 | 0.98 | 2026-04-23T06:43:05.638465 | true |
github_hijkzzz_pymarl2_1e20546f6b5040a139fc3ee729659a9a2d7b26f7 | Python | hijkzzz | pymarl2 | 708 | 135 | Fine-tuned MARL algorithms on SMAC (100% win rates on most scenarios) | [
"marl",
"reinforcement-learning",
"smac",
"sota",
"starcraft"
] | Apache-2.0 | src/learners/qtran_learner.py | qtran_learner.py | 9,146 | import copy
from components.episode_buffer import EpisodeBatch
from modules.mixers.qtran import QTranBase
import torch as th
from torch.optim import RMSprop, Adam
class QLearner:
def __init__(self, mac, scheme, logger, args):
self.args = args
self.mac = mac
self.logger = logger
se... | 710 | 9,146 | 181 | 0.98 | 2026-04-22T20:37:52.398390 | true |
github_slackhq_nebula_6df893c1670d288edc6bda7b99b4883ef6a34865 | Go | slackhq | nebula | 17,229 | 1,122 | A scalable overlay networking tool with a focus on performance, simplicity and security | [] | MIT | calculated_remote_test.go | calculated_remote_test.go | 2,646 | package nebula
import (
"net/netip"
"testing"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
)
func TestCalculatedRemoteApply(t *testing.T) {
// Test v4 addresses
ipNet := netip.MustParsePrefix("192.168.1.0/24")
c, err := newCalculatedRemote(ipNet, ipNet, 4242)
require.NoError(t, ... | 199 | 2,646 | 82 | 0.98 | 2026-04-17T10:14:49.587394 | true |
github_nodejs_node_1eaf35d75029e26e0fed9e6cd23308fd0a3854f4 | JavaScript | nodejs | node | 116,870 | 35,414 | Node.js JavaScript runtime ✨🐢🚀✨ | [
"javascript",
"js",
"linux",
"macos",
"mit",
"node",
"nodejs",
"runtime",
"windows"
] | NOASSERTION | lib/readline.js | readline.js | 12,801 | // Copyright Joyent, Inc. and other Node contributors.
//
// Permission is hereby granted, free of charge, to any person obtaining a
// copy of this software and associated documentation files (the
// "Software"), to deal in the Software without restriction, including
// without limitation the rights to use, copy, modi... | 1,294 | 12,801 | 524 | 0.98 | 2026-04-23T06:16:13.981631 | true |
github_kubernetes-sigs_kind_d00ed81af44b0461f3502d06843f1f32aa94213e | Go | kubernetes-sigs | kind | 15,167 | 1,735 | Kubernetes IN Docker - local clusters for testing Kubernetes | [
"docker",
"golang",
"k8s-sig-testing",
"kubeadm",
"kubernetes",
"podman"
] | Apache-2.0 | pkg/errors/concurrent_test.go | concurrent_test.go | 2,463 | /*
Copyright 2019 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, ... | 307 | 2,463 | 101 | 0.98 | 2026-04-17T10:35:59.111714 | true |
github_fram-x_FluidTransitions_f22db28a83d93e88974f523d816d2f04def0bf24 | JavaScript | fram-x | FluidTransitions | 2,924 | 190 | Fluid Transitions for React Navigation | [
"animation",
"react-native",
"react-navigation",
"shared-element-transition",
"transition"
] | MIT | lib/Interpolators/getBackgroundInterpolator.js | getBackgroundInterpolator.js | 435 | import { StyleSheet } from 'react-native';
import { InterpolatorSpecification } from '../Types/InterpolatorSpecification';
import { getStyleInterpolator } from './getStyleInterpolator';
export const getBackgroundInterpolator = (spec: InterpolatorSpecification): StyleSheet.Styles => {
const backgroundColor = getStyle... | 42 | 435 | 9 | 0.98 | 2026-04-23T14:01:22.193121 | true |
github_goharbor_harbor_6952eed6c089a0b2b79532299a9d974f4085e845 | Go | goharbor | harbor | 28,287 | 5,198 | An open source trusted cloud native registry project that stores, signs, and scans content. | [
"cloud-native",
"cncf",
"cncf-project",
"container",
"container-management",
"container-registry",
"containers",
"docker",
"hacktoberfest",
"helm",
"kubernetes",
"registry"
] | Apache-2.0 | src/registryctl/main.go | main.go | 3,638 | // Copyright Project Harbor Authors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed t... | 333 | 3,638 | 117 | 0.98 | 2026-04-17T08:25:37.400125 | true |
github_urfave_cli_fe1224c44e346206502e04952521e32eb03f0c5b | Go | urfave | cli | 23,974 | 1,770 | A declarative, simple, fast, and fun package for building command line tools in Go | [
"cli",
"command-line",
"go",
"golang-library",
"json",
"toml",
"yaml"
] | MIT | funcs.go | funcs.go | 2,440 | package cli
import "context"
// ShellCompleteFunc is an action to execute when the shell completion flag is set
type ShellCompleteFunc func(context.Context, *Command)
// BeforeFunc is an action that executes prior to any subcommands being run once
// the context is ready. If a non-nil error is returned, no subcomma... | 333 | 2,440 | 54 | 0.98 | 2026-04-17T09:10:46.745768 | true |
github_timescale_pg-aiguide_9fcf8818b3b6d51a393268e1724a42bd7ebf3f16 | TypeScript | timescale | pg-aiguide | 1,687 | 82 | MCP server and Claude plugin for Postgres skills and documentation. Helps AI coding tools generate better PostgreSQL code. | [
"ai",
"ai-agents",
"ai-coding",
"claude-code-plugin",
"claude-code-plugins",
"claude-code-plugins-marketplace",
"claude-marketplace",
"claude-plugin",
"claude-skills",
"docs",
"documentation",
"mcp",
"mcp-server",
"postgres",
"postgresql",
"skills"
] | Apache-2.0 | src/serverInfo.ts | serverInfo.ts | 285 | import { Pool } from 'pg';
import { schema } from './config.js';
import type { ServerContext } from './types.js';
export const serverInfo = {
name: 'pg-aiguide',
version: '1.0.0',
} as const;
const pgPool = new Pool();
export const context: ServerContext = { pgPool, schema };
| 45 | 285 | 14 | 0.98 | 2026-04-17T16:15:21.098335 | true |
github_weaveworks_scope_a06db05dad3fa662083512fd5cfa7864e9901f71 | Go | weaveworks | scope | 5,916 | 723 | Monitoring, visualisation & management for Docker & Kubernetes | [
"containers",
"docker",
"ecs",
"kubernetes",
"mesos",
"microservices",
"monitoring",
"visualization"
] | Apache-2.0 | app/multitenant/consul_client.go | consul_client.go | 4,837 | package multitenant
import (
"bytes"
"context"
"encoding/json"
"fmt"
"time"
consul "github.com/hashicorp/consul/api"
opentracing "github.com/opentracing/opentracing-go"
log "github.com/sirupsen/logrus"
)
const (
longPollDuration = 10 * time.Second
)
// ConsulClient is a high-level client for Consul, that e... | 628 | 4,837 | 188 | 0.98 | 2026-04-17T21:17:14.442361 | true |
github_starship_starship_090ed7fed2341501d357042f0ba26783a308aceb | Rust | starship | starship | 56,483 | 2,470 | ☄🌌️ The minimal, blazing-fast, and infinitely customizable prompt for any shell! | [
"bash",
"fish",
"fish-prompt",
"fish-theme",
"oh-my-zsh",
"powershell",
"rust",
"shell-prompt",
"starship",
"zsh",
"zsh-prompt",
"zsh-theme"
] | ISC | src/configs/shell.rs | shell.rs | 1,404 | use serde::{Deserialize, Serialize};
#[derive(Clone, Deserialize, Serialize)]
#[cfg_attr(
feature = "config-schema",
derive(schemars::JsonSchema),
schemars(deny_unknown_fields)
)]
#[serde(default)]
pub struct ShellConfig<'a> {
pub format: &'a str,
pub bash_indicator: &'a str,
pub fish_indicator... | 128 | 1,404 | 50 | 0.98 | 2026-04-17T13:18:02.103136 | true |
github_nodejs_node_1e86e81cf76b1536d381757ba4e12751a0bb8417 | JavaScript | nodejs | node | 116,870 | 35,414 | Node.js JavaScript runtime ✨🐢🚀✨ | [
"javascript",
"js",
"linux",
"macos",
"mit",
"node",
"nodejs",
"runtime",
"windows"
] | NOASSERTION | lib/https.js | https.js | 20,896 | // Copyright Joyent, Inc. and other Node contributors.
//
// Permission is hereby granted, free of charge, to any person obtaining a
// copy of this software and associated documentation files (the
// "Software"), to deal in the Software without restriction, including
// without limitation the rights to use, copy, modi... | 2,303 | 20,896 | 678 | 0.98 | 2026-04-23T06:15:45.665254 | true |
github_danny-avila_rag_api_5a5576b564bc2d4eda86e385528e9ff7a07dc4d2 | Python | danny-avila | rag_api | 793 | 351 | ID-based RAG FastAPI: Integration with Langchain and PostgreSQL/pgvector | [
"api",
"api-rest",
"embeddings",
"fastapi",
"langchain",
"pgvector",
"postgresql",
"psql",
"python",
"rag",
"vector",
"vector-database"
] | MIT | app/utils/document_loader.py | document_loader.py | 10,513 | # app/utils/document_loader.py
import os
import codecs
import tempfile
from typing import Iterator, List, Optional
import chardet
from langchain_core.documents import Document
from app.config import known_source_ext, PDF_EXTRACT_IMAGES, CHUNK_OVERLAP, logger
from langchain_community.document_loaders import (
Te... | 1,002 | 10,513 | 293 | 0.98 | 2026-04-23T00:47:21.202808 | true |
github_cortexproject_cortex_ebe675556d8b41b002554e99b9e21382211483c0 | Go | cortexproject | cortex | 5,783 | 852 | A horizontally scalable, highly available, multi-tenant, long term Prometheus. | [
"cncf",
"hacktoberfest",
"kubernetes",
"monitoring",
"prometheus"
] | Apache-2.0 | pkg/compactor/visit_marker.go | visit_marker.go | 5,016 | package compactor
import (
"bytes"
"context"
"encoding/json"
"fmt"
"io"
"time"
"github.com/go-kit/log"
"github.com/go-kit/log/level"
"github.com/pkg/errors"
"github.com/thanos-io/objstore"
"github.com/thanos-io/thanos/pkg/compact"
"github.com/cortexproject/cortex/pkg/util/runutil"
)
var (
errorVisitMar... | 466 | 5,016 | 156 | 0.98 | 2026-04-17T21:21:38.098079 | true |
github_Wilfred_bfc_3d378d71978d933f08b49c93fce35bdac94fd1a7 | Rust | Wilfred | bfc | 541 | 34 | An industrial-grade brainfuck compiler | [
"brainfuck",
"compiler",
"llvm",
"rust"
] | GPL-2.0 | src/bounds.rs | bounds.rs | 10,038 | #![warn(trivial_numeric_casts)]
//! Calculate the maximum cell accessed by a BF program.
use std::cmp::{max, Ord, Ordering};
use std::ops::Add;
use crate::bfir::AstNode;
use crate::bfir::AstNode::*;
// 100,000 cells, zero-indexed.
pub const MAX_CELL_INDEX: usize = 99999;
/// Return the highest cell index that can ... | 957 | 10,038 | 317 | 0.98 | 2026-04-17T17:10:29.400234 | true |
github_ChatGPTNextWeb_NextChat_b3d9f6d8ce6d2440a6b7c540664c781a94867cd2 | TypeScript | ChatGPTNextWeb | NextChat | 87,769 | 59,807 | ✨ Light and Fast AI Assistant. Support: Web | iOS | MacOS | Android | Linux | Windows | [
"calclaude",
"chatgpt",
"claude",
"cross-platform",
"desktop",
"fe",
"gemini",
"gemini-pro",
"gemini-server",
"gemini-ultra",
"gpt-4o",
"groq",
"nextjs",
"ollama",
"react",
"tauri",
"tauri-app",
"vercel",
"webui"
] | MIT | app/store/plugin.ts | plugin.ts | 7,837 | import OpenAPIClientAxios from "openapi-client-axios";
import { StoreKey } from "../constant";
import { nanoid } from "nanoid";
import { createPersistStore } from "../utils/store";
import { getClientConfig } from "../config/client";
import yaml from "js-yaml";
import { adapter, getOperationId } from "../utils";
import ... | 748 | 7,837 | 272 | 0.98 | 2026-04-23T08:58:26.890399 | true |
github_stepfun-ai_Step-Audio-EditX_5747f3a4b4c9e1eaa6fbb5fd6117ac13cd443fbb | Python | stepfun-ai | Step-Audio-EditX | 907 | 62 | A powerful 3B-parameter, LLM-based Reinforcement Learning audio edit model excels at editing emotion, speaking style, and paralinguistics, and features robust zero-shot text-to-speech | [
"audio-editing",
"cross-lingual",
"emotion-control",
"paralinguistics",
"reinforcement-learning",
"speaking-style",
"style-control",
"text-to-speech",
"tts",
"voice-cloning",
"zero-shot-tts"
] | Apache-2.0 | src/utils/flow_server.py | flow_server.py | 6,087 | import os
import io
import base64
import torch
import torchaudio
import numpy as np
from threading import Lock
from typing import List, Optional
from fastapi import FastAPI, HTTPException
from pydantic import BaseModel, Field
import os
os.environ['NO_PROXY'] = '*' # 或者写具体的 IP: '[REDACTED_IP]'
os.environ['no_proxy'] = ... | 495 | 5,407 | 159 | 0.98 | 2026-04-22T20:25:49.926185 | true |
github_FullAgent_fulling_db3ce631cb3326f156289ac92d87badb9c00bb66 | TypeScript | FullAgent | fulling | 2,413 | 231 | Fulling is an AI-powered Full-stack Engineer Agent. Built with Next.js, Claude, shadcn/ui, and PostgreSQL. Use kubernetes as infra. | [
"ai-agent",
"claude",
"claude-code",
"docker",
"kubernetes",
"llm",
"nextjs",
"pgsql",
"postgresql",
"prisma",
"react",
"shadcn-ui",
"typescript",
"vibe-coding"
] | MIT | lib/util/common.ts | common.ts | 339 | import { customAlphabet } from 'nanoid'
// Character set: uppercase, lowercase, and numbers only
const alphabet = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789'
const nanoidAlphanumeric = customAlphabet(alphabet)
export function generateRandomString(length: number = 12): string {
return nanoidAlph... | 33 | 339 | 10 | 0.98 | 2026-04-23T10:50:08.087023 | true |
github_harmony-one_harmony_66e563efa732d48e882d3b69d53fc1c6438613e1 | Go | harmony-one | harmony | 1,453 | 287 | The core protocol of harmony | [
"blockchain",
"bls",
"consensus",
"distributed-ledger-technology",
"harmony",
"harmony-protocol",
"pbft",
"proof-of-stake",
"sharding"
] | LGPL-3.0 | core/state/transient_storage.go | transient_storage.go | 1,805 | // Copyright 2022 The go-ethereum Authors
// This file is part of the go-ethereum library.
//
// The go-ethereum library is free software: you can redistribute it and/or modify
// it under the terms of the GNU Lesser General Public License as published by
// the Free Software Foundation, either version 3 of the License... | 269 | 1,805 | 56 | 0.98 | 2026-04-17T16:57:52.164806 | true |
github_GoogleCloudPlatform_microservices-demo_8d468999f553396ac4136770aa9ba4cedf25f6ef | JavaScript | GoogleCloudPlatform | microservices-demo | 20,118 | 9,776 | Sample cloud-first application with 10 microservices showcasing Kubernetes, Istio, and gRPC. | [
"gcp",
"gke",
"google-cloud",
"grpc",
"istio",
"kubernetes",
"kustomize",
"sample-application",
"samples",
"skaffold",
"terraform"
] | Apache-2.0 | src/currencyservice/server.js | server.js | 5,429 | /*
* Copyright 2018 Google LLC.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... | 564 | 5,429 | 199 | 0.98 | 2026-04-17T09:30:38.398439 | true |
github_starship_starship_fa6ea9ffa35d7e5afb17b40e1cc0273e06f31e34 | Rust | starship | starship | 56,483 | 2,470 | ☄🌌️ The minimal, blazing-fast, and infinitely customizable prompt for any shell! | [
"bash",
"fish",
"fish-prompt",
"fish-theme",
"oh-my-zsh",
"powershell",
"rust",
"shell-prompt",
"starship",
"zsh",
"zsh-prompt",
"zsh-theme"
] | ISC | src/configs/pulumi.rs | pulumi.rs | 724 | use serde::{Deserialize, Serialize};
#[derive(Clone, Deserialize, Serialize)]
#[cfg_attr(
feature = "config-schema",
derive(schemars::JsonSchema),
schemars(deny_unknown_fields)
)]
#[serde(default)]
pub struct PulumiConfig<'a> {
pub format: &'a str,
pub version_format: &'a str,
pub symbol: &'a s... | 72 | 722 | 31 | 0.98 | 2026-04-17T13:17:57.968347 | true |
github_redux-offline_redux-offline_81453e8734f94788287030876dbef955dec217df | JavaScript | redux-offline | redux-offline | 6,136 | 393 | Build Offline-First Apps for Web and React Native | [
"hacktoberfest",
"offline-capable",
"react",
"react-native",
"redux"
] | MIT | src/defaults/effect.js | effect.js | 2,274 | // @flow
import type { OfflineAction } from '../types';
export function NetworkError(response: {} | string, status: number) {
this.name = 'NetworkError';
this.status = status;
this.response = response;
}
// $FlowFixMe
NetworkError.prototype = Error.prototype;
const tryParseJSON = (json: string): ?{} => {
if... | 256 | 2,274 | 87 | 0.98 | 2026-04-23T06:04:13.355768 | true |
github_JoeanAmier_TikTokDownloader_df514e86aa9f740e2ad5f8088087484c466e1036 | Python | JoeanAmier | TikTokDownloader | 14,133 | 2,439 | TikTok 发布/喜欢/合辑/直播/视频/图集/音乐;抖音发布/喜欢/收藏/收藏夹/视频/图集/实况/直播/音乐/合集/评论/账号/搜索/热榜数据采集工具/下载工具 | [
"abogus",
"api",
"csv",
"docker",
"douyin",
"downloader",
"ffmpeg",
"httpx",
"linux",
"macos",
"mstoken",
"pyinstaller",
"python",
"rich",
"server",
"sqlite",
"tiktok",
"ttwid",
"windows",
"xlsx"
] | GPL-3.0 | src/interface/live_tiktok.py | live_tiktok.py | 1,773 | from typing import TYPE_CHECKING
from typing import Union
from src.interface.template import APITikTok
from src.translation import _
if TYPE_CHECKING:
from ..config import Parameter
from src.testers import Params
class LiveTikTok(APITikTok):
live_api = "https://webcast.us.tiktok.com/webcast/room/enter/"... | 148 | 1,727 | 77 | 0.98 | 2026-04-23T03:02:58.410261 | true |
github_opendilab_DI-drive_8e789b76b4e1ead2cd9201b5f37362c16ebda38b | Python | opendilab | DI-drive | 637 | 60 | Decision Intelligence Platform for Autonomous Driving simulation. | [
"autodrive",
"autonomous-driving",
"carla",
"imitation-learning",
"metadrive",
"pytorch",
"reinforcement-learning"
] | Apache-2.0 | core/policy/base_carla_policy.py | base_carla_policy.py | 3,390 | from collections import namedtuple, deque
from typing import List, Dict, Optional, Union, Any, NamedTuple
from ding.utils.default_helper import deep_merge_dicts
from ding.policy import Policy
class BaseCarlaPolicy(Policy):
"""
Base class for Carla policy interact with environments. The policy is defined in s... | 345 | 3,390 | 92 | 0.98 | 2026-04-22T20:42:16.243284 | true |
github_wavetermdev_waveterm_5b7006da09a94cd3ece61ca866d1bd993e8cbf2e | Go | wavetermdev | waveterm | 19,626 | 898 | An open-source, AI-integrated, cross-platform terminal for seamless workflows | [
"command-line",
"developer-tools",
"linux",
"macos",
"productivity",
"terminal",
"terminal-emulators",
"windows"
] | Apache-2.0 | pkg/filestore/blockstore_dbops.go | blockstore_dbops.go | 4,133 | // Copyright 2025, Command Line Inc.
// SPDX-License-Identifier: Apache-2.0
package filestore
import (
"context"
"fmt"
"io/fs"
"os"
"github.com/wavetermdev/waveterm/pkg/util/dbutil"
)
// can return fs.ErrExist
func dbInsertFile(ctx context.Context, file *WaveFile) error {
// will fail if file already exists
... | 537 | 4,133 | 118 | 0.98 | 2026-04-17T09:34:09.931981 | true |
github_goofychris_art-template_ac51414c41beb3c62eb64170e1b7d7df22e5d0b1 | JavaScript | goofychris | art-template | 9,873 | 2,653 | High performance JavaScript templating engine | [
"express",
"javascript",
"koa",
"nodejs",
"template-engine",
"webpack"
] | MIT | src/compile/es-tokenizer.js | es-tokenizer.js | 682 | const isKeyword = require('is-keyword-js');
const jsTokens = require('js-tokens').default;
const matchToToken = require('js-tokens').matchToToken;
/**
* 将逻辑表达式解释为 Tokens
* @param {string} code
* @return {Object[]}
*/
const esTokenizer = code => {
const tokens = code
.match(jsTokens)
.map(value ... | 67 | 664 | 28 | 0.98 | 2026-04-23T07:02:03.374967 | true |
github_0no-co_gql.tada_e920eeca41d833db9d3f972deb6a41e896e99c77 | TypeScript | 0no-co | gql.tada | 2,925 | 57 | 🪄 Magical GraphQL query engine for TypeScript | [
"graphql",
"typescript"
] | MIT | src/__tests__/api.test.ts | api.test.ts | 6,672 | import { Kind } from '@0no-co/graphql.web';
import { describe, it, test, expect } from 'vitest';
import * as ts from './tsHarness';
import type { simpleIntrospection } from './fixtures/simpleIntrospection';
import { initGraphQLTada } from '../api';
const testTypeHost = test.each([
{ strictNullChecks: false, noImplic... | 577 | 6,672 | 247 | 0.98 | 2026-04-18T01:38:15.306941 | true |
github_getmaxun_maxun_96a84a6b04e152c302ee8b8c0bdf1dd0a5f819fa | TypeScript | getmaxun | maxun | 15,478 | 1,270 | 🔥 The open-source no-code platform for web scraping, crawling, search and AI data extraction • Turn websites into structured APIs in minutes 🔥 | [
"agents",
"api",
"automation",
"browser-automation",
"crawler",
"crawling",
"data-extraction",
"no-code",
"nocode",
"playwright",
"robotic-process-automation",
"rpa",
"scraper",
"self-hosted",
"web-scraper",
"web-scraping",
"web-search",
"webscraping"
] | AGPL-3.0 | src/i18n.ts | i18n.ts | 549 | import i18n from 'i18next';
import { initReactI18next } from 'react-i18next';
import Backend from 'i18next-http-backend';
import LanguageDetector from 'i18next-browser-languagedetector';
i18n
.use(Backend)
.use(LanguageDetector)
.use(initReactI18next)
.init({
fallbackLng: 'en',
debug: import.meta.env.D... | 51 | 549 | 22 | 0.98 | 2026-04-17T17:55:19.708750 | true |
github_zhouxiaoka_autoclip_mvp_70b954999e3dd9136dc607cced3c2448bd77e348 | Python | zhouxiaoka | autoclip_mvp | 953 | 165 | AutoClip: AI-powered video clipping and highlight generation · 一款智能高光提取与剪辑的二创工具 | [
"ai-video-editing",
"auto-highlight",
"llm",
"video",
"video-editing"
] | MIT | src/utils/siliconflow_client.py | siliconflow_client.py | 10,672 | """
硅基流动API客户端 - 封装硅基流动API调用
"""
import json
import logging
import os
import re
from typing import Dict, Any, List
from openai import OpenAI
from collections.abc import Generator
logger = logging.getLogger(__name__)
class SiliconFlowClient:
"""硅基流动API客户端"""
def __init__(self, api_key: str = None, model: ... | 599 | 9,008 | 256 | 0.98 | 2026-04-18T00:05:10.212472 | true |
github_testing-library_jest-dom_d34d310fc6f0ab3ed05383c9aba3cffab0e71533 | JavaScript | testing-library | jest-dom | 4,593 | 414 | :owl: Custom jest matchers to test the state of the DOM | [
"custom-matcher",
"dom",
"dom-testing-library",
"javascript",
"jest",
"jest-matchers",
"jsdom",
"react-testing-library",
"testing",
"testing-library",
"testing-library-react"
] | MIT | src/to-have-accessible-errormessage.js | to-have-accessible-errormessage.js | 2,571 | import {checkHtmlElement, getMessage, normalize} from './utils'
const ariaInvalidName = 'aria-invalid'
const validStates = ['false']
// See `aria-errormessage` spec at https://www.w3.org/TR/wai-aria-1.2/#aria-errormessage
export function toHaveAccessibleErrorMessage(
htmlElement,
expectedAccessibleErrorMessage,
)... | 203 | 2,571 | 86 | 0.98 | 2026-04-23T12:20:42.403178 | true |
github_pubkey_rxdb_15386fc5fb3d6784b751d50a396f2e6644bec685 | TypeScript | pubkey | rxdb | 23,156 | 1,161 | A fast, local first, reactive Database for JavaScript Applications https://rxdb.info/ | [
"angular",
"browser-database",
"couchdb",
"crdt",
"database",
"firebase",
"graphql",
"indexeddb",
"ionic",
"local-first",
"localstorage",
"nodejs",
"nosql",
"postgres",
"pouchdb",
"react-native",
"realtime",
"realtime-database",
"rxdb",
"sqlite"
] | Apache-2.0 | src/rx-schema.ts | rx-schema.ts | 8,291 | import {
overwriteGetterForCaching,
isMaybeReadonlyArray,
deepEqual
} from './plugins/utils/index.ts';
import {
newRxError,
} from './rx-error.ts';
import {
runPluginHooks
} from './hooks.ts';
import type {
DeepMutable,
DeepReadonly,
HashFunction,
MaybeReadonly,
RxDocument,
... | 707 | 8,291 | 259 | 0.98 | 2026-04-23T08:22:09.161767 | true |
github_aden-hive_hive_e3d2963bc4be716a301865552ec48999d8c5f390 | Python | aden-hive | hive | 10,120 | 5,618 | Multi-Agent Harness for Production AI | [
"agent",
"agent-framework",
"agent-skills",
"anthropic",
"automation",
"autonomous-agents",
"claude",
"harness",
"harness-engineering",
"human-in-the-loop",
"openai",
"python",
"self-hosted",
"self-improving"
] | Apache-2.0 | core/tests/test_event_bus.py | test_event_bus.py | 31,717 | """Tests for EventBus pub/sub event system.
Validates subscription management, event publishing, filtering,
concurrency handling, history operations, and convenience publishers.
"""
from __future__ import annotations
import asyncio
from datetime import datetime
import pytest
from framework.host.event_bus import (
... | 2,060 | 31,717 | 912 | 0.98 | 2026-04-23T00:56:55.206988 | true |
github_plastic-labs_honcho_4697b819e46d06648fc139fe880fa6b34ca40bbf | Python | plastic-labs | honcho | 2,772 | 316 | Memory library for building stateful agents | [
"agent-memory",
"ai",
"ai-agents",
"ai-memory",
"anthropic",
"context-engineering",
"continual-learning",
"embeddings",
"fastapi",
"langchain",
"llm",
"long-term-memory",
"memory",
"openai",
"personalization",
"python",
"rag",
"state-management",
"typescript",
"vector-database"... | AGPL-3.0 | src/llm/conversation.py | conversation.py | 6,162 | """Conversation-shaping helpers: token counting + tool-aware truncation.
Moved out of src/utils/clients.py as part of the migration into src/llm/.
These are pure helpers with no orchestration dependencies.
"""
from __future__ import annotations
import json
import logging
from typing import Any, cast
from src.utils.... | 643 | 6,148 | 186 | 0.98 | 2026-04-22T15:34:47.185925 | true |
github_helmfile_helmfile_5d180103d8bed33f1c467ef60fc68c2faef51ce6 | Go | helmfile | helmfile | 5,058 | 338 | Declaratively deploy your Kubernetes manifests, Kustomize configs, and Charts as Helm releases. Generate all-in-one manifests for use with ArgoCD. | [
"helm",
"kubernetes",
"kustomize"
] | MIT | cmd/sync.go | sync.go | 4,868 | package cmd
import (
"github.com/spf13/cobra"
"github.com/helmfile/helmfile/pkg/app"
"github.com/helmfile/helmfile/pkg/config"
)
// NewSyncCmd returns sync subcmd
func NewSyncCmd(globalCfg *config.GlobalImpl) *cobra.Command {
syncOptions := config.NewSyncOptions()
cmd := &cobra.Command{
Use: "sync",
Shor... | 491 | 4,868 | 64 | 0.98 | 2026-04-17T21:36:57.407002 | true |
github_hashicorp_terraform_b764890515fed9330f3f2a01f2e80ec424246371 | Go | hashicorp | terraform | 48,150 | 10,287 | Terraform enables you to safely and predictably create, change, and improve infrastructure. It is a source-available tool that codifies APIs into declarative configuration files that can be shared amongst team members, treated as code, edited, reviewed, and versioned. | [
"cloud",
"cloud-management",
"graph",
"infrastructure-as-code",
"terraform"
] | NOASSERTION | internal/addrs/output_value_test.go | output_value_test.go | 3,036 | // Copyright IBM Corp. 2014, 2026
// SPDX-License-Identifier: BUSL-1.1
package addrs
import (
"fmt"
"strings"
"testing"
"github.com/go-test/deep"
)
func TestAbsOutputValueInstanceEqual_true(t *testing.T) {
foo, diags := ParseModuleInstanceStr("module.foo")
if len(diags) > 0 {
t.Fatalf("unexpected diags: %s"... | 350 | 3,036 | 135 | 0.98 | 2026-04-17T07:24:01.376462 | true |
github_lucidrains_tab-transformer-pytorch_017b5f64fb653e014376df5fa06cbce1200e009d | Python | lucidrains | tab-transformer-pytorch | 1,073 | 131 | Implementation of TabTransformer, attention network for tabular data, in Pytorch | [
"artificial-intelligence",
"attention-mechanism",
"deep-learning",
"tabular-data",
"transformer"
] | MIT | setup.py | setup.py | 922 | from setuptools import setup, find_packages
setup(
name = 'tab-transformer-pytorch',
packages = find_packages(),
version = '0.6.1',
license='MIT',
description = 'Tab Transformer - Pytorch',
long_description_content_type = 'text/markdown',
author = 'Phil Wang',
author_email = '[REDACTED_EMAIL]',
url =... | 85 | 922 | 34 | 0.98 | 2026-04-22T21:10:39.802173 | true |
github_reactjs_react.dev_5ad0a64b01835e1ee7d96c7b172604017b5a1c33 | JavaScript | reactjs | react.dev | 11,733 | 7,893 | The React documentation website | [
"documentation",
"javascript",
"react",
"website"
] | CC-BY-4.0 | src/utils/prepareMDX.js | prepareMDX.js | 3,139 | /**
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
/*
* Copyright (c) Facebook, Inc. and its affiliates.
*/
import {Children} from 'react';
// TODO: This logic could be in MDX... | 358 | 3,139 | 125 | 0.98 | 2026-04-23T05:38:57.790136 | true |
github_greensock_GSAP_05af6854850c17d1928dab545f88cf4cea52563a | JavaScript | greensock | GSAP | 24,471 | 1,966 | GSAP (GreenSock Animation Platform), a JavaScript animation library for the modern web | [
"animation",
"gsap",
"javascript",
"javascript-library",
"scroll"
] | UNKNOWN | src/all.js | all.js | 1,505 | import gsap from "./gsap-core.js";
import CSSPlugin from "./CSSPlugin.js";
const gsapWithCSS = gsap.registerPlugin(CSSPlugin) || gsap, // to protect from tree shaking
TweenMaxWithCSS = gsapWithCSS.core.Tween;
export { gsapWithCSS as gsap, gsapWithCSS as default, TweenMaxWithCSS as TweenMax, CSSPlugin };
export { Twe... | 174 | 1,505 | 33 | 0.98 | 2026-04-23T13:50:14.469301 | true |
github_nodejs_node_5059b651f467cabb52b81d2c764e310502146b9e | JavaScript | nodejs | node | 116,870 | 35,414 | Node.js JavaScript runtime ✨🐢🚀✨ | [
"javascript",
"js",
"linux",
"macos",
"mit",
"node",
"nodejs",
"runtime",
"windows"
] | NOASSERTION | lib/internal/blob.js | blob.js | 13,917 | 'use strict';
const {
MathMax,
MathMin,
ObjectDefineProperties,
ObjectDefineProperty,
ObjectSetPrototypeOf,
PromisePrototypeThen,
PromiseReject,
PromiseWithResolvers,
RegExpPrototypeExec,
RegExpPrototypeSymbolReplace,
StringPrototypeSplit,
StringPrototypeToLowerCase,
Symbol,
SymbolToStringT... | 1,535 | 13,917 | 540 | 0.98 | 2026-04-23T06:15:48.469314 | true |
github_pathwaycom_pathway_97c4b2cc85fda25c6888b91854519cd390816521 | Rust | pathwaycom | pathway | 63,434 | 1,631 | Python ETL framework for stream processing, real-time analytics, LLM pipelines, and RAG. | [
"batch-processing",
"data-analytics",
"data-pipelines",
"data-processing",
"dataflow",
"etl",
"etl-framework",
"iot-analytics",
"kafka",
"machine-learning-algorithms",
"pathway",
"python",
"real-time",
"rust",
"stream-processing",
"streaming",
"time-series-analysis"
] | NOASSERTION | src/persistence/frontier.rs | frontier.rs | 1,673 | // Copyright © 2026 Pathway
use std::collections::{hash_map, HashMap};
use serde::{Deserialize, Serialize};
use serde_with::serde_as;
use crate::connectors::{OffsetKey, OffsetValue};
#[serde_as]
#[derive(Clone, Debug, Default, Serialize, Deserialize, Eq, PartialEq)]
pub struct OffsetAntichain {
#[serde_as(as = ... | 165 | 1,672 | 66 | 0.98 | 2026-04-23T04:40:47.870817 | true |
github_Automattic_mongoose_7b6f910ee99068971d57bd72b818900bb979d6b5 | JavaScript | Automattic | mongoose | 27,471 | 3,979 | MongoDB object modeling designed to work in an asynchronous environment. | [
"mongo",
"mongodb",
"nodejs",
"odm",
"orm"
] | MIT | lib/error/divergentArray.js | divergentArray.js | 1,099 |
/*!
* Module dependencies.
*/
'use strict';
const MongooseError = require('./mongooseError');
/**
* DivergentArrayError constructor.
* @param {string[]} paths
* @api private
*/
class DivergentArrayError extends MongooseError {
constructor(paths) {
const msg = 'For your own good, using `document.save()... | 136 | 1,099 | 41 | 0.98 | 2026-04-23T06:42:14.226501 | true |
github_google_zx_dde78daf12f42ef13ebef9c2aadd9438c109ca31 | TypeScript | google | zx | 45,409 | 1,253 | A tool for writing better scripts | [
"bash",
"child-process",
"cli",
"exec",
"javascript",
"nodejs",
"pipe",
"shell",
"spawn"
] | Apache-2.0 | src/vendor-core.ts | vendor-core.ts | 1,235 | // Copyright 2024 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in ... | 184 | 1,235 | 37 | 0.98 | 2026-04-23T06:18:11.109756 | true |
github_buyukakyuz_install-nothing_3f56b5688e6dfba6d8d2efa8a5796faf43860f81 | Rust | buyukakyuz | install-nothing | 1,267 | 37 | A terminal application that simulates installing things but doesn't actually install anything | [
"cli",
"rust",
"simulation",
"terminal"
] | MIT | src/main.rs | main.rs | 1,363 | mod build_logs;
mod cli;
mod config;
mod deno_logs;
mod installer;
mod kernel_logs;
mod log_generator;
mod messages;
mod stages;
mod ui;
use clap::Parser;
use cli::Cli;
use colored::*;
use installer::Installer;
use rand::seq::SliceRandom;
use std::io;
fn main() {
if let Err(e) = run_installer() {
handle_e... | 114 | 1,207 | 56 | 0.98 | 2026-04-17T19:32:32.902844 | true |
github_jsx-eslint_eslint-plugin-react_c7223812606a7dff2d9acf138681ca3ea9703bba | JavaScript | jsx-eslint | eslint-plugin-react | 9,277 | 2,732 | React-specific linting rules for ESLint | [
"development",
"ecmascript",
"eslint",
"javascript",
"lint",
"react"
] | MIT | lib/rules/jsx-handler-names.js | jsx-handler-names.js | 6,682 | /**
* @fileoverview Enforce event handler naming conventions in JSX
* @author Jake Marsh
*/
'use strict';
const minimatch = require('minimatch');
const docsUrl = require('../util/docsUrl');
const getText = require('../util/eslint').getText;
const report = require('../util/report');
// ----------------------------... | 532 | 6,682 | 222 | 0.98 | 2026-04-23T05:49:01.952701 | true |
github_niri-wm_niri_5e52950ac770ebc2b26aaf1d4023876bb70fbb7c | Rust | niri-wm | niri | 22,641 | 820 | A scrollable-tiling Wayland compositor. | [
"rust",
"smithay",
"tiling-window-manager",
"wayland",
"wayland-compositor"
] | GPL-3.0 | src/render_helpers/texture.rs | texture.rs | 7,113 | use smithay::backend::allocator::Fourcc;
use smithay::backend::renderer::element::{Element, Id, Kind, RenderElement, UnderlyingStorage};
use smithay::backend::renderer::gles::GlesTexture;
use smithay::backend::renderer::utils::{CommitCounter, OpaqueRegions};
use smithay::backend::renderer::{ContextId, Frame as _, Impor... | 564 | 7,113 | 256 | 0.98 | 2026-04-17T13:35:55.052365 | true |
github_rayon-rs_rayon_6e15b792d2a7196dde2b550a339518119b19495a | Rust | rayon-rs | rayon | 12,878 | 584 | Rayon: A data parallelism library for Rust | [] | Apache-2.0 | src/split_producer.rs | split_producer.rs | 4,681 | //! Common splitter for strings and slices
//!
//! This module is private, so these items are effectively `pub(super)`
use crate::iter::plumbing::{Folder, UnindexedProducer};
/// Common producer for splitting on a predicate.
pub(super) struct SplitProducer<'p, P, V, const INCL: bool = false> {
data: V,
separa... | 558 | 4,681 | 153 | 0.98 | 2026-04-17T14:17:10.346601 | true |
github_wenzhixin_bootstrap-table_7de899e7fc415537ba4299edf7a7948f25cf6883 | JavaScript | wenzhixin | bootstrap-table | 11,817 | 4,369 | An extended table for integration with some of the most widely used CSS frameworks. (Supports Bootstrap, Semantic UI, Bulma, Material Design, Foundation, Vue.js) | [
"bootstrap",
"bootstrap-table",
"bulma",
"checkbox",
"css",
"css-framework",
"datatables",
"foundation",
"hacktoberfest",
"material",
"material-design",
"materialize",
"pagination",
"radio",
"semantic",
"semantic-ui",
"table",
"vue"
] | MIT | src/modules/initialization.js | initialization.js | 7,851 | import Constants from '../constants/index.js'
import Utils from '../utils/index.js'
export default {
initConstants () {
const opts = this.options
this.constants = Constants.CONSTANTS
this.constants.theme = $.fn.bootstrapTable.theme
this.constants.dataToggle = this.constants.html.dataToggle || 'data-... | 573 | 7,851 | 238 | 0.98 | 2026-04-23T11:50:50.642578 | true |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.