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_dalance_procs_9a99e7c3bed1d2f1c2200cc7b79ae4af9655c958 | Rust | dalance | procs | 6,018 | 142 | A modern replacement for ps written in Rust | [
"cli",
"process",
"rust"
] | MIT | src/config.rs | config.rs | 19,249 | use crate::column::Column;
use crate::columns::ConfigColumnKind;
use serde_derive::{Deserialize, Serialize};
use std::str::FromStr;
// ---------------------------------------------------------------------------------------------------------------------
// Functions for serde default
// --------------------------------... | 1,480 | 19,217 | 668 | 0.98 | 2026-04-17T14:54:20.984172 | true |
github_hashicorp_terraform-provider-aws_fb74aec57b71d77d7a47199a3a77a08ddcd2f8c8 | Go | hashicorp | terraform-provider-aws | 10,842 | 10,081 | The AWS Provider enables Terraform to manage AWS resources. | [
"aws",
"terraform",
"terraform-provider"
] | MPL-2.0 | internal/dns/reverse_test.go | reverse_test.go | 943 | // Copyright IBM Corp. 2014, 2026
// SPDX-License-Identifier: MPL-2.0
package dns
import (
"testing"
)
func TestReverse(t *testing.T) {
t.Parallel()
testCases := []struct {
name string
input string
expected string
}{
{
name: "empty",
input: "",
expected: "",
},
{
name: ... | 104 | 943 | 55 | 0.98 | 2026-04-17T12:30:15.278661 | true |
github_kopia_kopia_d8c082aa7a8d3b1116e18a71e1ea6aa1033650c4 | JavaScript | kopia | kopia | 13,024 | 637 | Cross-platform backup tool for Windows, macOS & Linux with fast, incremental backups, client-side end-to-end encryption, compression and data deduplication. CLI and GUI included. | [
"backup",
"cloud",
"deduplication",
"encryption",
"google-cloud-storage"
] | Apache-2.0 | app/public/electron.js | electron.js | 18,610 | import {
app,
BrowserWindow,
Notification,
screen,
Menu,
Tray,
ipcMain,
dialog,
shell,
} from "electron";
import pkg from "electron-updater";
const autoUpdater = pkg.autoUpdater;
import { iconsPath, publicPath, selectByOS } from "./utils.js";
import {
toggleLaunchAtStartup,
willLaunchAtStartup,
... | 1,850 | 18,610 | 726 | 0.98 | 2026-04-17T11:30:11.902651 | true |
github_casey_just_3107a2fee3847e63c0af81ac8c30288d4a6916a4 | Rust | casey | just | 32,946 | 763 | 🤖 Just a command runner | [] | CC0-1.0 | src/recipe_signature.rs | recipe_signature.rs | 393 | use super::*;
pub(crate) struct RecipeSignature<'a> {
pub(crate) name: &'a str,
pub(crate) recipe: &'a Recipe<'a>,
}
impl ColorDisplay for RecipeSignature<'_> {
fn fmt(&self, f: &mut Formatter, color: Color) -> fmt::Result {
write!(f, "{}", self.name)?;
for parameter in &self.recipe.parameters {
w... | 46 | 393 | 17 | 0.98 | 2026-04-17T13:23:32.834705 | true |
github_trunk-rs_trunk_7043be2a716607d787cfe0c8e90f83ab50740a4a | Rust | trunk-rs | trunk | 4,242 | 315 | Build, bundle & ship your Rust WASM application to the web. | [
"assets",
"build-tool",
"bundler",
"compiler",
"html",
"rust",
"sass",
"scss",
"wasm",
"wasm-bindgen"
] | Apache-2.0 | src/pipelines/sass.rs | sass.rs | 7,780 | //! Sass/Scss asset pipeline.
use super::{
ATTR_HREF, ATTR_INLINE, ATTR_NO_MINIFY, AssetFile, AttrWriter, Attrs, TrunkAssetPipelineOutput,
data_target_path,
};
use crate::{
common::{self, dist_relative, html_rewrite::Document, nonce_attr, target_path},
config::rt::RtcBuild,
processing::integrity::{... | 686 | 7,780 | 235 | 0.98 | 2026-04-17T17:02:35.337253 | true |
github_phsym_prettytable-rs_5db73fa930db77f0ea52c6e0280c99a957cb0b30 | Rust | phsym | prettytable-rs | 1,045 | 78 | A rust library to print aligned and formatted tables | [
"cli",
"crates",
"formatting",
"rust"
] | BSD-3-Clause | src/cell.rs | cell.rs | 17,783 | //! This module contains definition of table/row cells stuff
use super::format::Alignment;
use super::utils::{display_width, print_align, HtmlEscape};
use super::{color, Attr, Terminal};
use std::io::{Error, Write};
use std::str::FromStr;
use std::string::ToString;
/// Represent a table cell containing a string.
///
... | 1,774 | 17,742 | 542 | 0.98 | 2026-04-17T19:36:25.056543 | true |
github_DeepInsight-AI_DeepBI_fdee0bd8717619310ab71f0a2bc3afab394cb6b9 | JavaScript | DeepInsight-AI | DeepBI | 2,346 | 370 | LLM based data scientist, AI native data application. AI-driven infinite thinking redefines BI. | [
"ai",
"analysis",
"bi",
"csv",
"data",
"gpt",
"gpt-4",
"llm",
"mysql",
"redis"
] | MIT | webpack.config.js | webpack.config.js | 8,815 | /* eslint-disable */
require('dotenv').config();
const webpack = require("webpack");
const HtmlWebpackPlugin = require("html-webpack-plugin");
const WebpackBuildNotifierPlugin = require("webpack-build-notifier");
const ManifestPlugin = require("webpack-manifest-plugin");
const MiniCssExtractPlugin = require("mini-css-... | 726 | 8,815 | 320 | 0.98 | 2026-04-17T16:02:40.341808 | true |
github_casey_just_b22e9043d0f44101acdd64a1388a34f8a962d639 | Rust | casey | just | 32,946 | 763 | 🤖 Just a command runner | [] | CC0-1.0 | src/justfile.rs | justfile.rs | 26,952 | use {super::*, serde::Serialize};
type Scopes<'src, 'run> = BTreeMap<
Modulepath,
(
&'run Justfile<'src>,
&'run Scope<'src, 'run>,
&'run BTreeMap<String, String>,
),
>;
#[derive(Debug, PartialEq, Serialize)]
pub(crate) struct Justfile<'src> {
pub(crate) aliases: Table<'src, Alias<'src>>,
pub(cra... | 2,640 | 26,952 | 1,302 | 0.98 | 2026-04-17T13:23:18.706989 | true |
github_containers_skopeo_0576af97b40ac571d184aa8ba7c71b818bc4c672 | Go | containers | skopeo | 10,730 | 914 | Work with remote images registries - retrieving information, images, signing content | [] | Apache-2.0 | cmd/skopeo/main_test.go | main_test.go | 1,854 | package main
import (
"bytes"
"crypto/tls"
"testing"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
"go.podman.io/image/v5/types"
)
// runSkopeo creates an app object and runs it with args, with an implied first "skopeo".
// Returns output intended for stdout and the returned error,... | 152 | 1,854 | 61 | 0.98 | 2026-04-17T12:31:57.359728 | true |
github_existence-master_Sentient_ffee271d79b79ab242ca50e623958d6551ff450d | JavaScript | existence-master | Sentient | 680 | 98 | A personal AI assistant for everyone | [
"agents",
"artificial-general-intelligence",
"artificial-intelligence",
"automation",
"context",
"mcp",
"memory",
"open-source",
"personalization",
"proactive-ai"
] | NOASSERTION | src/client/jest.setup.js | jest.setup.js | 150 | // This file is automatically run before each test.
import "@testing-library/jest-dom"
// Mock fetch globally for all tests
global.fetch = jest.fn()
| 21 | 150 | 6 | 0.98 | 2026-04-23T03:57:11.002488 | true |
github_mongodb_mongo-go-driver_8f0f5cb4ac7702cd9de260e84451bca51314f6fa | Go | mongodb | mongo-go-driver | 8,518 | 923 | The Official Golang driver for MongoDB | [
"database",
"driver",
"go",
"golang",
"golang-library",
"mongodb"
] | Apache-2.0 | internal/integration/main_test.go | main_test.go | 953 | // Copyright (C) MongoDB, Inc. 2017-present.
//
// 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
package integration
import (
"flag"
"log"
"os"... | 137 | 953 | 36 | 0.98 | 2026-04-17T18:12:31.125006 | true |
github_MichalLytek_type-graphql_9f3390100ef20910c24c4b0dd60b43a871fe58e3 | TypeScript | MichalLytek | type-graphql | 8,087 | 674 | Create GraphQL schema and resolvers with TypeScript, using classes and decorators! | [
"api",
"controllers",
"decorators",
"gql",
"graphql",
"graphql-js",
"graphql-schema",
"hacktoberfest",
"resolvers",
"schema",
"typescript"
] | MIT | src/typings/auth-checker.ts | auth-checker.ts | 715 | import { type ResolverData } from "./resolver-data";
import { type ClassType } from "./utils";
export type AuthCheckerFn<TContextType extends object = object, TRoleType = string> = (
resolverData: ResolverData<TContextType>,
roles: TRoleType[],
) => boolean | Promise<boolean>;
export interface AuthCheckerInterfac... | 78 | 715 | 18 | 0.98 | 2026-04-17T17:58:07.723195 | true |
github_stepfun-ai_Step-Audio-EditX_e7dd4bff63a8ed1d59a9d738c0a07e450abe21d2 | 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/model/step_audio.py | step_audio.py | 17,695 | import math
from dataclasses import dataclass
from einops import rearrange
import torch.nn.functional
from dataclasses import dataclass
from typing import Tuple, Iterable, Optional
import numpy as np
import torch
import torch.nn.functional as F
from torch import Tensor, nn
from torch.nn.parameter import Parameter
from... | 1,644 | 17,695 | 481 | 0.98 | 2026-04-22T20:25:47.943487 | true |
github_containernetworking_cni_0e2a4ad92c6a4083622d4664c64ab36de2678137 | Go | containernetworking | cni | 6,028 | 1,135 | Container Network Interface - networking for Linux containers | [
"containers",
"docker",
"kubernetes",
"networking"
] | Apache-2.0 | pkg/invoke/get_version_integration_test.go | get_version_integration_test.go | 3,957 | // Copyright 2016 CNI 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 ... | 391 | 3,957 | 134 | 0.98 | 2026-04-17T20:45:44.691501 | true |
github_jfairbank_redux-saga-test-plan_4d92cd03017815beef8c4472f2f388a22568f3e2 | TypeScript | 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 | index.d.ts | index.d.ts | 4,529 | import { Action, Reducer } from 'redux';
import { SagaIterator } from 'redux-saga';
import * as E from 'redux-saga/effects';
import { Matcher } from './matchers';
import { EffectProviders, StaticProvider } from './providers';
import { EffectApi, EffectApiEx } from './effects'
type Timeout = number | false;
type Time... | 457 | 4,529 | 128 | 0.98 | 2026-04-23T12:31:21.197958 | true |
github_makenotion_notion-sdk-js_77bf1f496e69a122eaa80d365173720ea948b065 | TypeScript | makenotion | notion-sdk-js | 5,586 | 706 | Official Notion JavaScript Client | [
"api",
"api-client",
"javascript",
"js",
"notion",
"typescript"
] | MIT | src/logging.ts | logging.ts | 796 | import { assertNever } from "./utils"
export enum LogLevel {
DEBUG = "debug",
INFO = "info",
WARN = "warn",
ERROR = "error",
}
export type Logger = (
level: LogLevel,
message: string,
extraInfo: Record<string, unknown>
) => void
export function makeConsoleLogger(name: string): Logger {
return (level,... | 101 | 796 | 39 | 0.98 | 2026-04-17T17:59:49.019098 | true |
github_shelljs_shelljs_1d3d0e745a7ec53ecac3fe7c1b207809e20d1aef | JavaScript | shelljs | shelljs | 14,404 | 746 | :shell: Portable Unix shell commands for Node.js | [
"bash",
"javascript",
"node",
"nodejs",
"shell",
"shelljs",
"unix"
] | BSD-3-Clause | src/ln.js | ln.js | 1,966 | var fs = require('fs');
var path = require('path');
var common = require('./common');
common.register('ln', _ln, {
cmdOptions: {
's': 'symlink',
'f': 'force',
},
});
//@
//@ ### ln([options,] source, dest)
//@
//@ Available options:
//@
//@ + `-s`: symlink
//@ + `-f`: force
//@
//@ Examples:
//@
//@ ```ja... | 233 | 1,966 | 76 | 0.98 | 2026-04-23T06:56:07.593656 | true |
github_hrkfdn_ncspot_71bd5fb2b2518db214d20e9198db391344125fd7 | Rust | hrkfdn | ncspot | 6,560 | 264 | Cross-platform ncurses Spotify client written in Rust, inspired by ncmpc and the likes. | [] | BSD-2-Clause | src/model/playable.rs | playable.rs | 7,107 | use chrono::{DateTime, Utc};
use rspotify::model::PlayableItem;
use crate::library::Library;
use crate::model::album::Album;
use crate::model::artist::Artist;
use crate::model::episode::Episode;
use crate::model::track::Track;
use crate::queue::Queue;
use crate::traits::{ListItem, ViewExt};
use crate::utils::ms_to_hms... | 545 | 7,105 | 247 | 0.98 | 2026-04-17T14:47:52.287367 | true |
github_starship_starship_995f5f7f75173e8c58c6f189e5a1194895ece347 | 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/git_branch.rs | git_branch.rs | 1,032 | use serde::{Deserialize, Serialize};
#[derive(Clone, Deserialize, Serialize)]
#[cfg_attr(
feature = "config-schema",
derive(schemars::JsonSchema),
schemars(deny_unknown_fields)
)]
#[serde(default)]
pub struct GitBranchConfig<'a> {
pub format: &'a str,
pub symbol: &'a str,
pub style: &'a str,
... | 93 | 1,028 | 39 | 0.98 | 2026-04-17T13:17:40.315450 | true |
github_shelljs_shelljs_abed9a987739c3e925a874490e55fa018334e0cc | JavaScript | shelljs | shelljs | 14,404 | 746 | :shell: Portable Unix shell commands for Node.js | [
"bash",
"javascript",
"node",
"nodejs",
"shell",
"shelljs",
"unix"
] | BSD-3-Clause | src/cp.js | cp.js | 10,399 | var fs = require('fs');
var path = require('path');
var common = require('./common');
common.register('cp', _cp, {
cmdOptions: {
'f': '!no_force',
'n': 'no_force',
'u': 'update',
'R': 'recursive',
'r': 'recursive',
'L': 'followsymlink',
'P': 'noFollowsymlink',
'p': 'preserve',
},
... | 1,272 | 10,399 | 321 | 0.98 | 2026-04-23T06:56:03.633719 | true |
github_cordx56_rustowl_5c8261937d7dd98d9ca0a63f8538cdf15796316f | Rust | cordx56 | rustowl | 5,111 | 112 | Visualize Ownership and Lifetimes in Rust | [
"lifetime",
"ownership",
"rust",
"visualization"
] | MPL-2.0 | src/models.rs | models.rs | 7,562 | #![allow(unused)]
use serde::{Deserialize, Serialize};
use std::collections::HashMap;
#[derive(Debug, Clone, Copy, PartialEq, Eq, Hash, Serialize, Deserialize)]
pub struct FnLocal {
pub id: u32,
pub fn_id: u32,
}
impl FnLocal {
pub fn new(id: u32, fn_id: u32) -> Self {
Self { id, fn_id }
}
}
... | 874 | 7,562 | 313 | 0.98 | 2026-04-17T15:17:57.514101 | true |
github_Lightning-AI_torchmetrics_1744df6f66b101d4bd01024cc1cd2116b39d8df4 | Python | Lightning-AI | torchmetrics | 2,429 | 485 | Machine learning metrics for distributed, scalable PyTorch applications. | [
"analyses",
"data-science",
"deep-learning",
"machine-learning",
"metrics",
"python",
"pytorch"
] | Apache-2.0 | src/torchmetrics/aggregation.py | aggregation.py | 28,384 | # Copyright The Lightning team.
#
# 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 writin... | 3,037 | 28,384 | 741 | 0.98 | 2026-04-22T23:13:25.816260 | true |
github_skim-rs_skim_7916bc49199d9bab5477ac7a57b47475e736194c | Rust | skim-rs | skim | 6,756 | 244 | Fuzzy Finder in rust! | [
"fuzzyfinder",
"rust",
"skim"
] | MIT | src/tui/util.rs | util.rs | 20,771 | use crossterm::terminal;
use ratatui::{
style::Style,
text::{Line, Span, Text},
};
use std::io::{self, Write};
#[cfg(unix)]
use std::{
fs::OpenOptions,
io::Read,
os::fd::{AsFd, AsRawFd},
os::unix::fs::OpenOptionsExt as _,
};
use unicode_display_width::is_double_width;
/// Clips a [`Line`] to at... | 2,010 | 20,741 | 595 | 0.98 | 2026-04-17T14:44:10.900055 | true |
github_louis-e_arnis_039454bf051ce7ce013f528283eab0130c70d7ad | Rust | louis-e | arnis | 15,087 | 1,199 | Generate any location from the real world in Minecraft with a high level of detail. | [
"maps",
"minecraft",
"openstreetmap",
"osm",
"overpass-api",
"rust",
"tauri"
] | Apache-2.0 | src/ground.rs | ground.rs | 12,014 | use crate::args::Args;
use crate::coordinate_system::{cartesian::XZPoint, geographic::LLBBox};
use crate::elevation_data::{fetch_elevation_data, ElevationData};
use crate::land_cover::{self, LandCoverData};
use crate::progress::emit_gui_progress_update;
#[cfg(feature = "gui")]
use crate::telemetry::{send_log, LogLevel}... | 1,268 | 12,014 | 333 | 0.98 | 2026-04-17T13:53:40.958700 | true |
github_kgretzky_evilginx2_44fbeb24765528c5fe54affe1da6192fd38ac9bb | Go | kgretzky | evilginx2 | 14,894 | 2,609 | Standalone man-in-the-middle attack framework used for phishing login credentials along with session cookies, allowing for the bypass of 2-factor authentication | [] | BSD-3-Clause | core/shared.go | shared.go | 902 | package core
import "strings"
func combineHost(sub string, domain string) string {
if sub == "" {
return domain
}
return sub + "." + domain
}
func obfuscateDots(s string) string {
return strings.Replace(s, ".", "[[d0t]]", -1)
}
func removeObfuscatedDots(s string) string {
return strings.Replace(s, "[[d0t]]",... | 158 | 902 | 56 | 0.98 | 2026-04-17T10:38:14.967661 | true |
github_ujjwalkarn_DataSciencePython_8c401fc852e9e7d915237a6b184ca978161f0b82 | Python | ujjwalkarn | DataSciencePython | 5,760 | 1,535 | common data analysis and machine learning tasks using python | [
"data-science",
"data-scientists",
"python",
"python-tutorial"
] | MIT | basic_commands.py | basic_commands.py | 1,533 | >>> a = ['a', 'b', 'c', 'd', 'e']
>>> for index, item in enumerate(a): print index, item # enumerate function will generate an index for the item + item it self.
...
0 a
1 b
2 c
3 d
4 e
#convert a list to string:
list1 = ['1', '2', '3']
str1 = ''.join(list1)
Or if the list is of integers, convert the elements be... | 271 | 1,533 | 82 | 0.98 | 2026-04-22T18:19:19.080173 | true |
github_reactstrap_reactstrap_a05b4c026caee2e699c095112cd7ac9277d46655 | JavaScript | reactstrap | reactstrap | 10,527 | 1,288 | Simple React Bootstrap 5 components | [
"bootstrap",
"components",
"hacktoberfest",
"javascript",
"react",
"reactstrap",
"ui"
] | MIT | src/TooltipPopoverWrapper.js | TooltipPopoverWrapper.js | 10,493 | import React from 'react';
import PropTypes from 'prop-types';
import PopperContent from './PopperContent';
import {
getTarget,
targetPropType,
omit,
PopperPlacements,
mapToCssModules,
DOMElement,
} from './utils';
export const propTypes = {
children: PropTypes.oneOfType([PropTypes.node, PropTypes.func])... | 820 | 10,493 | 404 | 0.98 | 2026-04-23T05:44:29.160366 | true |
github_builderz-labs_mission-control_42003b67c6a8f7e727b33c5cc9f8b16ddb9264c7 | TypeScript | builderz-labs | mission-control | 4,308 | 742 | Self-hosted AI agent orchestration platform: dispatch tasks, run multi-agent workflows, monitor spend, and govern operations from one mission control dashboard. | [
"agent-orchestration",
"ai-agents",
"ai-automation",
"ai-dashboard",
"claude",
"dashboard",
"developer-tools",
"llm",
"mcp",
"nextjs",
"open-source",
"openclaw",
"self-hosted",
"sqlite",
"task-management",
"typescript"
] | MIT | src/lib/migrations.ts | migrations.ts | 59,417 | import { createHash } from 'crypto'
import { readFileSync } from 'fs'
import { join } from 'path'
import type Database from 'better-sqlite3'
export type Migration = {
id: string
up: (db: Database.Database) => void
}
// Plugin hook: extensions can register additional migrations without modifying this file.
const e... | 6,079 | 59,413 | 1,454 | 0.98 | 2026-04-23T10:11:20.767736 | true |
github_cri-o_cri-o_b801a31a51f741a744dee14ccbf0362ff24fa860 | Go | cri-o | cri-o | 5,601 | 1,161 | Open Container Initiative-based implementation of Kubernetes Container Runtime Interface | [
"container-runtime-interface",
"crun",
"hacktoberfest",
"k8s-sig-node",
"kata-containers",
"kubernetes",
"oci",
"oci-runtime",
"runc"
] | Apache-2.0 | internal/criocli/criocli_test.go | criocli_test.go | 4,121 | package criocli_test
import (
"flag"
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
"github.com/urfave/cli/v2"
"github.com/cri-o/cri-o/internal/criocli"
)
// The actual test suite.
var _ = t.Describe("CLI", func() {
const flagName = "flag"
var (
slice *cli.StringSlice
ctx *cli.Context
)
B... | 384 | 4,121 | 166 | 0.98 | 2026-04-17T21:23:17.582511 | true |
github_erigontech_erigon_1653d5559d816fd618bbf2d541c0f99a771e7ffb | Go | erigontech | erigon | 3,554 | 1,500 | Ethereum implementation on the efficiency frontier | [
"blockchain",
"ethereum"
] | LGPL-3.0 | cmd/pics/pics.go | pics.go | 5,667 | // Copyright 2024 The Erigon Authors
// This file is part of Erigon.
//
// Erigon 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, or
// (at your option) any later vers... | 751 | 5,667 | 219 | 0.98 | 2026-04-17T16:48:59.088497 | true |
github_ultraworkers_claw-code_e14d93a41c1748110e197c801d8c98631a5f30fd | 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/bridge/__init__.py | __init__.py | 527 | """Python package placeholder for the archived `bridge` subsystem."""
from __future__ import annotations
from src._archive_helper import load_archive_metadata
_SNAPSHOT = load_archive_metadata("bridge")
ARCHIVE_NAME = _SNAPSHOT["archive_name"]
MODULE_COUNT = _SNAPSHOT["module_count"]
SAMPLE_FILES = tuple(_SNAPSHOT[... | 46 | 527 | 15 | 0.98 | 2026-04-17T13:13:05.844522 | true |
github_zeroclaw-labs_zeroclaw_de9856cf5c335208424f7a2d414f726e565d585d | Rust | zeroclaw-labs | zeroclaw | 30,264 | 4,379 | Fast, small, and fully autonomous AI personal assistant infrastructure, ANY OS, ANY PLATFORM — deploy anywhere, swap anything 🦀 | [
"agent",
"agentic",
"ai",
"infra",
"ml",
"openclaw",
"os",
"zeroclaw"
] | Apache-2.0 | src/peripherals/mod.rs | mod.rs | 4,163 | #[allow(unused_imports)]
#[cfg(feature = "hardware")]
pub use zeroclaw_hardware::peripherals::*;
use crate::config::{Config, PeripheralBoardConfig};
use anyhow::Result;
pub async fn handle_command(cmd: crate::PeripheralCommands, config: &Config) -> Result<()> {
match cmd {
crate::PeripheralCommands::List ... | 322 | 4,163 | 103 | 0.98 | 2026-04-17T13:26:33.756130 | true |
github_rayon-rs_rayon_d01a3e7b12393e29866f98dd63e284aba4773310 | Rust | rayon-rs | rayon | 12,878 | 584 | Rayon: A data parallelism library for Rust | [] | Apache-2.0 | src/slice/chunk_by.rs | chunk_by.rs | 6,653 | use crate::iter::plumbing::*;
use crate::iter::*;
use std::fmt;
use std::marker::PhantomData;
trait ChunkBySlice<T>: AsRef<[T]> + Default + Send {
fn split(self, index: usize) -> (Self, Self);
fn chunk_by(self, pred: &impl Fn(&T, &T) -> bool) -> impl Iterator<Item = Self>;
fn find(&self, pred: &impl Fn(&T... | 806 | 6,653 | 240 | 0.98 | 2026-04-17T14:17:07.378809 | true |
github_Windy3f3f3f3f_claude-code-from-scratch_6592a6fdfb887a49e5ac57c5f55e269c795fff34 | TypeScript | Windy3f3f3f3f | claude-code-from-scratch | 984 | 333 | Build your own Claude Code from scratch. 🔍 Claude Code 开源了 50 万行代码,读不动?用 ~4000 行 TypeScript / Python 从零复现核心架构,11 章分步教程带你理解 coding agent 精髓 | [
"ai",
"ai-agent",
"anthropic",
"build-from-scratch",
"claude",
"claude-code",
"coding-agent",
"llm",
"tutorial",
"typescript"
] | MIT | src/skills.ts | skills.ts | 5,682 | // Skills system — discover, parse, and execute .claude/skills/*/SKILL.md
// Mirrors Claude Code's skill architecture: frontmatter metadata + prompt templates.
import { readFileSync, existsSync, readdirSync, statSync } from "fs";
import { join, basename } from "path";
import { homedir } from "os";
import { parseFrontm... | 585 | 5,306 | 176 | 0.98 | 2026-04-22T17:00:42.855858 | true |
github_starship_starship_90775f07a34700e6e2e6c74e7d7f8c64b8061a36 | 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/julia.rs | julia.rs | 914 | use serde::{Deserialize, Serialize};
#[derive(Clone, Deserialize, Serialize)]
#[cfg_attr(
feature = "config-schema",
derive(schemars::JsonSchema),
schemars(deny_unknown_fields)
)]
#[serde(default)]
pub struct JuliaConfig<'a> {
pub format: &'a str,
pub version_format: &'a str,
pub symbol: &'a st... | 86 | 912 | 35 | 0.98 | 2026-04-17T13:17:47.370451 | true |
github_hijkzzz_pymarl2_6b0ac32d41d2fec2e2cef59fb19d8a21fbccb86d | 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/controllers/lica_controller.py | lica_controller.py | 1,753 | from modules.agents import REGISTRY as agent_REGISTRY
from components.action_selectors import REGISTRY as action_REGISTRY
import torch as th
from .basic_controller import BasicMAC
# This multi-agent controller shares parameters between agents
class LICAMAC(BasicMAC):
def select_actions(self, ep_batch, t_ep, t_env... | 147 | 1,753 | 35 | 0.98 | 2026-04-22T20:37:45.959923 | true |
github_upper_db_b6936bdb1bbc03a2023b7a15d3346da6dc80607c | Go | upper | db | 3,653 | 239 | Data Access Layer (DAL) for PostgreSQL, CockroachDB, MySQL, SQLite and MongoDB with ORM-like features. | [
"cockroachdb",
"dal",
"database",
"db",
"go",
"golang",
"mongodb",
"mysql",
"nosql",
"orm",
"postgresql",
"sql",
"sqlite",
"upper"
] | MIT | clauses.go | clauses.go | 15,513 | // Copyright (c) 2012-present The upper.io/db authors. All rights reserved.
//
// 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 righ... | 2,337 | 15,510 | 490 | 0.98 | 2026-04-17T18:20:20.646764 | true |
github_huggingface_transformers_d733e70b728d63a13befc3a920acb3b982a91a13 | Python | huggingface | transformers | 159,498 | 32,898 | 🤗 Transformers: the model-definition framework for state-of-the-art machine learning models in text, vision, audio, and multimodal models, for both inference and training. | [
"audio",
"deep-learning",
"deepseek",
"gemma",
"glm",
"hacktoberfest",
"llm",
"machine-learning",
"model-hub",
"natural-language-processing",
"nlp",
"pretrained-models",
"python",
"pytorch",
"pytorch-transformers",
"qwen",
"speech-recognition",
"transformer",
"vlm"
] | Apache-2.0 | src/transformers/file_utils.py | file_utils.py | 2,935 | # Copyright 2020 The HuggingFace Team. All rights reserved.
#
# 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 applicabl... | 229 | 2,935 | 106 | 0.98 | 2026-04-17T06:41:04.833337 | true |
github_serenity-rs_serenity_189b6c25b1bd2b82be257caf0aec63455cddd019 | Rust | serenity-rs | serenity | 5,463 | 661 | A Rust library for the Discord API. | [
"discord",
"discord-api",
"hacktoberfest",
"rust"
] | ISC | src/prelude.rs | prelude.rs | 1,047 | //! A set of exports which can be helpful to use.
//!
//! Note that the `SerenityError` re-export is equivalent to [`serenity::Error`], although is
//! re-exported as a separate name to remove likely ambiguity with other crate error enums.
//!
//! # Examples
//!
//! Import all of the exports:
//!
//! ```rust
//! use se... | 124 | 1,047 | 34 | 0.98 | 2026-04-17T15:01:20.708969 | true |
github_eksctl-io_eksctl_7304d4d818810392fe5b5189da37ff31d7699d28 | Go | eksctl-io | eksctl | 5,192 | 1,490 | The official CLI for Amazon EKS | [
"amazon-web-services",
"aws-cloudformation",
"aws-ec2",
"aws-eks",
"eks",
"kubernetes",
"kubernetes-cluster",
"kubernetes-deployment",
"kubernetes-setup"
] | NOASSERTION | pkg/az/az_test.go | az_test.go | 16,607 | package az_test
import (
"context"
"fmt"
"github.com/aws/aws-sdk-go-v2/aws"
"github.com/aws/aws-sdk-go-v2/service/ec2"
ec2types "github.com/aws/aws-sdk-go-v2/service/ec2/types"
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
"github.com/stretchr/testify/mock"
api "github.com/weaveworks/eksctl/pkg/a... | 1,056 | 16,607 | 514 | 0.98 | 2026-04-17T21:35:01.656823 | true |
github_BrainJS_brain.js_fda4601417c5591a107a8a213e27b4c1c755d8f2 | TypeScript | BrainJS | brain.js | 14,860 | 1,078 | 🤖 GPU accelerated Neural networks in JavaScript for Browsers and Node.js | [
"api",
"brain",
"browser",
"convolutional-neural-networks",
"easy-to-use",
"hacktoberfest",
"neural-network",
"node",
"nodejs",
"recurrent-neural-networks",
"stream",
"web"
] | MIT | src/feed-forward.ts | feed-forward.ts | 23,482 | import { IKernelFunctionThis, KernelOutput, Texture } from 'gpu.js';
import { MeanSquaredError } from './estimator/mean-squared-error';
import { ILayer, ILayerJSON } from './layer';
import { Model } from './layer/types';
import { InputOutputValue, INumberArray, INumberHash, lookup } from './lookup';
import * as praxis ... | 2,282 | 23,482 | 796 | 0.98 | 2026-04-17T17:55:52.116273 | true |
github_batrachianai_toad_fd5100747df259517e500a8a2827fd8178edc289 | Python | batrachianai | toad | 2,872 | 131 | A unified interface for AI in your terminal. | [
"agents-ui",
"ai",
"claude",
"claude-code",
"codex-cli",
"commercial-license",
"copilot",
"textual",
"tui"
] | AGPL-3.0 | src/toad/format_path.py | format_path.py | 736 | from pathlib import Path
def format_path(path: Path | str, directory: bool = False) -> str:
"""Format a path, using ~/ syntax as approriate.
Args:
path: A path in Path or str form.
directory: Format path as a directory (append with separator).
Returns:
Returns a formatted path st... | 86 | 736 | 26 | 0.98 | 2026-04-17T15:57:01.728625 | true |
github_nocalhost_nocalhost_f61e8df815671557ee6ca1758fbbcdbdf7688105 | Go | nocalhost | nocalhost | 1,890 | 159 | Nocalhost is Cloud Native Dev Environment. | [
"cloud-environment",
"cloudnative",
"kubernetes",
"microservices"
] | NOASSERTION | cmd/nocalhost-api/nocalhost-api.go | nocalhost-api.go | 1,944 | /*
* Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved.
* This source code is licensed under the Apache License Version 2.0.
*/
// nocalhost-api
package main
import (
"encoding/json"
"fmt"
"nocalhost/internal/nocalhost-api/global"
"nocalhost/pkg/nocalhost-api/app/api/v1/cluster"
"os"
... | 199 | 1,944 | 93 | 0.98 | 2026-04-18T01:02:53.609436 | true |
github_vectordotdev_vector_580c06642a6e338d1c632026774e2d29fc15d74c | 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/app.rs | app.rs | 22,004 | #![allow(missing_docs)]
#[cfg(unix)]
use std::os::unix::process::ExitStatusExt;
#[cfg(windows)]
use std::os::windows::process::ExitStatusExt;
use std::{
num::{NonZeroU64, NonZeroUsize},
path::PathBuf,
process::ExitStatus,
sync::atomic::{AtomicUsize, Ordering},
time::Duration,
};
use exitcode::ExitC... | 1,574 | 22,004 | 680 | 0.98 | 2026-04-17T13:38:45.144106 | true |
github_ChromeDevTools_chrome-devtools-mcp_c1e59e0bb7572fe9a7dd19a27f10ee3b77317b6b | 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/utils/check-for-updates.ts | check-for-updates.ts | 2,350 | /**
* @license
* Copyright 2026 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
import child_process from 'node:child_process';
import fs from 'node:fs/promises';
import os from 'node:os';
import path from 'node:path';
import process from 'node:process';
import {semver} from '../third_party/index.js';
import ... | 279 | 2,350 | 98 | 0.98 | 2026-04-23T08:42:52.823832 | true |
github_langflow-ai_langflow_72314451476659b318ec9445a26bba31fdc14d55 | JavaScript | langflow-ai | langflow | 147,265 | 8,829 | Langflow is a powerful tool for building and deploying AI-powered agents and workflows. | [
"agents",
"chatgpt",
"generative-ai",
"large-language-models",
"multiagent",
"react-flow"
] | MIT | src/frontend/jest.setup.js | jest.setup.js | 3,387 | // Jest setup file to mock globals and Vite-specific syntax
// Mock react-i18next globally so t(key) returns the English string from en.json
const enTranslations = require("./src/locales/en.json");
jest.mock("react-i18next", () => ({
useTranslation: () => ({
t: (key) => enTranslations[key] ?? key,
i18n: { ch... | 416 | 3,387 | 119 | 0.98 | 2026-04-22T21:54:37.359137 | true |
github_huggingface_transformers_cd0710649c918549c3b91268b63366df5a9f1355 | Python | huggingface | transformers | 159,743 | 32,972 | 🤗 Transformers: the model-definition framework for state-of-the-art machine learning models in text, vision, audio, and multimodal models, for both inference and training. | [
"audio",
"deep-learning",
"deepseek",
"gemma",
"glm",
"hacktoberfest",
"llm",
"machine-learning",
"model-hub",
"natural-language-processing",
"nlp",
"pretrained-models",
"python",
"pytorch",
"pytorch-transformers",
"qwen",
"speech-recognition",
"transformer",
"vlm"
] | Apache-2.0 | src/transformers/core_model_loading.py | core_model_loading.py | 66,300 | # Copyright 2025 The HuggingFace Inc. team. All rights reserved.
#
# 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 appl... | 6,469 | 66,296 | 1,491 | 0.98 | 2026-04-22T13:17:50.275342 | true |
github_huggingface_transformers_c3e0157024a35d753f67099cbf4b128ea2acc8e8 | Python | huggingface | transformers | 159,743 | 32,972 | 🤗 Transformers: the model-definition framework for state-of-the-art machine learning models in text, vision, audio, and multimodal models, for both inference and training. | [
"audio",
"deep-learning",
"deepseek",
"gemma",
"glm",
"hacktoberfest",
"llm",
"machine-learning",
"model-hub",
"natural-language-processing",
"nlp",
"pretrained-models",
"python",
"pytorch",
"pytorch-transformers",
"qwen",
"speech-recognition",
"transformer",
"vlm"
] | Apache-2.0 | src/transformers/fusion_mapping.py | fusion_mapping.py | 10,582 | # Copyright 2026 The HuggingFace Inc. team. All rights reserved.
#
# 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 appl... | 961 | 10,582 | 271 | 0.98 | 2026-04-22T13:17:54.134904 | true |
github_ChatGPTNextWeb_NextChat_bff5c9bbe0ac57740f7726dae20d2002444d05ca | 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/masks/index.ts | index.ts | 1,039 | import { Mask } from "../store/mask";
import { type BuiltinMask } from "./typing";
export { type BuiltinMask } from "./typing";
export const BUILTIN_MASK_ID = 100000;
export const BUILTIN_MASK_STORE = {
buildinId: BUILTIN_MASK_ID,
masks: {} as Record<string, BuiltinMask>,
get(id?: string) {
if (!id) return... | 141 | 1,039 | 39 | 0.98 | 2026-04-23T08:58:20.992324 | true |
github_calcom_cal.diy_f0622c041d5b5300c2eee7ce31eb23e42da1c430 | TypeScript | calcom | cal.diy | 41,983 | 12,970 | Scheduling infrastructure for absolutely everyone. | [
"next-auth",
"nextjs",
"open-source",
"postgresql",
"prisma",
"t3-stack",
"tailwindcss",
"trpc",
"turborepo",
"typescript",
"zod"
] | MIT | setupVitest.ts | setupVitest.ts | 529 | import { vi } from "vitest";
// Mock window.matchMedia for jsdom environment
// This needs to be set up before any React components are rendered
const matchMediaMock = vi.fn().mockImplementation((query: string) => ({
matches: false,
media: query,
onchange: null,
addListener: vi.fn(),
removeListener: vi.fn(),... | 59 | 529 | 21 | 0.98 | 2026-04-23T08:59:36.819108 | true |
github_owncast_owncast_fd0bb91af2e47b21d3992423f71f79b34af3fe08 | Go | owncast | owncast | 11,179 | 1,190 | Take control over your live stream video by running it yourself. Streaming + chat out of the box. | [
"activitypub",
"broadcasting",
"chat",
"decentralized",
"federation",
"fediverse",
"golang",
"hacktoberfest",
"hls",
"live",
"livestream",
"owncast",
"rtmp",
"self-hosted",
"streaming-video",
"video"
] | MIT | core/chat/chat.go | chat.go | 5,138 | package chat
import (
"errors"
"net/http"
"sort"
"github.com/owncast/owncast/config"
"github.com/owncast/owncast/core/chat/events"
"github.com/owncast/owncast/models"
"github.com/owncast/owncast/persistence/chatmessagerepository"
"github.com/owncast/owncast/persistence/configrepository"
"github.com/prometheu... | 523 | 5,138 | 190 | 0.98 | 2026-04-17T12:22:37.988129 | true |
github_playcanvas_engine_f0bb72683b1d1d942eceb26c0707da071034470c | JavaScript | playcanvas | engine | 14,770 | 1,766 | Powerful web graphics runtime built on WebGL, WebGPU, WebXR and glTF | [
"3d-gaussian-splatting",
"game-development",
"game-engine",
"gamedev",
"gaussian-splatting",
"gltf",
"hacktoberfest",
"javascript",
"nodejs",
"playcanvas",
"typescript",
"virtual-reality",
"webgl",
"webgl2",
"webgpu",
"webxr"
] | MIT | src/core/indexed-list.js | indexed-list.js | 2,499 | /**
* A ordered list-type data structure that can provide item look up by key and can also return a list.
*
* @ignore
*/
class IndexedList {
/**
* @type {object[]}
* @private
*/
_list = [];
/**
* @type {Object<string, number>}
* @private
*/
_index = {};
/**
*... | 353 | 2,499 | 105 | 0.98 | 2026-04-23T06:54:23.870832 | true |
github_pathwaycom_pathway_f804408c99e84392ac09dee0d53e05e080a322b7 | 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/connectors/backlog.rs | backlog.rs | 1,512 | use std::collections::VecDeque;
use timely::dataflow::ProbeHandle;
use crate::engine::Timestamp;
#[derive(Debug)]
pub struct BacklogEntry {
timestamp: Timestamp,
n_events: usize,
}
impl BacklogEntry {
pub fn new(timestamp: Timestamp) -> Self {
Self {
timestamp,
n_events: ... | 138 | 1,512 | 66 | 0.98 | 2026-04-23T04:40:26.622975 | true |
github_benedekrozemberczki_graph2vec_b8e3d7fe91ad25d8dd1c185467dffa18088c2fb0 | Python | benedekrozemberczki | graph2vec | 936 | 168 | A parallel implementation of "graph2vec: Learning Distributed Representations of Graphs" (MLGWorkshop 2017). | [
"deepwalk",
"diff2vec",
"gemsec",
"graph-embedding",
"graph-kernel",
"graph-wavelet",
"graph2vec",
"implicit-matrix-factorization",
"kernel",
"machine-learning",
"matrix-factorization",
"node-embedding",
"node2vec",
"noise-contrastive-estimation",
"struc2vec",
"subgraph2vec",
"transf... | GPL-3.0 | src/graph2vec.py | graph2vec.py | 4,597 | """Graph2Vec module."""
import os
import json
import glob
import hashlib
import pandas as pd
import networkx as nx
from tqdm import tqdm
from joblib import Parallel, delayed
from param_parser import parameter_parser
from gensim.models.doc2vec import Doc2Vec, TaggedDocument
class WeisfeilerLehmanMachine:
"""
W... | 448 | 4,597 | 136 | 0.98 | 2026-04-22T21:18:52.360623 | true |
github_ultraworkers_claw-code_8c567e91c35de9c39317fb720b8de4a7f303c5ee | 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/port_manifest.py | port_manifest.py | 1,836 | from __future__ import annotations
from collections import Counter
from dataclasses import dataclass
from pathlib import Path
from .models import Subsystem
DEFAULT_SRC_ROOT = Path(__file__).resolve().parent
@dataclass(frozen=True)
class PortManifest:
src_root: Path
total_python_files: int
top_level_mod... | 162 | 1,834 | 53 | 0.98 | 2026-04-17T13:13:17.980075 | true |
github_gin-gonic_gin_50cc3c8ef9c36fad496524c978de3564ca169942 | Go | gin-gonic | gin | 88,301 | 8,572 | Gin is a high-performance HTTP web framework written in Go. It provides a Martini-like API but with significantly better performance—up to 40 times faster—thanks to httprouter. Gin is designed for building REST APIs, web applications, and microservices. | [
"framework",
"gin",
"go",
"middleware",
"performance",
"router",
"server"
] | MIT | context_file_test.go | context_file_test.go | 933 | package gin
import (
"net/http"
"net/http/httptest"
"testing"
"github.com/stretchr/testify/assert"
)
// TestContextFileSimple tests the Context.File() method with a simple case
func TestContextFileSimple(t *testing.T) {
// Test serving an existing file
testFile := "testdata/test_file.txt"
w := httptest.NewRec... | 88 | 933 | 36 | 0.95 | 2026-04-13T13:41:02.938946 | true |
github_farion1231_cc-switch_8064fae0b8332cf3e3c2d6b53c6b910304e25c99 | 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/textNormalization.ts | textNormalization.ts | 740 | /**
* 将常见的中文/全角/弯引号统一为 ASCII 引号,以避免 TOML 解析失败。
* - 双引号:” “ „ ‟ " → "
* - 单引号:’ ‘ ' → '
* 保守起见,不替换书名号/角引号(《》、「」等),避免误伤内容语义。
*/
export const normalizeQuotes = (text: string): string => {
if (!text) return text;
return (
text
// 双引号族 → "
.replace(/[“”„‟"]/g, '"')
// 单引号族 → '
.replace(/... | 72 | 492 | 23 | 0.98 | 2026-04-17T13:19:04.309365 | true |
github_taylorwilsdon_google_workspace_mcp_57bed1e3041bf039c1f11a8885405a6a9c416b54 | Python | taylorwilsdon | google_workspace_mcp | 2,133 | 643 | Control Gmail, Google Calendar, Docs, Sheets, Slides, Chat, Forms, Tasks, Search & Drive with AI - Comprehensive Google Workspace / G Suite MCP Server & CLI Tool | [
"ai",
"g-suite",
"gmail",
"google-calendar",
"google-chat",
"google-docs",
"google-drive",
"google-forms",
"google-sheets",
"google-tasks",
"google-workspace",
"gsuite",
"llm",
"llm-tools",
"mcp",
"mcp-server",
"model-context-protocol",
"model-context-protocol-server",
"model-con... | MIT | core/tool_tier_loader.py | tool_tier_loader.py | 6,304 | """
Tool Tier Loader Module
This module provides functionality to load and resolve tool tiers from the YAML configuration.
It integrates with the existing tool enablement workflow to support tiered tool loading.
"""
import logging
from pathlib import Path
from typing import Dict, List, Set, Literal, Optional
import ... | 659 | 6,304 | 197 | 0.98 | 2026-04-17T16:04:10.725405 | true |
github_Siriusmart_youtube-tui_1f83d9510ce7db9cdf33eeed0d67f4a3f641b89b | Rust | Siriusmart | youtube-tui | 1,015 | 42 | An aesthetically pleasing YouTube TUI written in Rust | [
"cli",
"rust",
"rust-lang",
"terminal",
"terminal-based",
"terminal-user-interface",
"tui",
"youtube",
"youtube-dl"
] | GPL-3.0 | src/run.rs | run.rs | 13,047 | use crossterm::event::{self, Event, MouseButton, MouseEventKind};
use ratatui::{backend::CrosstermBackend, Terminal};
#[cfg(feature = "mpv")]
use std::time::{Duration, Instant};
use std::{
any::{Any, TypeId},
collections::HashMap,
error::Error,
io::Stdout,
};
use tui_additions::framework::Framework;
us... | 617 | 13,047 | 297 | 0.98 | 2026-04-17T19:38:01.984334 | true |
github_huggingface_transformers_45e43fdaf3aa81e121267762c557a2764af07798 | Python | huggingface | transformers | 159,743 | 32,972 | 🤗 Transformers: the model-definition framework for state-of-the-art machine learning models in text, vision, audio, and multimodal models, for both inference and training. | [
"audio",
"deep-learning",
"deepseek",
"gemma",
"glm",
"hacktoberfest",
"llm",
"machine-learning",
"model-hub",
"natural-language-processing",
"nlp",
"pretrained-models",
"python",
"pytorch",
"pytorch-transformers",
"qwen",
"speech-recognition",
"transformer",
"vlm"
] | Apache-2.0 | src/transformers/masking_utils.py | masking_utils.py | 76,703 | # Copyright 2025 HuggingFace Inc. team. All rights reserved.
#
# 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 applicab... | 8,766 | 76,514 | 1,609 | 0.98 | 2026-04-22T13:17:57.925350 | true |
github_serde-rs_json_ef5a9fe54d060dd620a24a8027b3adfedb1037bf | Rust | serde-rs | json | 5,549 | 639 | Strongly typed JSON library for Rust | [
"json",
"rust",
"serde"
] | Apache-2.0 | src/lexical/cached.rs | cached.rs | 2,156 | // Adapted from https://github.com/Alexhuszagh/rust-lexical.
//! Cached powers trait for extended-precision floats.
use super::cached_float80;
use super::float::ExtendedFloat;
// POWERS
/// Precalculated powers that uses two-separate arrays for memory-efficiency.
#[doc(hidden)]
pub(crate) struct ExtendedFloatArray ... | 253 | 2,156 | 83 | 0.98 | 2026-04-17T14:58:11.885626 | true |
github_starship_starship_7ce7c0710cb2be989029f25f136fca3991d5d130 | 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/cobol.rs | cobol.rs | 906 | use serde::{Deserialize, Serialize};
#[derive(Clone, Deserialize, Serialize)]
#[cfg_attr(
feature = "config-schema",
derive(schemars::JsonSchema),
schemars(deny_unknown_fields)
)]
#[serde(default)]
pub struct CobolConfig<'a> {
pub format: &'a str,
pub version_format: &'a str,
pub symbol: &'a st... | 88 | 902 | 35 | 0.98 | 2026-04-17T13:17:31.424372 | true |
github_filecoin-project_lotus_da40c9a9cf85eaaedc66e1982b9b69889aea1a7f | Go | filecoin-project | lotus | 2,993 | 1,366 | Reference implementation of the Filecoin protocol, written in Go | [
"blockchain",
"filecoin",
"golang",
"ipfs"
] | NOASSERTION | api/v0api/full.go | full.go | 44,725 | package v0api
import (
"context"
blocks "github.com/ipfs/go-block-format"
"github.com/ipfs/go-cid"
"github.com/filecoin-project/go-address"
"github.com/filecoin-project/go-bitfield"
"github.com/filecoin-project/go-state-types/abi"
"github.com/filecoin-project/go-state-types/builtin/v8/paych"
verifregtypes "g... | 5,193 | 44,725 | 674 | 0.98 | 2026-04-17T16:50:57.329436 | true |
github_sharkdp_bat_6d9c8e59f11275002cece606917e5276408479b4 | Rust | sharkdp | bat | 58,255 | 1,524 | A cat(1) clone with wings. | [
"cli",
"command-line",
"git",
"hacktoberfest",
"rust",
"syntax-highlighting",
"terminal",
"tool"
] | Apache-2.0 | src/assets/build_assets.rs | build_assets.rs | 4,724 | use std::convert::TryInto;
use std::path::Path;
use syntect::highlighting::ThemeSet;
use syntect::parsing::{SyntaxSet, SyntaxSetBuilder};
use crate::assets::*;
use acknowledgements::build_acknowledgements;
mod acknowledgements;
pub fn build(
source_dir: &Path,
include_integrated_assets: bool,
include_ac... | 363 | 4,724 | 171 | 0.98 | 2026-04-17T13:16:47.930942 | true |
github_seanmonstar_reqwest_fbd2d71386775cc9f5c81694b0d39f061da043ea | Rust | seanmonstar | reqwest | 11,552 | 1,352 | An easy and powerful Rust HTTP Client | [
"http",
"http-client",
"rust"
] | Apache-2.0 | src/blocking/client.rs | client.rs | 55,031 | #[cfg(any(feature = "__native-tls", feature = "__rustls",))]
use std::any::Any;
use std::convert::TryInto;
use std::fmt;
use std::future::Future;
use std::net::IpAddr;
use std::net::SocketAddr;
use std::sync::Arc;
use std::task::{ready, Poll};
use std::thread;
use std::time::Duration;
use http::header::HeaderValue;
us... | 6,037 | 55,031 | 1,524 | 0.98 | 2026-04-17T14:21:14.884771 | true |
github_dgriff777_rl_a3c_pytorch_c9ea696f22186514547fd2445f9075256a1cac8c | Python | dgriff777 | rl_a3c_pytorch | 568 | 115 | A3C LSTM Atari with Pytorch plus A3G design | [
"a3c",
"a3c-gpu",
"a3g",
"actor-critic",
"asynchronous-advantage-actor-critic",
"atari",
"deep-reinforcement-learning",
"openai-gym",
"python",
"pytorch",
"pytorch-a3c",
"reinforcement-learning"
] | Apache-2.0 | train.py | train.py | 4,657 | from __future__ import division
import os
os.environ["OMP_NUM_THREADS"] = "1"
from setproctitle import setproctitle as ptitle
import torch
import torch.optim as optim
from environment import atari_env
from utils import ensure_shared_grads
from model import A3Clstm
from player_util import Agent
from torch.autograd impor... | 355 | 4,657 | 123 | 0.98 | 2026-04-22T20:48:07.370967 | true |
github_huggingface_transformers_9afa36a924ac21f418104bc6d0d6eca57d6702d9 | Python | huggingface | transformers | 159,743 | 32,972 | 🤗 Transformers: the model-definition framework for state-of-the-art machine learning models in text, vision, audio, and multimodal models, for both inference and training. | [
"audio",
"deep-learning",
"deepseek",
"gemma",
"glm",
"hacktoberfest",
"llm",
"machine-learning",
"model-hub",
"natural-language-processing",
"nlp",
"pretrained-models",
"python",
"pytorch",
"pytorch-transformers",
"qwen",
"speech-recognition",
"transformer",
"vlm"
] | Apache-2.0 | src/transformers/trainer_optimizer.py | trainer_optimizer.py | 23,966 | # Copyright 2024 The HuggingFace Inc. team. All rights reserved.
#
# 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 appl... | 1,871 | 23,966 | 628 | 0.98 | 2026-04-22T13:18:10.902445 | true |
github_tailscale_tailscale_0d8504bdad7fd7dd63ddbcb0c577fda8b5c9e857 | Go | tailscale | tailscale | 30,649 | 2,470 | The easiest, most secure way to use WireGuard and 2FA. | [
"2fa",
"oauth",
"sso",
"tailscale",
"vpn",
"wireguard"
] | BSD-3-Clause | cmd/containerboot/egressservices_test.go | egressservices_test.go | 10,781 | // Copyright (c) Tailscale Inc & contributors
// SPDX-License-Identifier: BSD-3-Clause
//go:build linux
package main
import (
"context"
"fmt"
"io"
"net/http"
"net/netip"
"reflect"
"strings"
"sync"
"testing"
"tailscale.com/kube/egressservices"
"tailscale.com/kube/kubetypes"
)
func Test_updatesForSvc(t *t... | 977 | 10,781 | 325 | 0.98 | 2026-04-17T08:17:53.363589 | true |
github_AgentOps-AI_agentops_ec2af0aaf8177b85c66bd4a7715d74630738e0be | TypeScript | AgentOps-AI | agentops | 5,476 | 562 | Python SDK for AI agent monitoring, LLM cost tracking, benchmarking, and more. Integrates with most LLMs and agent frameworks including CrewAI, Agno, OpenAI Agents SDK, Langchain, Autogen, AG2, and CamelAI | [
"agent",
"agentops",
"agents-sdk",
"ai",
"anthropic",
"autogen",
"cost-estimation",
"crewai",
"evals",
"evaluation-metrics",
"groq",
"langchain",
"llm",
"mistral",
"ollama",
"openai",
"openai-agents"
] | MIT | app/dashboard/types.d.ts | types.d.ts | 160 | /// <reference types="react" />
/// <reference types="react-dom" />
declare namespace JSX {
interface IntrinsicElements {
[elemName: string]: any;
}
}
| 20 | 160 | 9 | 0.98 | 2026-04-17T15:45:03.243394 | true |
github_NExT-GPT_NExT-GPT_1dce4e0bededa2d3f9c0c1773540157f188de49e | Python | NExT-GPT | NExT-GPT | 3,622 | 361 | Code and models for ICML 2024 paper, NExT-GPT: Any-to-Any Multimodal Large Language Model | [
"chatgpt",
"foundation-models",
"gpt-4",
"instruction-tuning",
"large-language-models",
"llm",
"mllm",
"multi-modal-chatgpt",
"multimodal",
"visual-language-learning"
] | BSD-3-Clause | preprocess_embeddings.py | preprocess_embeddings.py | 9,303 |
import numpy as np
import os
import sys
from joblib import Parallel, delayed
from tqdm import tqdm
import torch
import json
import pandas as pd
import argparse
# Load a slightly modified version of the Stable Diffusion pipeline.
# This allows us to extract text embeddings directly (without generating images).
from ne... | 704 | 9,303 | 190 | 0.98 | 2026-04-22T15:27:15.178001 | true |
github_gastownhall_gastown_aa1b82df8a5b6c3fd7a91cbceb5f8a35ff88627b | Go | gastownhall | gastown | 14,234 | 1,286 | Gas Town - multi-agent workspace manager | [] | MIT | internal/beads/beads_merge_slot.go | beads_merge_slot.go | 6,443 | // Package beads provides merge slot management for serialized conflict resolution.
//
// The merge slot is a single bead identified by the label "gt:merge-slot".
// Its holder is stored in the bead's Description field as a JSON blob:
//
// {"holder": "<actor>", "waiters": ["<actor1>", ...]}
//
// When holder is empty ... | 873 | 6,441 | 220 | 0.98 | 2026-04-17T10:43:59.943700 | true |
github_awslabs_amazon-bedrock-agent-samples_604e1f8988b1afd01f2a48f9e54ad1162481e751 | Python | awslabs | amazon-bedrock-agent-samples | 791 | 270 | Example Jupyter notebooks 📓 and code scripts 💻 for using Amazon Bedrock Agents 🤖 and its functionalities | [
"amazon-bedrock",
"amazon-bedrock-agents",
"bedrock",
"bedrock-agents",
"generative-ai",
"multi-agents-collaboration"
] | Apache-2.0 | src/InlineAgent/setup.py | setup.py | 124 | import setuptools
import versioneer
setuptools.setup(version=versioneer.get_version(), cmdclass=versioneer.get_cmdclass())
| 6 | 124 | 5 | 0.98 | 2026-04-22T22:01:55.795708 | true |
github_khoj-ai_khoj_aaf9db1788bb641a532eac76b2940db63cfa4f53 | Python | khoj-ai | khoj | 34,134 | 2,146 | Your AI second brain. Self-hostable. Get answers from the web or your docs. Build custom agents, schedule automations, do deep research. Turn any online or local LLM into your personal, autonomous AI (gpt, claude, gemini, llama, qwen, mistral). Get started - free. | [
"agent",
"ai",
"assistant",
"chat",
"chatgpt",
"emacs",
"image-generation",
"llama3",
"llamacpp",
"llm",
"obsidian",
"obsidian-md",
"offline-llm",
"productivity",
"rag",
"research",
"self-hosted",
"semantic-search",
"stt",
"whatsapp-ai"
] | AGPL-3.0 | src/khoj/manage.py | manage.py | 665 | #!/usr/bin/env python
"""Django's command-line utility for administrative tasks."""
import os
import sys
def main():
"""Run administrative tasks."""
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "khoj.app.settings")
try:
from django.core.management import execute_from_command_line
except Im... | 64 | 665 | 24 | 0.98 | 2026-04-17T15:26:11.452382 | true |
github_BrainJS_brain.js_357d7fcdee86693659d38f9b072de4f3374ec7c7 | TypeScript | BrainJS | brain.js | 14,860 | 1,078 | 🤖 GPU accelerated Neural networks in JavaScript for Browsers and Node.js | [
"api",
"brain",
"browser",
"convolutional-neural-networks",
"easy-to-use",
"hacktoberfest",
"neural-network",
"node",
"nodejs",
"recurrent-neural-networks",
"stream",
"web"
] | MIT | src/autoencoder.ts | autoencoder.ts | 6,313 | import { KernelOutput, Texture, TextureArrayOutput } from 'gpu.js';
import {
IJSONLayer,
INeuralNetworkData,
INeuralNetworkDatum,
INeuralNetworkTrainOptions,
} from './neural-network';
import {
INeuralNetworkGPUOptions,
NeuralNetworkGPU,
} from './neural-network-gpu';
import { INeuralNetworkState } from './... | 721 | 6,313 | 210 | 0.98 | 2026-04-17T17:55:49.567090 | true |
github_pubkey_rxdb_fb68cbc1c7d62617a99f0d20412a644d287a767f | 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-storage-multiinstance.ts | rx-storage-multiinstance.ts | 6,251 | /**
* When a persistent RxStorage is used in more the one JavaScript process,
* the even stream of the changestream() function must be broadcasted to the other
* RxStorageInstances of the same databaseName+collectionName.
*
* In the past this was done by RxDB but it makes more sense to do this
* at the RxStorage ... | 597 | 6,251 | 189 | 0.98 | 2026-04-23T08:22:10.347814 | true |
github_Kong_kubernetes-ingress-controller_3bf7a952bcd9929f129fae02df32f0690d8cded7 | Go | Kong | kubernetes-ingress-controller | 2,380 | 618 | :gorilla: Kong for Kubernetes: The official Ingress Controller for Kubernetes. | [
"apis",
"crds",
"ingress",
"ingress-controller",
"k8s",
"kong",
"kubernetes",
"kubernetes-ingress",
"kubernetes-ingress-controller",
"microservices",
"team-k8s"
] | Apache-2.0 | internal/diagnostics/diff_test.go | diff_test.go | 11,270 | package diagnostics
import (
"container/list"
"testing"
"time"
"github.com/stretchr/testify/assert"
)
func TestDiffMap_Update(t *testing.T) {
now := time.Now()
tests := []struct {
name string
initial diffMap
newDiff ConfigDiff
expected diffMap
shouldFail bool
}{
{
name: "add new ... | 1,002 | 11,270 | 503 | 0.98 | 2026-04-18T01:00:49.979556 | true |
github_tox-dev_tox_867c86605a9a5f09bbceb7031bc89fd22791ba66 | Python | tox-dev | tox | 3,914 | 550 | Command line driven CI frontend and development task automation tool. | [
"actions",
"automation",
"cli",
"continuous-integration",
"python",
"testing",
"venv",
"virtualenv"
] | MIT | src/tox/__init__.py | __init__.py | 148 | from __future__ import annotations
from .run import main
from .version import version as __version__
__all__ = (
"__version__",
"main",
)
| 20 | 148 | 10 | 0.98 | 2026-04-23T03:28:45.411525 | true |
github_slint-ui_slint_29d0e7d3d07cec255c57f4b89c38f0ea30ff775a | Rust | slint-ui | slint | 22,265 | 863 | Slint is an open-source declarative GUI toolkit to build native user interfaces for Rust, C++, JavaScript, or Python apps. | [
"cpp",
"declarative-ui",
"desktop",
"embedded-devices",
"gui",
"javascript",
"language",
"lsp-server",
"native",
"rust",
"rust-lang",
"toolkit",
"ui",
"user-interface",
"wasm",
"webassembly",
"widgets"
] | NOASSERTION | internal/interpreter/ffi.rs | ffi.rs | 34,905 | // Copyright © SixtyFPS GmbH <[REDACTED_EMAIL]>
// SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-Slint-Royalty-free-2.0 OR LicenseRef-Slint-Software-3.0
use crate::dynamic_item_tree::ErasedItemTreeBox;
use super::*;
use core::ptr::NonNull;
use i_slint_core::model::{Model, ModelNotify, SharedVectorModel};
use i_... | 3,223 | 34,904 | 1,021 | 0.98 | 2026-04-17T13:36:50.848827 | true |
github_prometheus-operator_prometheus-operator_ee4bf387df25224864ccd66fa4b82ca009eb5b90 | Go | prometheus-operator | prometheus-operator | 9,895 | 3,851 | Prometheus Operator creates/configures/manages Prometheus clusters atop Kubernetes | [
"hacktoberfest",
"kubernetes",
"monitoring",
"prometheus"
] | Apache-2.0 | pkg/alertmanager/operator.go | operator.go | 58,857 | // Copyright The prometheus-operator 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 o... | 5,928 | 58,857 | 1,948 | 0.98 | 2026-04-17T19:40:36.650028 | true |
github_crowdsecurity_crowdsec_0ffcfa2beb84d1dce8a8bb056094c87b372a54f5 | Go | crowdsecurity | crowdsec | 13,073 | 593 | CrowdSec - the open-source and participative security solution offering crowdsourced protection against malicious IPs and access to the most advanced real-world CTI. | [
"attacks-prevention",
"detection",
"ids",
"ips",
"linux",
"protection",
"security",
"waf"
] | MIT | pkg/apiserver/jwt_test.go | jwt_test.go | 3,356 | package apiserver
import (
"net/http"
"net/http/httptest"
"strings"
"testing"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
)
func TestLogin(t *testing.T) {
ctx := t.Context()
router, config := NewAPITest(t, ctx)
body := CreateTestMachine(t, ctx, router, "")
// Login with mac... | 273 | 3,356 | 94 | 0.98 | 2026-04-17T11:29:30.316505 | true |
github_tsenart_vegeta_4643cc581ba7d006788e343c3faebed4c83d6856 | Go | tsenart | vegeta | 25,004 | 1,419 | HTTP load testing tool and library. It's over 9000! | [
"benchmarking",
"go",
"http",
"load-testing"
] | MIT | lib/plot/embed.go | embed.go | 1,630 | //go:build !dev
package plot
import (
"embed"
"io"
"io/fs"
"net/http"
"os"
)
//go:embed assets/*
var assetsFS embed.FS
// Assets contains assets required to render the Plot.
var Assets http.FileSystem = &embedFS{assetsFS}
type embedFS struct {
fs embed.FS
}
func (e *embedFS) Open(name string) (http.File, er... | 245 | 1,630 | 96 | 0.98 | 2026-04-17T08:40:41.822355 | true |
github_qwersyk_Newelle_e54bc24eccfaf803559158f2f71529f420147ca4 | Python | qwersyk | Newelle | 1,319 | 105 | Newelle - Your Ultimate Virtual Assistant | [
"adwaita",
"ai",
"app",
"gnome",
"gtk",
"gtk4",
"linux"
] | GPL-3.0 | src/integrations/default_tools.py | default_tools.py | 7,796 | import re
from ..extensions import NewelleExtension
from ..tools import InteractionOption, Tool, ToolResult, create_io_tool
import threading
import json
from ..ui.widgets import CopyBox
import subprocess
import os
from ..utility.system import is_flatpak
from ..utility.system import get_spawn_command
from ..utility.s... | 544 | 7,796 | 196 | 0.98 | 2026-04-22T18:01:51.677814 | true |
github_paperless-ngx_paperless-ngx_cc54e892dadbff6393bf67cb946e40d7abcdceb2 | Python | paperless-ngx | paperless-ngx | 38,143 | 2,431 | A community-supported supercharged document management system: scan, index and archive all your documents | [
"angular",
"archiving",
"django",
"dms",
"document-management",
"document-management-system",
"hacktoberfest",
"machine-learning",
"ocr",
"optical-character-recognition",
"pdf"
] | GPL-3.0 | src/paperless/middleware.py | middleware.py | 520 | from django.conf import settings
from paperless import version
class ApiVersionMiddleware:
def __init__(self, get_response):
self.get_response = get_response
def __call__(self, request):
response = self.get_response(request)
if request.user.is_authenticated:
versions = se... | 37 | 520 | 18 | 0.98 | 2026-04-17T06:43:57.773920 | true |
github_shadowsocks_shadowsocks-rust_d7a36f0706a556386eb521f818f9bf8da5203ad5 | Rust | shadowsocks | shadowsocks-rust | 10,501 | 1,407 | A Rust port of shadowsocks | [
"http-proxy",
"rust",
"security",
"shadowsocks",
"socks4",
"socks5",
"transparent-proxy"
] | MIT | src/monitor/unix.rs | unix.rs | 731 | use futures::future::{self, Either, FutureExt};
use log::info;
use std::io;
use tokio::signal::unix::{SignalKind, signal};
/// Create a monitor future for signals
///
/// It will exit when received `SIGTERM` or `SIGINT`.
pub async fn create_signal_monitor() -> io::Result<()> {
// Future resolving to two signal str... | 80 | 731 | 23 | 0.98 | 2026-04-17T14:23:42.034595 | true |
github_jingweiz_pytorch-rl_75bd89b989b3a24582ef0ee449c9c36e5afeefc5 | Python | jingweiz | pytorch-rl | 805 | 144 | Deep Reinforcement Learning with pytorch & visdom | [
"a3c",
"acer",
"actor-critic",
"deep-learning",
"deep-reinforcement-learning",
"dqn",
"pytorch",
"pytorch-a3c",
"reinforcement-learning",
"trpo",
"visdom"
] | MIT | core/memory.py | memory.py | 4,352 | from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
import numpy as np
from collections import deque, namedtuple
import warnings
import random
from utils.helpers import Experience
def sample_batch_indexes(low, high, size):
if high - low >= size:
# W... | 452 | 4,352 | 108 | 0.98 | 2026-04-22T20:28:56.211990 | true |
github_pubkey_rxdb_e9d558895ef8e5b432f722f7a1fb51870f849fba | 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-single-result.ts | rx-query-single-result.ts | 4,041 | import { mapDocumentsDataToCacheDocs } from './doc-cache.ts';
import { overwriteGetterForCaching } from './plugins/utils/index.ts';
import { newRxError } from './rx-error.ts';
import { RxQueryBase } from './rx-query.ts';
import type {
RxDocument,
RxDocumentData
} from './types';
/**
* Counter to create unique... | 460 | 4,041 | 118 | 0.98 | 2026-04-23T08:22:08.099839 | true |
github_AgentOps-AI_agentops_df4bb6b376103cdc1a6e7a6f41e749ec014dda93 | JavaScript | AgentOps-AI | agentops | 5,485 | 561 | Python SDK for AI agent monitoring, LLM cost tracking, benchmarking, and more. Integrates with most LLMs and agent frameworks including CrewAI, Agno, OpenAI Agents SDK, Langchain, Autogen, AG2, and CamelAI | [
"agent",
"agentops",
"agents-sdk",
"ai",
"anthropic",
"autogen",
"cost-estimation",
"crewai",
"evals",
"evaluation-metrics",
"groq",
"langchain",
"llm",
"mistral",
"ollama",
"openai",
"openai-agents"
] | MIT | app/dashboard/prettier.config.js | prettier.config.js | 302 | module.exports = {
endOfLine: 'auto',
semi: true,
trailingComma: 'all',
singleQuote: true,
printWidth: 100,
tabWidth: 2,
useTabs: false,
arrowParens: 'always',
plugins: ['prettier-plugin-tailwindcss'],
tailwindFunctions: ['clsx', 'cn'],
tailwindConfig: './tailwind.config.js',
};
| 27 | 302 | 14 | 0.98 | 2026-04-22T15:17:54.116757 | true |
github_huggingface_transformers_90bbdcc25151ac54d6e603bc8aed8bcbc70f711f | Python | huggingface | transformers | 159,743 | 32,972 | 🤗 Transformers: the model-definition framework for state-of-the-art machine learning models in text, vision, audio, and multimodal models, for both inference and training. | [
"audio",
"deep-learning",
"deepseek",
"gemma",
"glm",
"hacktoberfest",
"llm",
"machine-learning",
"model-hub",
"natural-language-processing",
"nlp",
"pretrained-models",
"python",
"pytorch",
"pytorch-transformers",
"qwen",
"speech-recognition",
"transformer",
"vlm"
] | Apache-2.0 | src/transformers/trainer_jit_checkpoint.py | trainer_jit_checkpoint.py | 5,274 | import os
import signal
import threading
from .trainer_callback import TrainerCallback
from .trainer_utils import PREFIX_CHECKPOINT_DIR
from .utils import logging
logger = logging.get_logger(__name__)
class CheckpointManager:
def __init__(self, trainer, kill_wait: int = 3):
"""
Initialize the C... | 402 | 5,274 | 126 | 0.98 | 2026-04-22T13:18:10.516818 | true |
github_kubernetes-sigs_kustomize_0fc80e4628508925de9f9961ed8ebe74c948a03c | Go | kubernetes-sigs | kustomize | 12,021 | 2,379 | Customization of kubernetes YAML configurations | [
"hacktoberfest",
"k8s-sig-cli"
] | Apache-2.0 | api/krusty/repeatbase_test.go | repeatbase_test.go | 3,695 | // Copyright 2021 The Kubernetes Authors.
// SPDX-License-Identifier: Apache-2.0
package krusty_test
import (
"strings"
"testing"
kusttest_test "sigs.k8s.io/kustomize/api/testutils/kusttest"
)
// This is broken since kustomize v3.9.3.
// See https://github.com/kubernetes-sigs/kustomize/issues/3609 for details.
... | 397 | 3,695 | 177 | 0.98 | 2026-04-17T11:43:10.062775 | true |
github_vmware-archive_kubeless_709e4c74a9bb4eeab0878deb0c46f1d23cfcac02 | Go | vmware-archive | kubeless | 6,855 | 743 | Kubernetes Native Serverless Framework | [
"faas",
"function-as-a-service",
"golang",
"kubeless",
"kubernetes",
"serverless",
"serverless-architectures"
] | Apache-2.0 | pkg/registry/registry.go | registry.go | 6,330 | /*
Copyright (c) 2016-2017 Bitnami
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, softwar... | 882 | 6,330 | 240 | 0.98 | 2026-04-17T20:31:47.788376 | true |
github_directus_directus_0c99023df04f59552796dd24bae3b4460adf1a6c | TypeScript | directus | directus | 34,882 | 4,723 | The flexible backend for all your projects 🐰 Turn your DB into a headless CMS, admin panels, or apps with a custom UI, instant APIs, auth & more. | [
"api",
"app",
"cms",
"composable",
"data-visualization",
"database",
"directus",
"graphql",
"headless-cms",
"javascript",
"mariadb",
"mssql",
"mysql",
"no-code",
"node",
"postgresql",
"sql",
"sqlite",
"typescript",
"vue"
] | NOASSERTION | app/src/sdk.ts | sdk.ts | 3,044 | import type { AuthenticationClient, DirectusClient, RequestOptions, RestClient, RestCommand } from '@directus/sdk';
import { authentication, createDirectus, rest } from '@directus/sdk';
import { type FetchContext, ofetch } from 'ofetch';
import { requestQueue } from './api';
import { SDK_AUTH_REFRESH_BEFORE_EXPIRES } f... | 378 | 3,044 | 103 | 0.98 | 2026-04-23T07:58:08.485357 | true |
github_BrainJS_brain.js_ed8eb9d7078ff7e00e78604b2638acbffe24a272 | TypeScript | BrainJS | brain.js | 14,860 | 1,078 | 🤖 GPU accelerated Neural networks in JavaScript for Browsers and Node.js | [
"api",
"brain",
"browser",
"convolutional-neural-networks",
"easy-to-use",
"hacktoberfest",
"neural-network",
"node",
"nodejs",
"recurrent-neural-networks",
"stream",
"web"
] | MIT | src/layer/transpose.ts | transpose.ts | 1,171 | import { IKernelFunctionThis, IKernelRunShortcut } from 'gpu.js';
import { makeKernel } from '../utilities/kernel';
import { ILayer } from './base-layer';
import { Modifier } from './types';
export function predict(this: IKernelFunctionThis, value: number[][]): number {
return value[this.thread.x][this.thread.y];
}
... | 119 | 1,171 | 51 | 0.98 | 2026-04-17T17:56:16.312536 | true |
github_getzola_zola_5f54c488511fc369ec6a559e7d5aef3c5b7fdf9d | Rust | getzola | zola | 16,932 | 1,133 | A fast static site generator in a single binary with everything built-in. https://www.getzola.org | [
"blog-engine",
"cms",
"content-management-system",
"documentation-tool",
"markdown",
"markdown-to-html",
"rust",
"site-generator",
"static",
"static-site-generator",
"tera"
] | EUPL-1.2 | build.rs | build.rs | 826 | fn generate_pe_header() {
use time::OffsetDateTime;
let today = OffsetDateTime::now_utc();
let copyright = format!("Copyright © 2017-{} Vincent Prouillet", today.year());
let mut res = tauri_winres::WindowsResource::new();
res.set_icon("docs/static/favicon.ico");
res.set("LegalCopyright", ©... | 70 | 825 | 33 | 0.98 | 2026-04-17T13:48:46.440818 | true |
github_zhouxiaoka_autoclip_mvp_6beffc69874266239b6afe9b02c068248dd6e795 | Python | zhouxiaoka | autoclip_mvp | 953 | 165 | AutoClip: AI-powered video clipping and highlight generation · 一款智能高光提取与剪辑的二创工具 | [
"ai-video-editing",
"auto-highlight",
"llm",
"video",
"video-editing"
] | MIT | main.py | main.py | 7,315 | #!/usr/bin/env python3
"""
自动切片工具 - 主启动文件
支持命令行和模块导入两种使用方式
"""
import sys
import argparse
from pathlib import Path
from typing import Optional
# 添加项目根目录到Python路径
project_root = Path(__file__).parent
sys.path.insert(0, str(project_root))
from src.main import create_and_process_project, process_existing_project, AutoCl... | 464 | 6,297 | 218 | 0.98 | 2026-04-18T00:05:02.300035 | true |
github_svgdotjs_svg.js_5009c77fa88d8d1e1475c959947e36710f438931 | JavaScript | svgdotjs | svg.js | 11,759 | 1,082 | The lightweight library for manipulating and animating SVG | [
"animation",
"javascript",
"svg",
"svgjs"
] | NOASSERTION | src/utils/window.js | window.js | 665 | export const globals = {
window: typeof window === 'undefined' ? null : window,
document: typeof document === 'undefined' ? null : document
}
export function registerWindow(win = null, doc = null) {
globals.window = win
globals.document = doc
}
const save = {}
export function saveWindow() {
save.window = g... | 85 | 665 | 33 | 0.98 | 2026-04-23T13:52:00.512916 | true |
github_NodeBB_NodeBB_672c0e46e5f5f167d57a54aae403f630915cd517 | JavaScript | NodeBB | NodeBB | 15,048 | 2,942 | Node.js based forum software built for the modern web | [
"community",
"forum",
"javascript",
"mongodb",
"node",
"nodebb",
"nodejs",
"postgresql",
"redis",
"socket-io",
"websockets"
] | GPL-3.0 | src/controllers/ping.js | ping.js | 332 | 'use strict';
const nconf = require('nconf');
const db = require('../database');
module.exports.ping = async function (req, res, next) {
try {
await db.getSortedSetRange('plugins:active', 0, 0);
res.status(200).send(req.path === `${nconf.get('relative_path')}/sping` ? 'healthy' : '200');
} catch (err) {
next(... | 38 | 332 | 14 | 0.98 | 2026-04-23T06:53:14.915995 | true |
github_nutsdb_nutsdb_1c2dd7ab97b560af71846b229ae46d4a4dc10fef | Go | nutsdb | nutsdb | 3,563 | 342 | A simple, fast, embeddable, persistent key/value store written in pure Go. It supports fully serializable transactions and many data structures such as list, set, sorted set. | [
"data-structures",
"database",
"go",
"golang",
"key-value",
"kv-store",
"nutsdb",
"supports-transactions"
] | Apache-2.0 | status_manager_test.go | status_manager_test.go | 5,636 | package nutsdb
import (
"context"
"sync/atomic"
"testing"
"time"
)
type MockComponent struct {
name string
startErr error
stopErr error
startDelay time.Duration
stopDelay time.Duration
startCalled atomic.Int32
stopCalled atomic.Int32
}
func NewMockComponent(name string) *MockComponent {
... | 672 | 5,636 | 256 | 0.98 | 2026-04-17T18:22:24.941667 | true |
github_jmcdo29_testing-nestjs_cbd4bdb78697ad1426c3c19f0fe9adf93bc071af | JavaScript | jmcdo29 | testing-nestjs | 3,018 | 380 | A repository to show off to the community methods of testing NestJS including Unit Tests, Integration Tests, E2E Tests, pipes, filters, interceptors, GraphQL, Mongo, TypeORM, and more! | [
"cqrs",
"examples",
"graphql",
"hacktoberfest",
"interceptor",
"mongo",
"nestjs",
"pipes",
"rest",
"testing",
"typeorm"
] | MIT | jest.e2e.js | jest.e2e.js | 270 | const baseConfig = require('./jest.config');
/**
* @type {import('@jest/types').Config.InitialOptions}
*/
module.exports = {
...baseConfig,
rootDir: '..',
testMatch: ['<rootDir>/test/**/*.e2e-spec.ts'],
transformIgnorePatterns: ['node_modules/(?!axios)'],
};
| 20 | 270 | 12 | 0.98 | 2026-04-18T01:37:54.448925 | true |
github_op7418_CodePilot_38b31f6a8303aafd75d23e1de3bdf641539f7e55 | TypeScript | op7418 | CodePilot | 5,485 | 588 | A multi-model AI agent desktop client — connect any AI provider, extend with MCP & skills, control from your phone. Built with Electron + Next.js. | [
"ai",
"anthropic",
"claude",
"claude-code",
"desktop-app",
"electron",
"gui",
"nextjs"
] | NOASSERTION | src/hooks/useNotificationPoll.ts | useNotificationPoll.ts | 2,431 | 'use client';
import { useEffect, useRef } from 'react';
import { showToast, type ToastType } from '@/hooks/useToast';
const POLL_INTERVAL = 5_000; // 5s
const PRIORITY_TO_TOAST: Record<string, ToastType> = {
low: 'info',
normal: 'info',
urgent: 'warning',
};
/**
* Polls GET /api/tasks/notify to drain server... | 265 | 2,431 | 77 | 0.98 | 2026-04-23T10:02:20.782851 | true |
github_amqp-node_amqplib_a6bc1e973f5490b24e94e6172e1b03d85170d040 | JavaScript | amqp-node | amqplib | 3,834 | 472 | AMQP 0-9-1 library and client for Node.JS | [
"amqp",
"amqp-0-9-1",
"nodejs",
"rabbitmq",
"rabbitmq-client"
] | NOASSERTION | lib/api_args.js | api_args.js | 8,552 | /*
The channel (promise) and callback APIs have similar signatures, and
in particular, both need AMQP fields prepared from the same arguments
and options. The arguments marshalling is done here. Each of the
procedures below takes arguments and options (the latter in an object)
particular to the operation it represents,... | 1,106 | 8,552 | 290 | 0.98 | 2026-04-23T07:45:02.998728 | true |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.