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_farion1231_cc-switch_62703df6e0864bb7d35e6d4c0bb1669c5a9f9342 | 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/hooks/useImportExport.ts | useImportExport.ts | 6,041 | import { useCallback, useState } from "react";
import { useTranslation } from "react-i18next";
import { toast } from "sonner";
import { settingsApi } from "@/lib/api";
import { syncCurrentProvidersLiveSafe } from "@/utils/postChangeSync";
export type ImportStatus =
| "idle"
| "importing"
| "success"
| "partial... | 506 | 5,763 | 204 | 0.98 | 2026-04-17T13:18:50.472102 | true |
github_open-webui_open-webui_9879b8110dc17f3d94df345455326756a6cc15ae | TypeScript | open-webui | open-webui | 133,328 | 18,916 | User-friendly AI Interface (Supports Ollama, OpenAI API, ...) | [
"ai",
"llm",
"llm-ui",
"llm-webui",
"llms",
"mcp",
"ollama",
"ollama-webui",
"open-webui",
"openai",
"openapi",
"rag",
"self-hosted",
"ui",
"webui"
] | NOASSERTION | src/lib/shortcuts.ts | shortcuts.ts | 3,901 | type ShortcutRegistry = {
[key in Shortcut]?: {
name: string;
keys: string[];
category: string;
tooltip?: string;
setting?: {
id: string;
value: any;
};
};
};
export enum Shortcut {
//Chat
NEW_CHAT = 'newChat',
NEW_TEMPORARY_CHAT = 'newTemporaryChat',
DELETE_CHAT = 'deleteChat',
OPEN_MODEL_SEL... | 425 | 3,901 | 169 | 0.98 | 2026-04-22T14:51:24.358248 | true |
github_eythaann_Seelen-UI_4959f1eda22378094c8770bc5402712f59478090 | Rust | eythaann | Seelen-UI | 16,375 | 502 | The Fully Customizable Desktop Environment for Windows 10/11. | [
"app-launcher",
"desktop-application",
"dock",
"finder",
"multilanguage",
"seelen",
"seelen-ui",
"taskbar",
"tauri",
"tauri-app",
"tiling-window-manager",
"toolbar",
"tools",
"topbar",
"wallpaper",
"web",
"web-technologies",
"windows",
"windows-11"
] | AGPL-3.0 | src/service/task_scheduler.rs | task_scheduler.rs | 5,062 | use windows::Win32::{
Foundation::{VARIANT_FALSE, VARIANT_TRUE},
System::TaskScheduler::{
IExecAction2, ITaskFolder, ITaskService, TaskScheduler, TASK_ACTION_EXEC,
TASK_CREATE_OR_UPDATE, TASK_LOGON_INTERACTIVE_TOKEN, TASK_RUNLEVEL_HIGHEST,
TASK_TRIGGER_LOGON,
},
UI::Shell::FOLDER... | 315 | 5,062 | 137 | 0.98 | 2026-04-17T13:50:06.331287 | true |
github_langflow-ai_langflow_92691401ff3fc92d47214a088a5a4cc615f2db05 | TypeScript | 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/playwright.config.ts | playwright.config.ts | 3,840 | import { defineConfig, devices } from "@playwright/test";
import * as dotenv from "dotenv";
import path from "path";
import { PORT } from "./src/customization/config-constants";
dotenv.config();
dotenv.config({ path: path.resolve(__dirname, "../../.env") });
/**
* Read environment variables from file.
* https://git... | 416 | 3,840 | 140 | 0.98 | 2026-04-22T21:54:37.644650 | true |
github_ultraworkers_claw-code_0221ca2a3bcae856cbea096429ab081d6ef26a81 | 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/transcript.py | transcript.py | 585 | from __future__ import annotations
from dataclasses import dataclass, field
@dataclass
class TranscriptStore:
entries: list[str] = field(default_factory=list)
flushed: bool = False
def append(self, entry: str) -> None:
self.entries.append(entry)
self.flushed = False
def compact(self... | 59 | 585 | 24 | 0.98 | 2026-04-17T13:13:27.671083 | true |
github_Cloud-CV_EvalAI_684a7fed84b9f52ba02724c64779af6e67c12ee2 | JavaScript | Cloud-CV | EvalAI | 2,016 | 987 | :cloud: :rocket: :bar_chart: :chart_with_upwards_trend: Evaluating state of the art in AI | [
"ai",
"ai-challenges",
"angularjs",
"artificial-intelligence",
"challenge",
"codecov",
"coveralls",
"django",
"docker",
"evalai",
"evaluation",
"leaderboard",
"machine-learning",
"python",
"reproducibility",
"reproducible-research",
"travis-ci"
] | NOASSERTION | karma.conf.js | karma.conf.js | 4,353 | // Set CHROME_BIN based on availability
const isArm = require('os').arch().includes('arm');
// Use system Chrome/Chromium paths (Docker container has Chrome installed)
process.env.CHROME_BIN = process.env.CHROME_BIN || (isArm ? '/usr/bin/chromium' : '/usr/bin/google-chrome');
module.exports = function(config) {
va... | 361 | 4,353 | 146 | 0.98 | 2026-04-22T17:49:23.251549 | true |
github_0x192_universal-android-debloater_ffc1379188b32256682c2a1e24f888558a7de85e | Rust | 0x192 | universal-android-debloater | 19,154 | 1,001 | Cross-platform GUI written in Rust using ADB to debloat non-rooted android devices. Improve your privacy, the security and battery life of your device. | [
"adb",
"android",
"debloat",
"privacy"
] | GPL-3.0 | src/core/theme.rs | theme.rs | 3,321 | use iced::{color, Color};
#[derive(Default, Debug, PartialEq, Eq, Copy, Clone)]
pub enum Theme {
#[default]
Lupin,
Dark,
Light,
}
#[derive(Debug, Clone, Copy)]
pub struct BaseColors {
pub background: Color,
pub foreground: Color,
}
#[derive(Debug, Clone, Copy)]
pub struct NormalColors {
p... | 256 | 3,321 | 115 | 0.98 | 2026-04-17T13:44:31.787405 | true |
github_k3s-io_k3s_d7ce37e980e828af50b3ac6bf449a48fb503a3e8 | Go | k3s-io | k3s | 32,773 | 2,642 | Lightweight Kubernetes | [
"k8s",
"kubernetes"
] | Apache-2.0 | cmd/k3s/main_linux.go | main_linux.go | 344 | //go:build linux
package main
import (
"os"
"syscall"
"github.com/k3s-io/k3s/pkg/util/errors"
)
const programPostfix = ""
func runExec(cmd string, args []string, calledAsInternal bool) (err error) {
if err := syscall.Exec(cmd, args, os.Environ()); err != nil {
return errors.WithMessagef(err, "exec %s failed"... | 44 | 344 | 20 | 0.98 | 2026-04-17T08:12:17.669271 | true |
github_vercel_swr_99ae46d75d3e1e6b611c8fe7287906156e06f1ce | TypeScript | vercel | swr | 32,352 | 1,332 | React Hooks for Data Fetching | [
"cache",
"data",
"data-fetching",
"fetch",
"hook",
"hooks",
"nextjs",
"react",
"react-native",
"stale-while-revalidate",
"suspense",
"swr",
"vercel"
] | MIT | src/infinite/index.ts | index.ts | 11,204 | // We have to several type castings here because `useSWRInfinite` is a special
// hook where `key` and return type are not like the normal `useSWR` types.
import { useRef, useCallback } from 'react'
import type { SWRConfig } from '../index'
import useSWR from '../index'
import {
isUndefined,
isFunction,
UNDEFINE... | 1,202 | 11,204 | 356 | 0.98 | 2026-04-23T09:00:06.425708 | true |
github_altsem_gitu_618dfe3dce130c08bca2784ba3e821d9893e8e8d | Rust | altsem | gitu | 2,679 | 143 | A TUI Git client inspired by Magit | [
"cli",
"git",
"magit",
"standalone",
"tui"
] | MIT | src/tests/cherry_pick.rs | cherry_pick.rs | 1,632 | use super::*;
fn setup_cherry_pickable(ctx: TestContext) -> TestContext {
run(&ctx.dir, &["git", "checkout", "-b", "other-branch"]);
commit(&ctx.dir, "cherry-file", "cherry content");
run(&ctx.dir, &["git", "checkout", "main"]);
ctx
}
fn setup_conflict(ctx: TestContext) -> TestContext {
commit(&ct... | 131 | 1,632 | 68 | 0.98 | 2026-04-17T19:21:19.774372 | true |
github_starship_starship_e16bc222b1471f47fd18488e0d5e8a95bacac2f2 | 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/localip.rs | localip.rs | 574 | use serde::{Deserialize, Serialize};
#[derive(Clone, Deserialize, Serialize)]
#[cfg_attr(
feature = "config-schema",
derive(schemars::JsonSchema),
schemars(deny_unknown_fields)
)]
#[serde(default)]
pub struct LocalipConfig<'a> {
pub ssh_only: bool,
pub format: &'a str,
pub style: &'a str,
p... | 58 | 574 | 27 | 0.98 | 2026-04-17T13:17:49.059476 | true |
github_WhiskeySockets_Baileys_136dcfd5f49dd3ed842f0e748a6770224f30096e | JavaScript | WhiskeySockets | Baileys | 9,061 | 2,909 | Socket-based TS/JavaScript API for WhatsApp Web | [
"bun",
"deno",
"nodejs",
"reverse-engineering",
"typescript",
"websockets",
"whatsapp-web",
"ws"
] | MIT | engine-requirements.js | engine-requirements.js | 308 | const major = parseInt(process.versions.node.split('.')[0], 10);
if (major < 20) {
console.error(
`\n❌ This package requires Node.js 20+ to run reliably.\n` +
` You are using Node.js ${process.versions.node}.\n` +
` Please upgrade to Node.js 20+ to proceed.\n`
);
process.exit(1);
}
| 39 | 306 | 11 | 0.98 | 2026-04-23T07:06:29.396162 | true |
github_Mai-with-u_MaiBot_818c4f88be7a51e3303b469da413a494c46f4c59 | Python | Mai-with-u | MaiBot | 4,630 | 499 | MaiSaka, an LLM-based intelligent agent, is a digital lifeform devoted to understanding you and interacting in the style of a real human. She does not pursue perfection, nor does she seek efficiency; instead, she values warmth, authenticity, and genuine connection. | [
"agent",
"chat",
"chatbot",
"llm",
"llm-agent",
"llms",
"python",
"qq-bot",
"qqbot"
] | GPL-3.0 | src/chat/event_helpers.py | event_helpers.py | 6,901 | """
事件消息构建工具
将 chat 层的消息对象 (SessionMessage / MessageSending) 转换为
核心事件系统使用的 MaiMessages,供调用 event_bus.emit() 前使用。
"""
from typing import List, Optional, TYPE_CHECKING
from src.common.logger import get_logger
from src.core.types import EventType, MaiMessages
if TYPE_CHECKING:
from src.chat.message_receive.message... | 419 | 6,593 | 170 | 0.98 | 2026-04-17T23:24:59.920488 | true |
github_bigint_hey_735ce757466bdb973ee50cc5e9a5955b61fa86ab | TypeScript | bigint | hey | 29,463 | 1,807 | Hey is a decentralized and permissionless social media app built with Lens Protocol 🌿 | [
"blockchain",
"crypto",
"dapp",
"graphql",
"hacktoberfest",
"lens-protocol",
"nextjs",
"react",
"social-media",
"tailwindcss",
"turborepo",
"typescript",
"vitest",
"wagmi",
"web3"
] | GPL-3.0 | src/helpers/logger.ts | logger.ts | 705 | const info = (...args: unknown[]): void => {
console.info(...args);
};
const warn = (...args: unknown[]): void => {
console.warn(...args);
};
const error = (...args: unknown[]): void => {
console.error(...args);
};
const debug = (...args: unknown[]): void => {
if (process.env.NODE_ENV !== "production") {
... | 90 | 705 | 34 | 0.98 | 2026-04-18T01:23:11.273139 | true |
github_sharkdp_bat_3acbb72f7b4275df1532b7a8e956dafa555b040f | 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/vscreen.rs | vscreen.rs | 28,949 | use std::{
fmt::{Display, Formatter},
iter::Peekable,
str::CharIndices,
};
// Wrapper to avoid unnecessary branching when input doesn't have ANSI escape sequences.
pub struct AnsiStyle {
attributes: Option<Attributes>,
}
impl AnsiStyle {
pub fn new() -> Self {
AnsiStyle { attributes: None ... | 2,348 | 28,949 | 954 | 0.98 | 2026-04-17T13:16:58.993932 | true |
github_isomorphic-git_isomorphic-git_97d9683f7f07bbe82a8109aa80ae1f4fe346be98 | JavaScript | isomorphic-git | isomorphic-git | 8,181 | 460 | A pure JavaScript implementation of git for node and browsers! | [
"browser",
"git",
"hacktoberfest",
"isomorphic-javascript",
"javascript",
"nodejs",
"vcs"
] | MIT | src/api/readObject.js | readObject.js | 9,178 | // @ts-check
import '../typedefs.js'
import { ObjectTypeError } from '../errors/ObjectTypeError.js'
import { FileSystem } from '../models/FileSystem.js'
import { GitAnnotatedTag } from '../models/GitAnnotatedTag.js'
import { GitCommit } from '../models/GitCommit.js'
import { GitTree } from '../models/GitTree.js'
impor... | 1,181 | 9,178 | 277 | 0.98 | 2026-04-23T07:10:42.453620 | true |
github_svenstaro_genact_ce06082882a8e9be2923a7669ab35589f07256eb | Rust | svenstaro | genact | 11,993 | 490 | 🌀 A nonsense activity generator | [
"cli",
"fake",
"hacktoberfest",
"nonsense",
"useless",
"wasm",
"webassembly"
] | MIT | src/modules/cargo.rs | cargo.rs | 2,037 | //! Pretend to run cargo to install rust packages
use async_trait::async_trait;
use instant::Instant;
use rand::seq::IndexedRandom;
use rand::{RngExt, rng};
use yansi::Paint;
use crate::args::AppConfig;
use crate::data::PACKAGES_LIST;
use crate::generators::gen_package_version;
use crate::io::{csleep, dprint, newline,... | 174 | 2,037 | 68 | 0.98 | 2026-04-17T14:18:50.880097 | true |
github_rustdesk_rustdesk_60a9ee5d91c839989cd47f3714f03e1c9d78cb84 | 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/platform/delegate.rs | delegate.rs | 8,817 | use std::{ffi::c_void, rc::Rc};
#[cfg(target_os = "macos")]
use cocoa::{
appkit::{NSApp, NSApplication, NSApplicationActivationPolicy::*, NSMenu, NSMenuItem},
base::{id, nil, YES},
foundation::{NSAutoreleasePool, NSString},
};
use objc::runtime::{Class, NO};
use objc::{
class,
declare::ClassDecl,
... | 829 | 8,817 | 278 | 0.98 | 2026-04-17T13:14:47.522079 | true |
github_semaphoreui_semaphore_b9aa4c440f4c5b8c6d781f87869e1f1834f76abd | Go | semaphoreui | semaphore | 13,495 | 1,241 | Modern UI and powerful API for Ansible, Terraform/OpenTofu/Terragrunt, PowerShell and other DevOps tools. | [
"ansible",
"awx",
"ci",
"cicd",
"devops",
"docker",
"docker-ui",
"go",
"golang",
"jenkins",
"opentofu",
"pulumi",
"terraform",
"terraform-ui",
"terragrunt"
] | MIT | api/debug/gc.go | gc.go | 153 | package debug
import (
"net/http"
"runtime"
)
func GC(w http.ResponseWriter, r *http.Request) {
runtime.GC()
w.WriteHeader(http.StatusNoContent)
}
| 16 | 153 | 12 | 0.98 | 2026-04-17T11:19:44.846552 | true |
github_hashicorp_terraform-provider-aws_3c7f9e89f9c29a1f7f58dfd8e2b64421943b06de | 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/create/hashcode_test.go | hashcode_test.go | 679 | // Copyright IBM Corp. 2014, 2026
// SPDX-License-Identifier: MPL-2.0
package create
import (
"testing"
)
func TestStringHashcode(t *testing.T) {
t.Parallel()
v := "hello, world"
expected := StringHashcode(v)
for range 100 {
actual := StringHashcode(v)
if actual != expected {
t.Fatalf("bad: %#v\n\t%#v",... | 90 | 679 | 34 | 0.98 | 2026-04-17T12:30:09.366437 | true |
github_OptimalScale_LMFlow_6430d5b67a30e6084b97c1059640a0f40b9dd56d | Python | OptimalScale | LMFlow | 8,484 | 831 | An Extensible Toolkit for Finetuning and Inference of Large Foundation Models. Large Models for All. | [
"chatgpt",
"deep-learning",
"instruction-following",
"language-model",
"pretrained-models",
"pytorch",
"transformer"
] | Apache-2.0 | src/lmflow/__init__.py | __init__.py | 558 | from .version import __version__ as internal_version
__version__ = internal_version
from transformers.utils import check_min_version
from transformers.utils.versions import require_version
from lmflow import args, datasets, models, pipeline, utils
# Will error if the minimal version of Transformers is not installed... | 57 | 558 | 16 | 0.98 | 2026-04-17T17:24:33.675797 | true |
github_txn2_kubefwd_33d2c0af1fdbeaca8d988ed808c3df17457b0fe3 | Go | txn2 | kubefwd | 4,089 | 222 | Bulk port forwarding Kubernetes services for local development. | [
"api-rest",
"developer-tools",
"devops",
"devops-tools",
"devtools",
"k8s",
"kubefwd",
"kubernetes",
"kubernetes-clusters",
"kubernetes-namespace",
"mcp-server",
"networking",
"port-forward",
"port-forwarding",
"proxy"
] | Apache-2.0 | pkg/fwdapi/logbuffer.go | logbuffer.go | 3,937 | package fwdapi
import (
"sync"
log "github.com/sirupsen/logrus"
"github.com/txn2/kubefwd/pkg/fwdapi/types"
)
// Maximum allocation limit for log buffer (CodeQL CWE-770 compliance)
const maxLogBufferSize = 10000
// boundedSize returns size bounded to limit for memory safety
func boundedSize(size, limit int) int {... | 548 | 3,937 | 179 | 0.98 | 2026-04-17T22:21:57.723650 | true |
github_MorvanZhou_NLP-Tutorials_4034ed3fd8296b27c5a072f9ea94d8fd3dba6eac | Python | MorvanZhou | NLP-Tutorials | 953 | 315 | Simple implementations of NLP models. Tutorials are written in Chinese on my website https://mofanpy.com | [
"attention",
"bert",
"elmo",
"gpt",
"nlp",
"seq2seq",
"transformer",
"tutorial",
"w2v"
] | MIT | BLEU.py | BLEU.py | 1,140 | import numpy as np
from collections import Counter
def BLEU(references, generated, max_grams=4, weights=None):
ref_list = [ref.lower().split(" ") for ref in references]
gen = generated.lower().split(" ")
cpn = np.empty((max_grams,), dtype=np.float32)
for n in range(1, max_grams+1):
gen_gram = ... | 144 | 1,140 | 30 | 0.98 | 2026-04-22T21:15:26.212300 | true |
github_bee-san_Ciphey_8939656d443d2da591f1bc593dd6fc0f27cc9ecc | Rust | bee-san | Ciphey | 21,322 | 1,429 | ⚡ Automatically decrypt encryptions without knowing the key or cipher, decode encodings, and crack hashes ⚡ | [
"artificial-intelligence",
"cipher",
"cpp",
"cryptography",
"ctf",
"ctf-tools",
"cyberchef-magic",
"decryption",
"deep-neural-network",
"encodings",
"encryptions",
"hacking",
"hacktoberfest",
"hashes",
"natural-language-processing",
"pentesting",
"python"
] | MIT | src/decoders/binary_decoder.rs | binary_decoder.rs | 9,056 | use crate::checkers::CheckerTypes;
use crate::decoders::interface::check_string_success;
use super::crack_results::CrackResult;
use super::interface::Crack;
use super::interface::Decoder;
use log::{debug, info, trace};
/// Binary Decoder
pub struct BinaryDecoder;
impl Crack for Decoder<BinaryDecoder> {
fn new()... | 787 | 9,053 | 225 | 0.98 | 2026-04-17T13:40:12.271393 | true |
github_codefuse-ai_ModelCache_3d185187466af36bfb09e7de956f0d8b796e8635 | Python | codefuse-ai | ModelCache | 963 | 60 | A LLM semantic caching system aiming to enhance user experience by reducing response time via cached query-result pairs. | [
"llm",
"semantic-cache"
] | NOASSERTION | flask4modelcache.py | flask4modelcache.py | 1,436 | # -*- coding: utf-8 -*-
import asyncio
from flask import Flask, request, jsonify
from modelcache.cache import Cache
from modelcache.embedding import EmbeddingModel
async def main():
# 创建一个Flask实例
app = Flask(__name__)
cache,loop = await Cache.init(
sql_storage="mysql",
vector_storage="m... | 115 | 1,416 | 49 | 0.98 | 2026-04-22T17:02:09.395008 | true |
github_stamparm_maltrail_08a2246a1887814794c77fe65eea541d0c9cbd3b | Python | stamparm | maltrail | 8,393 | 1,254 | Malicious traffic detection system | [
"attack-detection",
"intrusion-detection",
"malware",
"network-monitoring",
"python",
"security",
"sensor"
] | MIT | core/enums.py | enums.py | 3,334 | #!/usr/bin/env python
"""
Copyright (c) 2014-2026 Maltrail developers (https://github.com/stamparm/maltrail/)
See the file 'LICENSE' for copying permission
"""
import sys
from thirdparty import six
class _(type):
def __getattr__(self, attr):
return attr
@six.add_metaclass(_)
class TRAIL(object):
pa... | 365 | 3,334 | 139 | 0.98 | 2026-04-18T00:36:56.249084 | true |
github_fyne-io_fyne_868f981b38c4d80c73dbba773ed3b43225794c8b | Go | fyne-io | fyne | 28,125 | 1,523 | Cross platform GUI toolkit in Go inspired by Material Design | [
"android",
"cross-platform",
"fyne",
"go",
"golang",
"gui",
"hacktoberfest",
"ios",
"theme",
"toolkit"
] | NOASSERTION | cmd/fyne/main.go | main.go | 1,369 | // Run a command line helper for various Fyne tools.
//
// Deprecated: Install fyne.io/tools/cmd/fyne for latest version.
package main
import (
"fmt"
"os"
"runtime/debug"
"fyne.io/fyne/v2/cmd/fyne/internal/commands"
"github.com/urfave/cli/v2"
)
func main() {
fmt.Println("NOTE: This tool is deprecated and has m... | 154 | 1,369 | 51 | 0.98 | 2026-04-17T08:27:17.914844 | true |
github_paulpierre_RasaGPT_86e6128809ce33ee4015a777d2073e799bea41dd | Python | paulpierre | RasaGPT | 2,463 | 255 | 💬 RasaGPT is the first headless LLM chatbot platform built on top of Rasa and Langchain. Built w/ Rasa, FastAPI, Langchain, LlamaIndex, SQLModel, pgvector, ngrok, telegram | [
"ai",
"chatbot",
"chatgpt",
"fastapi",
"gpt-3",
"gpt-4",
"langchain",
"llama-index",
"llm",
"ml",
"openai",
"rasa",
"rasa-chatbot",
"rasa-core",
"rasa-nlu",
"telegram",
"telegram-bot"
] | MIT | app/api/util.py | util.py | 2,435 | from fastapi import UploadFile
from functools import partial
from hashlib import sha256
from uuid import UUID
import aiofiles
import json
import re
from config import (
logger
)
_snake_1 = partial(re.compile(r'(.)((?<![^A-Za-z])[A-Z][a-z]+)').sub, r'\1_\2')
_snake_2 = partial(re.compile(r'([a-z0-9])([A-Z])').sub, ... | 271 | 2,435 | 96 | 0.98 | 2026-04-17T16:01:23.404039 | true |
github_AlistGo_alist_ba65ef938dbfff4f6056e40297c9c501fb6131ca | Go | AlistGo | alist | 49,317 | 7,951 | 🗂️A file list/WebDAV program that supports multiple storages, powered by Gin and Solidjs. / 一个支持多存储的文件列表/WebDAV程序,使用 Gin 和 Solidjs。 | [
"file-server",
"gin",
"golang",
"onedrive",
"solidjs",
"webdav"
] | AGPL-3.0 | internal/model/file.go | file.go | 355 | package model
import "io"
// File is basic file level accessing interface
type File interface {
io.Reader
io.ReaderAt
io.Seeker
io.Closer
}
type NopMFileIF interface {
io.Reader
io.ReaderAt
io.Seeker
}
type NopMFile struct {
NopMFileIF
}
func (NopMFile) Close() error { return nil }
func NewNopMFile(r NopMFi... | 51 | 355 | 26 | 0.98 | 2026-04-17T07:23:09.946128 | true |
github_redux-form_redux-form_598651ae0ab61a23f8efe99fc140c3a197c1ab67 | JavaScript | redux-form | redux-form | 12,500 | 1,621 | A Higher Order Component using react-redux to keep form state in a Redux store | [
"form",
"form-validation",
"forms",
"react",
"redux",
"redux-form",
"validation"
] | MIT | src/__tests__/immutable.spec.js | immutable.spec.js | 7,388 | import * as expectedActionTypes from '../actionTypes'
import expectedPropTypes, {
fieldPropTypes as expectedFieldPropTypes,
fieldArrayPropTypes as expectedFieldArrayPropTypes
} from '../propTypes'
import {
actionTypes,
arrayInsert,
arrayMove,
arrayPop,
arrayPush,
arrayRemove,
arrayRemoveAll,
arraySh... | 653 | 7,388 | 263 | 0.98 | 2026-04-23T04:56:55.407239 | true |
github_ChenglongChen_pytorch-DRL_7a7962fea727bbbc41aa4be3b3b3aed738ae1b14 | Python | ChenglongChen | pytorch-DRL | 612 | 109 | PyTorch implementations of various Deep Reinforcement Learning (DRL) algorithms for both single agent and multi-agent. | [
"a2c",
"acktr",
"actor-critic",
"advantage-actor-critic",
"ddpg",
"deep-deterministic-policy-gradient",
"deep-q-network",
"deep-reinforcement-learning",
"dqn",
"drl",
"madrl",
"multi-agent",
"ppo",
"proximal-policy-optimization",
"pytorch",
"reinforcement-learning",
"rl"
] | MIT | DQN.py | DQN.py | 4,660 |
import torch as th
from torch import nn
from torch.optim import Adam, RMSprop
import numpy as np
from common.Agent import Agent
from common.Model import ActorNetwork
from common.utils import identity, to_tensor_var
class DQN(Agent):
"""
An agent learned with DQN using replay memory and temporal difference
... | 364 | 4,660 | 106 | 0.98 | 2026-04-22T20:44:40.328584 | true |
github_jetify-com_devbox_6047ccc09e115717a6d63576d96c76b26badf498 | Go | jetify-com | devbox | 11,474 | 310 | Instant, easy, and predictable development environments | [
"build-system",
"build-tool",
"buildpack",
"containers",
"dev-environment",
"devbox",
"development-environment",
"nix",
"venv",
"virtual-environment",
"virtualization"
] | Apache-2.0 | internal/nix/cache.go | cache.go | 1,028 | package nix
import (
"context"
"fmt"
"io"
"os"
)
func CopyInstallableToCache(
ctx context.Context,
out io.Writer,
// Note: installable is a string instead of a flake.Installable
// because flake.Installable does not support store paths yet. It converts
// paths into "path" flakes which is not what we want fo... | 146 | 1,028 | 39 | 0.98 | 2026-04-17T12:17:51.265844 | true |
github_containernetworking_cni_00329a9571b59764c639bb0bf1aa0f1b956787e6 | Go | containernetworking | cni | 6,028 | 1,135 | Container Network Interface - networking for Linux containers | [
"containers",
"docker",
"kubernetes",
"networking"
] | Apache-2.0 | pkg/types/args_test.go | args_test.go | 4,641 | // 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 ... | 528 | 4,641 | 163 | 0.98 | 2026-04-17T20:45:50.334784 | true |
github_bigint_hey_0d99906d0a92a62fc31206fa4afdb9823466d275 | TypeScript | bigint | hey | 29,463 | 1,807 | Hey is a decentralized and permissionless social media app built with Lens Protocol 🌿 | [
"blockchain",
"crypto",
"dapp",
"graphql",
"hacktoberfest",
"lens-protocol",
"nextjs",
"react",
"social-media",
"tailwindcss",
"turborepo",
"typescript",
"vitest",
"wagmi",
"web3"
] | GPL-3.0 | src/helpers/authLink.ts | authLink.ts | 959 | import { ApolloLink, fromPromise, toPromise } from "@apollo/client";
import { hydrateAuthTokens, signOut } from "@/store/persisted/useAuthStore";
import { isTokenExpiringSoon, refreshTokens } from "./tokenManager";
const authLink = new ApolloLink((operation, forward) => {
const { accessToken, refreshToken } = hydrat... | 87 | 959 | 36 | 0.98 | 2026-04-18T01:22:58.417764 | true |
github_filecoin-project_lotus_275b6a8e5b54e9e91fb7f5b4485118fa3964f58f | Go | filecoin-project | lotus | 2,993 | 1,366 | Reference implementation of the Filecoin protocol, written in Go | [
"blockchain",
"filecoin",
"golang",
"ipfs"
] | NOASSERTION | cmd/lotus-shed/commp.go | commp.go | 1,237 | package main
import (
"encoding/base64"
"encoding/hex"
"fmt"
"github.com/urfave/cli/v2"
"golang.org/x/xerrors"
commcid "github.com/filecoin-project/go-fil-commcid"
)
var commpToCidCmd = &cli.Command{
Name: "commp-to-cid",
Usage: "Convert commP to Cid",
Description: "Convert a raw commP to a pi... | 135 | 1,237 | 57 | 0.98 | 2026-04-17T16:51:19.454536 | true |
github_avajs_ava_be7b36d964cee6bfa114d9ca99f82a190bb86cd3 | JavaScript | avajs | ava | 20,850 | 1,406 | Node.js test runner that lets you develop with confidence 🚀 | [
"assert",
"async",
"async-functions",
"ava",
"cli",
"cli-app",
"concurrency",
"javascript",
"node",
"nodejs",
"performance",
"tap",
"tdd",
"test-framework",
"test-runner",
"testing",
"unicorns",
"unit-testing"
] | MIT | lib/load-config.js | load-config.js | 5,716 | import fs from 'node:fs';
import path from 'node:path';
import process from 'node:process';
import url from 'node:url';
import {isPlainObject} from 'is-plain-object';
import {packageConfig, packageJsonPath} from 'package-config';
const NO_SUCH_FILE = Symbol('no ava.config.js file');
const MISSING_DEFAULT_EXPORT = Sym... | 609 | 5,712 | 180 | 0.98 | 2026-04-23T06:48:08.549696 | true |
github_rust-lang_rustlings_8da36f7f579955118b7356feb3582131ac0a495f | Rust | rust-lang | rustlings | 62,528 | 11,177 | :crab: Small exercises to get you used to reading and writing Rust code! | [
"beginner-friendly",
"exercises",
"rust",
"rustlings"
] | MIT | src/main.rs | main.rs | 6,854 | use anyhow::{Context, Result, bail};
use app_state::StateFileStatus;
use clap::Parser;
use std::{
env,
io::{self, IsTerminal, Write},
path::Path,
process::ExitCode,
};
use term::{clear_terminal, press_enter_prompt};
use crate::{
app_state::AppState,
cli::{Args, Command},
editor::Editor,
... | 582 | 6,854 | 211 | 0.98 | 2026-04-17T13:16:16.013331 | true |
github_seratch_ChatGPT-in-Slack_638513f423d962316f44177f60c18085f7e2e60a | Python | seratch | ChatGPT-in-Slack | 510 | 186 | Swift demonstration of how to build a Slack app that enables end-users to interact with a ChatGPT bot | [
"ai",
"aws",
"chatbot",
"chatbots",
"chatgpt",
"lambda-functions",
"openai",
"productivity",
"productivity-tools",
"python",
"python3",
"serverless",
"slack"
] | MIT | app/slack_ops.py | slack_ops.py | 13,041 | from typing import Optional
from typing import List, Dict
import hashlib
import threading
from collections import OrderedDict
import requests
from slack_sdk.web import WebClient, SlackResponse
from slack_sdk.errors import SlackApiError
from slack_bolt import BoltContext
from app.env import IMAGE_FILE_ACCESS_ENABLED
... | 1,131 | 13,041 | 398 | 0.98 | 2026-04-23T01:22:48.122773 | true |
github_mswjs_msw_a757efaeab838e96f4a99275f63ce85b5943c5af | TypeScript | mswjs | msw | 17,848 | 615 | Industry standard API mocking for JavaScript. | [
"api",
"api-mocking",
"devtools",
"mock",
"mock-service-worker",
"mocking",
"mocking-framework",
"mocking-library",
"msw",
"mswjs",
"service-worker"
] | MIT | src/core/HttpResponse.ts | HttpResponse.ts | 7,236 | import { FetchResponse } from '@mswjs/interceptors'
import type { DefaultBodyType, JsonBodyType } from './handlers/RequestHandler'
import type { NoInfer } from './typeUtils'
import {
decorateResponse,
normalizeResponseInit,
} from './utils/HttpResponse/decorators'
export interface HttpResponseInit extends Response... | 689 | 7,236 | 249 | 0.98 | 2026-04-17T17:54:34.643457 | true |
github_pamburus_hl_8f90dc052e7a0706b1067897dfe6fb09544192a3 | Rust | pamburus | hl | 3,077 | 63 | A fast and powerful log viewer and processor that converts JSON logs or logfmt logs into a clear human-readable format. | [
"cli",
"command-line-tool",
"hl",
"human",
"json",
"json-log",
"json-logging",
"json-logs",
"log",
"log-viewer",
"logfmt",
"logging",
"logs",
"rust",
"structured-logging",
"translates-json-logs",
"viewer"
] | MIT | src/xerr/suggest.rs | suggest.rs | 3,425 | // std imports
use std::{cmp::Ordering, collections::HashSet, sync::Arc};
const MIN_RELEVANCE: f64 = 0.75;
#[derive(Debug, Clone, Default)]
pub struct Suggestions {
candidates: Vec<(f64, Arc<str>)>,
reg: HashSet<Arc<str>>,
}
impl Suggestions {
pub fn new<T, I>(wanted: &str, variants: I) -> Self
where... | 332 | 3,425 | 133 | 0.98 | 2026-04-17T19:18:42.468321 | true |
github_starship_starship_0c4dc480e66ef4090f07c34a1c7391459e6ce9fc | 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_commit.rs | git_commit.rs | 941 | use serde::{Deserialize, Serialize};
#[derive(Clone, Deserialize, Serialize)]
#[cfg_attr(
feature = "config-schema",
derive(schemars::JsonSchema),
schemars(deny_unknown_fields)
)]
#[serde(default)]
pub struct GitCommitConfig<'a> {
pub commit_hash_length: usize,
pub format: &'a str,
pub style: &... | 94 | 938 | 36 | 0.98 | 2026-04-17T13:17:41.084648 | true |
github_babel_babel_9ec0ba73645ffeeeec0a7e4eb69068859676c36a | TypeScript | babel | babel | 43,892 | 5,813 | 🐠 Babel is a compiler for writing next generation JavaScript. | [
"ast",
"babel",
"compiler",
"es2015",
"es6",
"flavortown",
"javascript"
] | MIT | lib/babel-plugin-dynamic-import-node.d.ts | babel-plugin-dynamic-import-node.d.ts | 612 | // https://github.com/airbnb/babel-plugin-dynamic-import-node/blob/master/src/utils.js
declare module "babel-plugin-dynamic-import-node/utils" {
import type { PluginAPI, PluginPass } from "@babel/core";
import type { NodePath } from "@babel/traverse";
import type * as t from "@babel/types";
function getImportSo... | 56 | 612 | 18 | 0.98 | 2026-04-23T13:04:29.845539 | true |
github_microsoft_magentic-ui_05f50dbcb8d495fa501c16aa22a4661639967893 | Python | microsoft | magentic-ui | 9,784 | 974 | A research prototype of a human-centered web agent | [
"agents",
"ai",
"ai-ux",
"autogen",
"browser-use",
"computer-use-agent",
"cua",
"ui"
] | MIT | src/magentic_ui/_cli.py | _cli.py | 33,857 | import asyncio
import json
import logging
import os
import signal
import sys
import types
from datetime import datetime
from pathlib import Path
from typing import Any, List, Literal, Optional, cast
from typing_extensions import Annotated
import typer
import yaml
from autogen_core import EVENT_LOGGER_NAME, Cancellatio... | 3,056 | 33,557 | 843 | 0.98 | 2026-04-22T17:14:33.428232 | true |
github_vercel_swr_c9345db0fd947a999dad7979488c3c88d35b69fc | TypeScript | vercel | swr | 32,352 | 1,332 | React Hooks for Data Fetching | [
"cache",
"data",
"data-fetching",
"fetch",
"hook",
"hooks",
"nextjs",
"react",
"react-native",
"stale-while-revalidate",
"suspense",
"swr",
"vercel"
] | MIT | src/subscription/types.ts | types.ts | 944 | import type { Key, SWRConfiguration, MutatorCallback } from '../index'
export type SWRSubscriptionOptions<Data = any, Error = any> = {
next: (err?: Error | null, data?: Data | MutatorCallback<Data>) => void
}
export type SWRSubscription<
SWRSubKey extends Key = Key,
Data = any,
Error = any
> = SWRSubKey exten... | 140 | 944 | 33 | 0.98 | 2026-04-23T09:00:09.210536 | true |
github_rhaiscript_rhai_879d5add4a2c2ff8eeaadac7f5c2a98a902e0685 | Rust | rhaiscript | rhai | 5,282 | 231 | Rhai - An embedded scripting language for Rust. | [
"embedded",
"embedded-scripting-language",
"no-std",
"rhai",
"scripting-engine",
"scripting-language",
"wasm",
"webassembly"
] | Apache-2.0 | src/packages/bit_field.rs | bit_field.rs | 7,718 | use crate::eval::calc_index;
use crate::plugin::*;
use crate::{
def_package, ExclusiveRange, InclusiveRange, Position, RhaiResultOf, ERR, INT, INT_BITS,
UNSIGNED_INT,
};
use std::convert::TryFrom;
#[cfg(feature = "no_std")]
use std::prelude::v1::*;
def_package! {
/// Package of basic bit-field utilities.
... | 946 | 7,710 | 263 | 0.98 | 2026-04-17T15:16:29.883929 | true |
github_i18next_react-i18next_466d8406339b5b23c949dce9cb3348e23773e926 | JavaScript | i18next | react-i18next | 9,965 | 1,052 | Internationalization for react done right. Using the i18next i18n ecosystem. | [
"i18n",
"i18next",
"internationalization",
"react",
"react-native",
"ssr",
"translation"
] | MIT | src/IcuTransUtils/TranslationParserError.js | TranslationParserError.js | 734 | /**
* Error thrown during translation parsing
*/
export class TranslationParserError extends Error {
/**
* @param {string} message - Error message
* @param {number} [position] - Position in the translation string where the error occurred
* @param {string} [translationString] - The full translation string b... | 85 | 734 | 25 | 0.98 | 2026-04-23T05:46:13.850518 | true |
github_mastra-ai_mastra_e4bbc4dcb5701163e66f1684ad8688a273f892b5 | TypeScript | mastra-ai | mastra | 23,245 | 1,941 | From the team behind Gatsby, Mastra is a framework for building AI-powered applications and agents with a modern TypeScript stack. | [
"agents",
"ai",
"chatbots",
"evals",
"javascript",
"llm",
"mcp",
"nextjs",
"nodejs",
"reactjs",
"tts",
"typescript",
"workflows"
] | NOASSERTION | vitest.config.ts | vitest.config.ts | 3,433 | import { globSync, readFileSync } from 'node:fs';
import { dirname, resolve } from 'node:path';
import { loadConfigFromFile } from 'vite';
import type { TestProjectConfiguration, UserWorkspaceConfig } from 'vitest/config';
import { defineConfig } from 'vitest/config';
// Directories to exclude from project discovery
c... | 343 | 3,433 | 109 | 0.98 | 2026-04-23T09:10:30.604612 | true |
github_seratch_ChatGPT-in-Slack_387126c1f0665892ec2538f5a98ee7a15fab81c5 | Python | seratch | ChatGPT-in-Slack | 510 | 186 | Swift demonstration of how to build a Slack app that enables end-users to interact with a ChatGPT bot | [
"ai",
"aws",
"chatbot",
"chatbots",
"chatgpt",
"lambda-functions",
"openai",
"productivity",
"productivity-tools",
"python",
"python3",
"serverless",
"slack"
] | MIT | app/env.py | env.py | 2,863 | import os
DEFAULT_SYSTEM_TEXT = """
You are a bot in a slack chat room. You might receive messages from multiple people.
Format bold text *like this*, italic text _like this_ and strikethrough text ~like this~.
Slack user IDs match the regex `<@U.*?>`.
Your Slack user ID is <@{bot_user_id}>.
Each message has the autho... | 228 | 2,863 | 79 | 0.98 | 2026-04-23T01:22:44.150015 | true |
github_PrefectHQ_marvin_7c69bca44d5ed63d75194b0496c2505663cbf08e | Python | PrefectHQ | marvin | 6,142 | 397 | an ambient intelligence library | [
"agents",
"ai",
"ambient-ai",
"chatbots",
"gpt",
"llm",
"nli",
"python",
"structured-outputs"
] | Apache-2.0 | src/marvin/thread.py | thread.py | 15,161 | """Thread management for conversations.
This module provides the Thread class for managing conversation context.
"""
import uuid
from contextvars import ContextVar
from dataclasses import dataclass, field
from datetime import datetime
from typing import Any, Sequence
from pydantic import TypeAdapter
from pydantic_ai... | 1,436 | 15,161 | 465 | 0.98 | 2026-04-22T15:15:41.809038 | true |
github_tursodatabase_turso_110955ccce2a961f2a84524918a7ff2257e9e573 | Rust | tursodatabase | turso | 18,264 | 837 | Turso is an in-process SQL database, compatible with SQLite. | [
"database",
"embedded-database",
"sql",
"sqlite3",
"webassembly"
] | MIT | core/statement.rs | statement.rs | 39,610 | use std::{
borrow::Cow,
num::NonZero,
ops::Deref,
sync::{atomic::Ordering, Arc},
task::Waker,
time::Duration,
};
use tracing::{instrument, Level};
use turso_parser::{
ast::{fmt::ToTokens, Cmd},
parser::Parser,
};
use crate::{
busy::BusyHandlerState,
parameters,
schema::Trig... | 3,213 | 39,604 | 1,057 | 0.98 | 2026-04-17T13:46:32.008026 | true |
github_hatoo_oha_12beed691c3c0f53fd959f4396388d0af2117ca3 | Rust | hatoo | oha | 10,193 | 288 | Ohayou(おはよう), HTTP load generator, inspired by rakyll/hey with tui animation. | [
"benchmark",
"cli",
"command-line",
"http",
"http2",
"load-generator",
"load-testing",
"rust",
"tui"
] | MIT | src/aws_auth.rs | aws_auth.rs | 3,760 | use anyhow::Result;
use bytes::Bytes;
use hyper::{
HeaderMap,
header::{self, HeaderName},
};
use thiserror::Error;
use url::Url;
pub struct AwsSignatureConfig {
pub access_key: String,
pub secret_key: String,
pub session_token: Option<String>,
pub service: String,
pub region: String,
}
#[... | 260 | 3,760 | 139 | 0.98 | 2026-04-17T14:24:54.767769 | true |
github_lirantal_dockly_1a2da4095aff1d1d815e761ce9f2ea95db871f1d | JavaScript | lirantal | dockly | 4,011 | 163 | Immersive terminal interface for managing docker containers and services | [
"cli",
"command-line-tool",
"console",
"containers",
"docker",
"hacktoberfest",
"nodejs"
] | MIT | src/assetsLoader.js | assetsLoader.js | 954 | 'use strict'
const path = require('path')
const glob = require('glob')
const config = {
'hooks': path.join(__dirname, '/../hooks/*.hook.js'),
'widgets': path.join(__dirname, '/../widgets/**/*.widget.js')
}
class assetsLoader {
static load () {
const assets = this.resolveAssetFiles()
return assets
}
... | 89 | 954 | 45 | 0.98 | 2026-04-23T07:41:23.661661 | true |
github_bailicangdu_react-pxq_87074d00d80bb0e580be69f60164a6d2e892e31d | JavaScript | bailicangdu | react-pxq | 7,520 | 2,132 | 一个 react + redux 的完整项目 和 个人总结 | [
"react"
] | MIT | src/envconfig/envconfig.js | envconfig.js | 233 | /**
* 全局配置文件
*/
let baseURL;
let imgUrl = '//elm.cangdu.org/img/';
if(process.env.NODE_ENV === 'development'){
baseURL = '//api.cangdu.org';
}else{
baseURL = '//api.cangdu.org';
}
export default {imgUrl, baseURL} | 25 | 221 | 13 | 0.98 | 2026-04-23T05:57:26.289246 | true |
github_rivo_tview_a74079bfc1220acf9b852db6c99df8759bba7b11 | Go | rivo | tview | 13,771 | 669 | Terminal UI library with rich, interactive widgets — written in Golang | [
"golang",
"terminal-based",
"user-interface"
] | MIT | textarea.go | textarea.go | 79,962 | package tview
import (
"math"
"strings"
"unicode"
"unicode/utf8"
"github.com/gdamore/tcell/v2"
"github.com/rivo/uniseg"
)
const (
// The minimum capacity of the text area's piece chain slice.
pieceChainMinCap = 10
// The minimum capacity of the text area's edit buffer.
editBufferMinCap = 200
// The maxi... | 11,555 | 79,962 | 2,448 | 0.98 | 2026-04-17T11:15:35.124703 | true |
github_fosslife_devtools-x_52e234e72a17f6ba43b0607ba4cdbc3af8e74ef4 | TypeScript | fosslife | devtools-x | 1,523 | 73 | Collection of offline first developer utilities available as non-electron desktop application. all in one place, cross-platform, 10MB app! | [
"developer-tools",
"devtools",
"devtoys",
"devutils",
"hacktoberfest",
"hacktoberfest-accepted",
"linux",
"macos",
"tauri",
"windows"
] | MIT | src/Theme/index.ts | index.ts | 432 | import { MantineColorsTuple, createTheme } from "@mantine/core";
import { customComponents } from "./components";
const myColor: MantineColorsTuple = [
"#eef3ff",
"#dce4f5",
"#b9c7e2",
"#94a8d0",
"#748dc1",
"#5f7cb8",
"#5474b4",
"#44639f",
"#39588f",
"#2d4b81",
];
const theme = createTheme({
com... | 47 | 432 | 26 | 0.98 | 2026-04-18T00:29:08.675297 | true |
github_i18next_i18next_73e49dacf2b9909e0c118faaa84d59572311801e | JavaScript | i18next | i18next | 8,548 | 686 | i18next: learn once - translate everywhere | [
"deno",
"ecosystem",
"flexibility",
"i18n",
"internationalization",
"javascript",
"nodejs",
"translation"
] | MIT | src/BackendConnector.js | BackendConnector.js | 8,563 | import { pushPath, isString } from './utils.js';
import baseLogger from './logger.js';
import EventEmitter from './EventEmitter.js';
const removePending = (q, name) => {
if (q.pending[name] !== undefined) {
delete q.pending[name];
q.pendingCount--;
}
};
class Connector extends EventEmitter {
constructor... | 954 | 8,563 | 286 | 0.98 | 2026-04-23T07:08:48.683683 | true |
github_mpatacchiola_dissecting-reinforcement-learning_6246986f66b7e55d513bdfbb820d13e245bf1d07 | Python | mpatacchiola | dissecting-reinforcement-learning | 624 | 179 | Python code, PDFs and resources for the series of posts on Reinforcement Learning which I published on my personal blog | [
"actor-critic",
"deep-reinforcement-learning",
"dissecting-reinforcement-learning",
"drone-landing",
"genetic-algorithm",
"inverted-pendulum",
"markov-chain",
"mountain-car",
"multi-armed-bandit",
"neural-networks",
"q-learning",
"reinforcement-learning",
"sarsa",
"temporal-differencing-le... | MIT | src/5/gridworld.py | gridworld.py | 8,186 | #!/usr/bin/env python
#MIT License
#Copyright (c) 2017 Massimiliano Patacchiola
# https://mpatacchiola.github.io/blog/
#
#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, inc... | 945 | 8,186 | 180 | 0.98 | 2026-04-22T20:43:12.233690 | true |
github_EvoMap_evolver_a78f4fd63115235beada97b0705c0ed649beeb4e | JavaScript | EvoMap | evolver | 6,584 | 643 | The GEP-powered self-evolving engine for AI agents. Auditable evolution with Genes, Capsules, and Events. | evomap.ai | [
"a2a",
"agent-evolution",
"agent-framework",
"agent-protocol",
"ai-agent",
"auditable-ai",
"autonomous-agent",
"cli",
"evomap",
"gep",
"llm-agent",
"mcp",
"memory-system",
"nodejs",
"prompt-engineering",
"prompt-governance",
"self-evolution",
"self-evolving",
"skill-library",
"... | GPL-3.0 | src/gep/executionTrace.js | executionTrace.js | 10,108 | // Execution Trace: structured, desensitized evolution execution summary.
// Built during solidify and optionally shared with Hub via EvolutionEvent payload.
//
// Desensitization rules (applied locally, never on Hub):
// - File paths: basename + extension only (src/utils/retry.js -> retry.js)
// - Code content: never ... | 995 | 10,108 | 292 | 0.98 | 2026-04-23T07:17:50.234707 | true |
github_pathwaycom_pathway_4ab710c570eae5799859574904e48114fda3f36f | 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/python_api/threads.rs | threads.rs | 2,915 | // Copyright © 2026 Pathway
#![deny(unsafe_op_in_unsafe_fn)]
use pyo3::prelude::*;
use pyo3::ffi::{
PyEval_RestoreThread, PyEval_SaveThread, PyGILState_Ensure, PyGILState_GetThisThreadState,
PyGILState_Release, PyGILState_STATE, PyThreadState,
};
use pyo3::intern;
pub struct PythonThreadState {
gil_stat... | 332 | 2,914 | 81 | 0.98 | 2026-04-23T04:40:52.174627 | true |
github_nodejs_node_1c440794f3932ff7aa6b2f3939eafb90a041d88c | JavaScript | nodejs | node | 116,870 | 35,414 | Node.js JavaScript runtime ✨🐢🚀✨ | [
"javascript",
"js",
"linux",
"macos",
"mit",
"node",
"nodejs",
"runtime",
"windows"
] | NOASSERTION | lib/inspector.js | inspector.js | 7,308 | 'use strict';
const {
JSONParse,
JSONStringify,
SafeMap,
SymbolDispose,
} = primordials;
const {
ERR_INSPECTOR_ALREADY_ACTIVATED,
ERR_INSPECTOR_ALREADY_CONNECTED,
ERR_INSPECTOR_CLOSED,
ERR_INSPECTOR_COMMAND,
ERR_INSPECTOR_NOT_AVAILABLE,
ERR_INSPECTOR_NOT_CONNECTED,
ERR_INSPECTOR_NOT_ACTIVE,
ER... | 692 | 7,308 | 253 | 0.98 | 2026-04-23T06:15:45.957312 | true |
github_lihuacai168_AnotherFasterRunner_7f644d845a43e3333689bd7ee087465fc7f383be | Python | lihuacai168 | AnotherFasterRunner | 722 | 158 | 接口自动化测试平台,基于HttpRunner+Python+Django+Vue,已在多家公司落地使用,2018年服役至今 | [
"auto",
"auto-test",
"automation",
"autotest",
"autotesting",
"django",
"fasterrunner",
"httprunner",
"pytho",
"python",
"python-test",
"test-automation"
] | MIT | test_settings.py | test_settings.py | 1,354 | # Test settings for FasterRunner
import datetime
from FasterRunner.settings.base import *
# Test database configuration
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.sqlite3',
'NAME': ':memory:',
}
}
# Disable external services for testing
CELERY_TASK_ALWAYS_EAGER = True
CELERY_TAS... | 139 | 1,354 | 65 | 0.98 | 2026-04-23T03:55:38.407005 | true |
github_mimblewimble_grin_e9f1af4ae20f6e0174113fdfe19adeedf38760d0 | Rust | mimblewimble | grin | 5,088 | 984 | Minimal implementation of the Mimblewimble protocol. | [
"cryptocurrency",
"cryptography",
"grin",
"mimblewimble",
"rust",
"zero-knowledge-proofs"
] | Apache-2.0 | api/src/lib.rs | lib.rs | 1,425 | // Copyright 2021 The Grin Developers
//
// 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 agree... | 197 | 1,425 | 57 | 0.98 | 2026-04-17T15:19:56.502294 | true |
github_miurla_babyagi-ui_577bfa1a063642c6417398600ab8d88b0f3e7e89 | TypeScript | miurla | babyagi-ui | 1,327 | 273 | BabyAGI UI is designed to make it easier to run and develop with babyagi in a web app, like a ChatGPT. | [
"agent",
"babyagi",
"langchain-js",
"nextjs",
"openai-api",
"pinecone",
"radix-ui",
"tailwindcss"
] | MIT | src/hooks/useApiKeyCheck.ts | useApiKeyCheck.ts | 875 | // src/hooks/useApiKeyCheck.ts
import { SETTINGS_KEY } from '@/utils/constants';
import { UserSettings } from '@/types';
import { translate } from '../utils/translate';
export const useApiKeyCheck = () => {
const checkApiKeySetting = () => {
const useUserApiKey = process.env.NEXT_PUBLIC_USE_USER_API_KEY;
if ... | 96 | 875 | 33 | 0.98 | 2026-04-23T11:23:13.897575 | true |
github_axios_axios_f22c474356d07a7fb7b0595640ab139e9472e2cc | 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/core/transformData.js | transformData.js | 776 | 'use strict';
import utils from '../utils.js';
import defaults from '../defaults/index.js';
import AxiosHeaders from '../core/AxiosHeaders.js';
/**
* Transform the data for a request or a response
*
* @param {Array|Function} fns A single function or Array of functions
* @param {?Object} response The response obje... | 98 | 776 | 29 | 0.98 | 2026-04-23T06:16:48.142122 | true |
github_TykTechnologies_tyk_1a42655b8d5d7b91aa26221587e818fa42c6d01c | Go | TykTechnologies | tyk | 10,692 | 1,153 | Tyk Open Source API Gateway written in Go, supporting REST, GraphQL, TCP and gRPC protocols | [
"api",
"api-gateway",
"api-management",
"cloudnative",
"go",
"graphql",
"grpc",
"k8s",
"kubernetes",
"microservices",
"reverse-proxy",
"tyk"
] | NOASSERTION | internal/event/event_test.go | event_test.go | 960 | package event
import (
"context"
"net/http"
"testing"
"github.com/stretchr/testify/assert"
)
func TestEventToString(t *testing.T) {
t.Parallel()
t.Run("Event with description", func(t *testing.T) {
t.Parallel()
s := String(RateLimitSmoothingUp)
assert.NotEmpty(t, s)
assert.Contains(t, s, " ")
})
t... | 98 | 960 | 48 | 0.98 | 2026-04-17T12:33:06.600963 | true |
github_mastra-ai_mastra_6f1ed7720d3936b8ea47db6be2a6a026f6a1a996 | TypeScript | mastra-ai | mastra | 23,245 | 1,941 | From the team behind Gatsby, Mastra is a framework for building AI-powered applications and agents with a modern TypeScript stack. | [
"agents",
"ai",
"chatbots",
"evals",
"javascript",
"llm",
"mcp",
"nextjs",
"nodejs",
"reactjs",
"tts",
"typescript",
"workflows"
] | NOASSERTION | vitest.config.observability.ts | vitest.config.observability.ts | 358 | import { defineConfig } from 'vitest/config';
import { config } from 'dotenv';
import { resolve } from 'path';
config({ path: resolve(__dirname, '.env') });
export default defineConfig({
test: {
projects: ['observability/*'],
exclude: ['**/*.test.js', '**/*.spec.js', '**/node_modules/**', '**/dist/**', '**/... | 39 | 358 | 13 | 0.98 | 2026-04-23T09:10:30.247894 | true |
github_rust-lang_rust_7876125f7fdf71351d6497f8c39d39644dfa47d2 | Rust | rust-lang | rust | 112,076 | 14,769 | Empowering everyone to build reliable and efficient software. | [
"compiler",
"language",
"rust"
] | Apache-2.0 | src/librustdoc/error.rs | error.rs | 1,365 | use std::error;
use std::fmt::{self, Formatter};
use std::path::{Path, PathBuf};
use crate::docfs::PathError;
#[derive(Debug)]
pub(crate) struct Error {
pub(crate) file: PathBuf,
pub(crate) error: String,
}
impl error::Error for Error {}
impl std::fmt::Display for Error {
fn fmt(&self, f: &mut Formatter... | 144 | 1,365 | 60 | 0.98 | 2026-04-17T13:13:49.971977 | true |
github_bigint_hey_c80fec6471cbed96176e596532012444c4934a06 | TypeScript | bigint | hey | 29,463 | 1,807 | Hey is a decentralized and permissionless social media app built with Lens Protocol 🌿 | [
"blockchain",
"crypto",
"dapp",
"graphql",
"hacktoberfest",
"lens-protocol",
"nextjs",
"react",
"social-media",
"tailwindcss",
"turborepo",
"typescript",
"vitest",
"wagmi",
"web3"
] | GPL-3.0 | src/data/errors.ts | errors.ts | 118 | export const ERRORS = {
SignWallet: "Please sign in your wallet.",
SomethingWentWrong: "Something went wrong!"
};
| 16 | 118 | 5 | 0.98 | 2026-04-18T01:22:55.963293 | true |
github_infiniflow_ragflow_4d38c40d2180be542ee78897027ebf9f544a579d | Python | infiniflow | ragflow | 78,746 | 8,896 | RAGFlow is a leading open-source Retrieval-Augmented Generation (RAG) engine that fuses cutting-edge RAG with Agent capabilities to create a superior context layer for LLMs | [
"agent",
"agentic",
"agentic-ai",
"agentic-workflow",
"ai",
"context-engineering",
"context-retrieval",
"deep-research",
"deepseek",
"deepseek-r1",
"document-understanding",
"graphrag",
"harness",
"llm",
"mcp",
"ollama",
"openai",
"openclaw",
"rag",
"retrieval-augmented-generat... | Apache-2.0 | api/utils/common.py | common.py | 930 | #
# Copyright 2025 The InfiniFlow Authors. 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... | 130 | 930 | 30 | 0.98 | 2026-04-22T14:52:26.148382 | true |
github_parse-community_parse-server_c7c3aba5e41cb0ba272acf0b894246766dfb6287 | JavaScript | parse-community | parse-server | 21,382 | 4,819 | Parse Server for Node.js / Express | [
"baas",
"backend",
"file-storage",
"graphql",
"graphql-api",
"graphql-relay",
"graphql-server",
"hacktoberfest",
"mbaas",
"mongodb",
"nodejs",
"notifications",
"object-storage",
"parse-platform",
"parse-server",
"postgres",
"relay",
"rest-api"
] | Apache-2.0 | src/Security/Check.js | Check.js | 1,935 | /**
* @module SecurityCheck
*/
import Utils from '../Utils';
import { isFunction, isString } from 'lodash';
/**
* A security check.
* @class
*/
class Check {
/**
* Constructs a new security check.
* @param {Object} params The parameters.
* @param {String} params.title The title.
* @param {String} p... | 255 | 1,935 | 86 | 0.98 | 2026-04-23T06:47:34.043802 | true |
github_rust-lang_rustlings_2467b4503661f74f2f49218499087f8ec9caca25 | Rust | rust-lang | rustlings | 62,528 | 11,177 | :crab: Small exercises to get you used to reading and writing Rust code! | [
"beginner-friendly",
"exercises",
"rust",
"rustlings"
] | MIT | src/term.rs | term.rs | 8,857 | use crossterm::{
Command, QueueableCommand,
cursor::MoveTo,
style::{Attribute, Color, ResetColor, SetAttribute, SetForegroundColor},
terminal::{Clear, ClearType},
};
use std::{
fmt, fs,
io::{self, BufRead, StdoutLock, Write},
};
use crate::app_state::CheckProgress;
pub struct MaxLenWriter<'a, ... | 777 | 8,855 | 314 | 0.98 | 2026-04-17T13:16:17.182853 | true |
github_SwinTransformer_Transformer-SSL_ea8877d8e22cf4d7cb932d4019c4d163ae0370fa | Python | SwinTransformer | Transformer-SSL | 667 | 72 | This is an official implementation for "Self-Supervised Learning with Swin Transformers". | [
"self-supervised-learning",
"swin-transformer",
"transformer"
] | MIT | moby_main.py | moby_main.py | 9,839 | # --------------------------------------------------------
# Swin Transformer
# Copyright (c) 2021 Microsoft
# Licensed under The MIT License [see LICENSE for details]
# Written by Ze Liu
# Modified by Zhenda Xie
# --------------------------------------------------------
import os
import time
import argparse
import da... | 764 | 9,839 | 237 | 0.98 | 2026-04-22T21:45:04.256167 | true |
github_eloialonso_iris_c22e6414d63dc72198352a73f409d587bc649e8a | Python | eloialonso | iris | 877 | 94 | Transformers are Sample-Efficient World Models. ICLR 2023, notable top 5%. | [
"artificial-intelligence",
"atari",
"deep-learning",
"machine-learning",
"reinforcement-learning",
"research",
"transformers",
"world-models"
] | GPL-3.0 | src/models/actor_critic.py | actor_critic.py | 7,323 | from dataclasses import dataclass
from typing import Any, Optional, Union
import sys
from einops import rearrange
import numpy as np
import torch
from torch.distributions.categorical import Categorical
import torch.nn as nn
import torch.nn.functional as F
from tqdm import tqdm
from dataset import Batch
from envs.worl... | 604 | 7,323 | 167 | 0.98 | 2026-04-22T20:26:50.854575 | true |
github_lbjlaq_Antigravity-Manager_6057c63b213088c2e7c7649463e5a7637c9885dd | TypeScript | lbjlaq | Antigravity-Manager | 28,337 | 3,089 | Professional Antigravity Account Manager & Switcher. One-click seamless account switching for Antigravity Tools. Built with Tauri v2 + React (Rust).专业的 Antigravity 账号管理与切换工具。为 Antigravity 提供一键无缝账号切换功能。 | [
"account-manager",
"antigravity"
] | NOASSERTION | src/services/accountService.ts | accountService.ts | 7,314 | import i18n from '../i18n';
import { Account, DeviceProfile, DeviceProfileVersion, QuotaData } from '../types/account';
import { request as invoke } from '../utils/request';
// 检查环境 (可选)
function ensureTauriEnvironment() {
// Web 模式下 request 也是一个 function,所以这里不应抛错
if (typeof invoke !== 'function') {
th... | 697 | 7,052 | 222 | 0.98 | 2026-04-17T13:28:44.315135 | true |
github_rangle_augury_49105028125d0c42a6c77a7898abf6c64117c5eb | TypeScript | rangle | augury | 1,995 | 214 | Angular Debugging and Visualization Tools | [
"angular",
"angular2",
"augury",
"debugging",
"devtools"
] | MIT | src/tree/change.ts | change.ts | 320 | export type Operation = 'add'
| 'copy'
| 'replace'
| 'move'
| 'remove'
| 'test';
export interface Change {
/// The operation that this change represents (add, remove, etc)
op: Operation;
/// The path to the element in the document being changed
path: string;
/// Right operand (value)
value;
}
| 50 | 320 | 19 | 0.98 | 2026-04-18T00:27:12.064306 | true |
github_lengstrom_fast-style-transfer_ce20bbefa02f475f7ed29822a6194f9898db0ab3 | Python | lengstrom | fast-style-transfer | 10,970 | 2,563 | TensorFlow CNN for fast style transfer ⚡🖥🎨🖼 | [
"deep-learning",
"neural-networks",
"neural-style",
"style-transfer"
] | UNKNOWN | style.py | style.py | 6,161 | from __future__ import print_function
import sys, os, pdb
sys.path.insert(0, 'src')
import numpy as np, scipy.misc
from optimize import optimize
from argparse import ArgumentParser
from utils import save_img, get_img, exists, list_files
import evaluate
CONTENT_WEIGHT = 7.5e0
STYLE_WEIGHT = 1e2
TV_WEIGHT = 2e2
LEARNI... | 419 | 6,161 | 168 | 0.98 | 2026-04-22T14:00:06.012982 | true |
github_deepdrive_deepdrive_d22fe7c3614cf1dd983a83aa4d06050e1bbb7a1d | Python | deepdrive | deepdrive | 927 | 150 | Deepdrive is a simulator that allows anyone with a PC to push the state-of-the-art in self-driving | [
"competition",
"control",
"deep-learning",
"deep-reinforcement-learning",
"gym",
"python",
"reinforcement-learning",
"self-driving-car",
"sensorimotor",
"simulation",
"tensorflow",
"transfer-learning",
"unreal-engine",
"vision"
] | NOASSERTION | logs.py | logs.py | 2,209 | import os
import logging
from logging.handlers import RotatingFileHandler
import sys
import config as c
from util.anonymize import anonymize_user_home
os.makedirs(c.LOG_DIR, exist_ok=True)
log_format = logging.Formatter(
'%(asctime)s - %(name)s - %(levelname)s - %(message)s')
log_level = logging.INFO
all_loggers ... | 188 | 2,209 | 75 | 0.98 | 2026-04-22T20:24:59.041477 | true |
github_vega_ts-json-schema-generator_76ea964cf366ec370ee73e60a76242db1dce187e | TypeScript | vega | ts-json-schema-generator | 1,697 | 235 | Generate JSON schema from your Typescript sources | [
"compiler",
"generator",
"json-schema",
"typescript"
] | MIT | src/NodeParser/StringLiteralNodeParser.ts | StringLiteralNodeParser.ts | 558 | import ts from "typescript";
import type { Context } from "../NodeParser.js";
import type { SubNodeParser } from "../SubNodeParser.js";
import type { BaseType } from "../Type/BaseType.js";
import { LiteralType } from "../Type/LiteralType.js";
export class StringLiteralNodeParser implements SubNodeParser {
public s... | 59 | 558 | 15 | 0.98 | 2026-04-23T13:44:34.714520 | true |
github_getsentry_sentry-cli_8e2b3ed756ff1a2e48e7583d8eaef876705ced1d | TypeScript | 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 | lib/logger.ts | logger.ts | 238 | 'use strict';
import { format } from 'node:util';
export class Logger {
constructor(public stream: NodeJS.WriteStream) {}
log() {
const message = format(...arguments);
this.stream.write(`[sentry-cli] ${message}\n`);
}
};
| 26 | 238 | 13 | 0.98 | 2026-04-17T19:38:19.511323 | true |
github_playcanvas_engine_7c5d325b17875ffc84cee1ddda059bcc2b2157f5 | 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/preprocessor.js | preprocessor.js | 29,777 | import { Debug } from './debug.js';
// id for debug tracing
const TRACEID = 'Preprocessor';
// accepted keywords
const KEYWORD = /[ \t]*#(ifn?def|if|endif|else|elif|define|undef|extension|include)/g;
// #define EXPRESSION
// eslint-disable-next-line regexp/no-super-linear-backtracking, regexp/optimal-quantifier-conc... | 2,952 | 29,777 | 731 | 0.98 | 2026-04-23T06:54:26.296547 | true |
github_bigint_hey_fb36406c644c102233e6c30ee17b2bf98d9511bc | TypeScript | bigint | hey | 29,463 | 1,807 | Hey is a decentralized and permissionless social media app built with Lens Protocol 🌿 | [
"blockchain",
"crypto",
"dapp",
"graphql",
"hacktoberfest",
"lens-protocol",
"nextjs",
"react",
"social-media",
"tailwindcss",
"turborepo",
"typescript",
"vitest",
"wagmi",
"web3"
] | GPL-3.0 | src/helpers/normalizeDescription.ts | normalizeDescription.ts | 337 | const MIN_LENGTH = 25;
const MAX_LENGTH = 160;
const normalizeDescription = (
text: string | null | undefined,
fallback: string
): string => {
const trimmed = (text ?? "").trim();
const base = trimmed.length >= MIN_LENGTH ? trimmed : fallback.trim();
return base.slice(0, MAX_LENGTH);
};
export default norma... | 47 | 337 | 14 | 0.98 | 2026-04-18T01:23:11.826298 | true |
github_jely2002_youtube-dl-gui_4c8bf55a1b662e2062aa7758d7d2e328c7efb005 | TypeScript | jely2002 | youtube-dl-gui | 7,992 | 586 | Open Video Downloader - A cross-platform GUI for youtube-dl made in Rust with Tauri and Vue + Typescript. | [
"cross-platform-gui",
"downloader",
"tailwind",
"tauri",
"vue",
"youtube",
"youtube-dl",
"youtube-dl-gui",
"ytdl"
] | AGPL-3.0 | src/composables/useTheme.ts | useTheme.ts | 1,658 | import { computed, onMounted, onBeforeUnmount, watchEffect, ref } from 'vue';
import { useSettingsStore } from '../stores/settings';
import { Theme } from '../tauri/types/config';
export function applyTheme(t: 'light' | 'dark') {
if (typeof document === 'undefined') return;
document.body.setAttribute('data-theme',... | 178 | 1,658 | 52 | 0.98 | 2026-04-17T14:34:30.157500 | true |
github_qwersyk_Newelle_82eb6f16188f34ae0a5fd257a09e50aa39512223 | Python | qwersyk | Newelle | 1,319 | 105 | Newelle - Your Ultimate Virtual Assistant | [
"adwaita",
"ai",
"app",
"gnome",
"gtk",
"gtk4",
"linux"
] | GPL-3.0 | src/integrations/skills.py | skills.py | 3,974 | from ..extensions import NewelleExtension
from ..tools import Tool, ToolResult, Command
from ..ui.widgets.skill import SkillWidget
from gi.repository import GLib, Gtk
class SkillsIntegration(NewelleExtension):
id = "skills"
name = "Skills"
def __init__(self, pip_path, extension_path, settings):
s... | 301 | 3,974 | 122 | 0.98 | 2026-04-22T18:01:53.793659 | true |
github_vercel_swr_363c2138bac5d122fd9ef6b20b4b6d711f4b874b | TypeScript | vercel | swr | 32,352 | 1,332 | React Hooks for Data Fetching | [
"cache",
"data",
"data-fetching",
"fetch",
"hook",
"hooks",
"nextjs",
"react",
"react-native",
"stale-while-revalidate",
"suspense",
"swr",
"vercel"
] | MIT | src/mutation/index.ts | index.ts | 5,091 | import { useCallback, useRef } from 'react'
import useSWR, { useSWRConfig } from '../index'
import type { Middleware, Key } from '../_internal'
import { useStateWithDeps, startTransition } from './state'
import {
serialize,
withMiddleware,
useIsomorphicLayoutEffect,
UNDEFINED,
getTimestamp,
mergeObjects
} f... | 542 | 5,087 | 176 | 0.98 | 2026-04-23T09:00:07.379482 | true |
github_Pythagora-io_gpt-pilot_3b490b4e134512721b00f3dcbdebce5074292ceb | Python | Pythagora-io | gpt-pilot | 33,775 | 3,498 | The first real AI developer | [
"ai",
"codegen",
"coding-assistant",
"developer-tools",
"gpt-4",
"research-project"
] | NOASSERTION | core/agents/mixins.py | mixins.py | 7,559 | import asyncio
import json
from typing import List, Optional
from pydantic import BaseModel, Field
from core.agents.convo import AgentConvo
from core.agents.response import AgentResponse
from core.cli.helpers import get_line_changes
from core.config import GET_RELEVANT_FILES_AGENT_NAME, TASK_BREAKDOWN_AGENT_NAME, TRO... | 681 | 7,559 | 209 | 0.98 | 2026-04-22T17:05:59.994207 | true |
github_typicode_lowdb_5823f1f29b3b29dcba92d7ad7058497a84392a73 | TypeScript | typicode | lowdb | 22,525 | 967 | Simple and fast JSON database | [
"database",
"electron",
"embeddable",
"embedded-database",
"javascript",
"json",
"localstorage",
"lodash",
"nodejs",
"storage"
] | MIT | src/examples/browser.ts | browser.ts | 247 | import { LocalStoragePreset } from '../presets/browser.js'
type Data = {
messages: string[]
}
const defaultData: Data = { messages: [] }
const db = LocalStoragePreset<Data>('db', defaultData)
db.update(({ messages }) => messages.push('foo'))
| 31 | 247 | 11 | 0.98 | 2026-04-23T06:45:33.119806 | true |
github_AsyncFuncAI_deepwiki-open_72acf78dcf9df429969f400618dd8e2d4c98decf | TypeScript | AsyncFuncAI | deepwiki-open | 15,812 | 1,772 | Open Source DeepWiki: AI-Powered Wiki Generator for GitHub/Gitlab/Bitbucket Repositories. Join the discord: https://discord.gg/gMwThUMeme | [
"ai",
"gemini",
"github",
"ollama",
"open-source",
"openai",
"openrouter",
"self-hosted",
"wiki"
] | MIT | src/hooks/useProcessedProjects.ts | useProcessedProjects.ts | 1,260 | import { useState, useEffect } from 'react';
interface ProcessedProject {
id: string;
owner: string;
repo: string;
name: string;
repo_type: string;
submittedAt: number;
language: string;
}
export function useProcessedProjects() {
const [projects, setProjects] = useState<ProcessedProject[]>([]);
cons... | 134 | 1,260 | 47 | 0.98 | 2026-04-22T17:11:52.897266 | true |
github_bestony_logoly_7ef17479115c02e2999810fafe32bf3f7f82ba2e | JavaScript | bestony | logoly | 7,936 | 803 | A Pornhub Flavour Logo Generator | [
"generator",
"hacktoberfest",
"logo",
"pornhub",
"vue"
] | WTFPL | src/__tests__/fontsConfig.test.js | fontsConfig.test.js | 388 | import { describe, it, expect } from 'vitest';
import { fonts } from '@/config/fonts';
describe('fonts config', () => {
it('exports a de-duplicated, trimmed list', () => {
expect(fonts.length).toBe(new Set(fonts).size);
expect(fonts.every((font) => font === font.trim())).toBe(true);
expect(fonts).toConta... | 39 | 388 | 12 | 0.98 | 2026-04-23T11:55:36.329935 | true |
github_crawlab-team_crawlab_82130a3c55cb7dd671dca74966cea5ad9e13731e | Go | crawlab-team | crawlab | 12,191 | 1,884 | Distributed web crawler admin platform for spiders management regardless of languages and frameworks. 分布式爬虫管理平台,支持任何语言和框架 | [
"crawlab",
"crawler",
"crawling-tasks",
"docker",
"go",
"platform",
"scrapy",
"scrapyd-ui",
"spider",
"spiders-management",
"web-crawler",
"webcrawler",
"webspider"
] | BSD-3-Clause | core/controllers/base_v2.go | base_v2.go | 4,985 | package controllers
import (
"errors"
"github.com/crawlab-team/crawlab/core/interfaces"
"github.com/crawlab-team/crawlab/core/models/service"
"github.com/crawlab-team/crawlab/db/mongo"
"github.com/gin-gonic/gin"
"go.mongodb.org/mongo-driver/bson"
"go.mongodb.org/mongo-driver/bson/primitive"
mongo2 "go.mongodb.... | 527 | 4,985 | 237 | 0.98 | 2026-04-17T11:40:55.215999 | true |
github_vietnh1009_Super-mario-bros-PPO-pytorch_4990b721b91440207c1406031c4df4e5cd245522 | Python | vietnh1009 | Super-mario-bros-PPO-pytorch | 1,281 | 237 | Proximal Policy Optimization (PPO) algorithm for Super Mario Bros | [
"ai",
"deep-learning",
"gym",
"mario",
"openai",
"openai-gym",
"ppo",
"ppo2",
"proximal-policy-optimization",
"python",
"python3",
"pytorch",
"reinforcement-learning",
"super-mario-bros"
] | MIT | train.py | train.py | 7,162 | """
@author: Viet Nguyen <[REDACTED_EMAIL]>
"""
import os
os.environ['OMP_NUM_THREADS'] = '1'
import argparse
import torch
from src.env import MultipleEnvironments
from src.model import PPO
from src.process import eval
import torch.multiprocessing as _mp
from torch.distributions import Categorical
import torch.nn.fun... | 527 | 7,162 | 155 | 0.98 | 2026-04-22T18:02:51.078520 | true |
github_olric-data_olric_2b76185f366ce71f109c41eff50672ed1dc04bc6 | Go | olric-data | olric | 3,439 | 142 | Distributed, in-memory key/value store and cache. It can be used as an embedded Go library and a language-independent service. | [
"cache",
"database",
"distributed-cache",
"distributed-database",
"distributed-hash-table",
"distributed-systems",
"in-memory-database",
"key-value",
"key-value-store",
"nosql",
"redis"
] | Apache-2.0 | cluster_iterator.go | cluster_iterator.go | 6,874 | // Copyright 2018-2025 The Olric 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 ag... | 894 | 6,874 | 310 | 0.98 | 2026-04-17T18:22:45.672408 | true |
github_eksctl-io_eksctl_340267ab3b1a46a7852d024255f916a024700bfd | 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/ami/auto_resolver.go | auto_resolver.go | 6,798 | package ami
import (
"context"
"fmt"
"github.com/weaveworks/eksctl/pkg/awsapi"
"github.com/kris-nova/logger"
api "github.com/weaveworks/eksctl/pkg/apis/eksctl.io/v1alpha5"
instanceutils "github.com/weaveworks/eksctl/pkg/utils/instance"
)
const (
// ownerIDUbuntuFamily is the owner ID used for Ubuntu AMIs
o... | 488 | 6,798 | 156 | 0.98 | 2026-04-17T21:34:47.124395 | true |
github_KroMiose_nekro-agent_4c390da6b0b690f35b2b1232d16cb8ea8e93b52b | Python | KroMiose | nekro-agent | 798 | 66 | NekroAgent 是一个面向多人互动场景的跨平台 Agent 框架,集 Claude Code 沙盒执行、工作区编排、长期记忆、结构化 MCP 管理与可视化控制台于一体,兼具高扩展性、多模态交互、实时状态推送和自动化运行能力。项目支持 QQ、Discord、Telegram、Minecraft、BilibiliLive、WeChat、Email、SSE(SDK) 等多种平台接入,应用于构建高智能聊天机器人,可扩展为具备代码执行、工具调用、插件协作和复杂任务处理能力的通用 Agent 系统 | [
"agent",
"ai",
"chatbot",
"claudecode",
"multiuserchat",
"openai",
"python",
"sandbox"
] | NOASSERTION | run_bot.py | run_bot.py | 6,175 | import argparse
import asyncio
import faulthandler
import os
import signal
import sys
import traceback
from pathlib import Path
from typing import Optional
# ── 卡死诊断:收到 SIGUSR1 时 dump 所有线程调用栈到 stderr ──────────────────
# 使用方法:kill -USR1 <pid> (pid 见启动日志或 pgrep -f run_bot)
faulthandler.register(signal.SIGUSR1, file=sy... | 415 | 5,576 | 179 | 0.98 | 2026-04-23T01:13:18.437813 | true |
github_1jehuang_mermaid-rs-renderer_783b9993ab8e1e61a21805881d014912d3291c6b | Rust | 1jehuang | mermaid-rs-renderer | 1,155 | 41 | A fast native Rust Mermaid diagram renderer. No browser required. 500-1000x faster than mermaid-cli. | [
"cli",
"diagram",
"flowchart",
"mermaid",
"rust",
"svg"
] | MIT | src/layout/architecture.rs | architecture.rs | 7,767 | use super::*;
pub(super) fn compute_architecture_layout(
graph: &Graph,
theme: &Theme,
config: &LayoutConfig,
) -> Layout {
const MARGIN: f32 = 24.0;
const SERVICE_SIZE: f32 = 64.0;
const SERVICE_GAP: f32 = 72.0;
const GROUP_PAD_X: f32 = 28.0;
const GROUP_PAD_TOP: f32 = 32.0;
const ... | 695 | 7,767 | 225 | 0.98 | 2026-04-17T19:35:04.789177 | true |
github_imsyy_DailyHotApi_77e9dd0fea59a1c812ab0f12728ebcc42406821e | 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/newsmth.ts | newsmth.ts | 1,646 | 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: "newsmth",
title: "水... | 166 | 1,596 | 70 | 0.98 | 2026-04-17T18:03:12.778109 | true |
github_jwyang_faster-rcnn.pytorch_83024cc6148b0f849d27a61cde2f3864c5f8f16a | Python | jwyang | faster-rcnn.pytorch | 7,864 | 2,306 | A faster pytorch implementation of faster r-cnn | [
"faster-rcnn",
"pytorch"
] | MIT | test_net.py | test_net.py | 12,236 | # --------------------------------------------------------
# Tensorflow Faster R-CNN
# Licensed under The MIT License [see LICENSE for details]
# Written by Jiasen Lu, Jianwei Yang, based on code from Ross Girshick
# --------------------------------------------------------
from __future__ import absolute_import
from __... | 996 | 12,236 | 329 | 0.98 | 2026-04-22T22:48:13.263448 | true |
github_rustdesk_rustdesk_573e7e77c4e49afe0859dc9cb267d2d5ee0f63d9 | 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/hbbs_http/downloader.rs | downloader.rs | 10,436 | use super::create_http_client_async_with_url;
use hbb_common::{
bail,
lazy_static::lazy_static,
log,
tokio::{
self,
fs::File,
io::AsyncWriteExt,
sync::mpsc::{unbounded_channel, UnboundedReceiver, UnboundedSender},
},
ResultType,
};
use serde_derive::Serialize;
use... | 910 | 10,436 | 310 | 0.98 | 2026-04-17T13:14:17.890137 | true |
github_uber_aresdb_e4a3163810f7dd590e3a518e98a1a44d86b0b6cb | Go | uber | aresdb | 3,080 | 233 | A GPU-powered real-time analytics storage and query engine. | [
"analytics",
"cgo",
"cuda",
"data",
"database",
"golang",
"gpu-programming",
"query",
"real-time",
"storage"
] | Apache-2.0 | cmd/arescli/main.go | main.go | 4,141 | package main
import (
"encoding/json"
"fmt"
"github.com/abiosoft/ishell"
"github.com/fatih/color"
"github.com/spf13/cobra"
"io/ioutil"
"net/http"
"strings"
)
const contentType = "application/json"
type shellContext struct {
host string
port int
clusterMode bool
client http.Client
}
//... | 467 | 4,141 | 167 | 0.98 | 2026-04-17T18:24:48.660194 | true |
github_opentofu_opentofu_01ec8aef286eb9a0b4169b39bb0af58912a76f3d | Go | opentofu | opentofu | 28,396 | 1,208 | OpenTofu lets you declaratively manage your cloud infrastructure. | [] | MPL-2.0 | cmd/tofu/help.go | help.go | 2,720 | // Copyright (c) The OpenTofu Authors
// SPDX-License-Identifier: MPL-2.0
// Copyright (c) 2023 HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0
package main
import (
"bytes"
"fmt"
"log"
"sort"
"strings"
"github.com/mitchellh/cli"
)
// helpFunc is a cli.HelpFunc that can be used to output the help CLI inst... | 370 | 2,720 | 100 | 0.98 | 2026-04-17T08:24:08.621135 | true |
github_rancher_rancher_6156177b660345a6654d1f342094684a3b3c9a2e | Go | rancher | rancher | 25,503 | 3,179 | Complete container management platform | [
"cattle",
"containers",
"docker",
"kubernetes",
"orchestration",
"rancher"
] | Apache-2.0 | pkg/crds/crds.go | crds.go | 5,329 | // Package crds is used for installing rancher CRDs.
package crds
import (
"context"
"embed"
"fmt"
"path/filepath"
"time"
"github.com/rancher/rancher/pkg/fleet"
"github.com/rancher/wrangler/v3/pkg/crd"
"github.com/rancher/wrangler/v3/pkg/yaml"
apiextv1 "k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v... | 668 | 5,329 | 174 | 0.98 | 2026-04-17T08:38:11.308043 | true |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.