repo_full_name
stringlengths
6
93
repo_url
stringlengths
25
112
repo_api_url
stringclasses
28 values
owner
stringclasses
28 values
repo_name
stringclasses
28 values
description
stringclasses
28 values
stars
int64
617
98.8k
forks
int64
31
355
watchers
int64
990
999
license
stringclasses
2 values
default_branch
stringclasses
2 values
repo_created_at
timestamp[s]date
2012-07-24 23:12:50
2025-06-16 08:07:28
repo_updated_at
timestamp[s]date
2026-02-23 15:23:15
2026-05-03 18:52:12
repo_topics
listlengths
0
13
repo_languages
unknown
is_fork
bool
1 class
open_issues
int64
3
104
file_path
stringlengths
3
208
file_name
stringclasses
509 values
file_extension
stringclasses
1 value
file_size_bytes
int64
101
84k
file_url
stringclasses
627 values
file_raw_url
stringclasses
627 values
file_sha
stringclasses
624 values
language
stringclasses
8 values
parsed_at
stringdate
2026-05-04 01:12:36
2026-05-04 19:41:55
text
stringlengths
100
102k
CameraKit/camerakit-android
https://github.com/CameraKit/camerakit-android
null
null
null
null
5,398
null
null
mit
null
null
null
null
null
null
null
camerakit/src/main/cpp/libjpeg/include/jsimddct.h
null
null
null
null
null
null
C
2026-05-04T18:43:38.220098
/* * jsimddct.h * * Copyright 2009 Pierre Ossman <ossman@cendio.se> for Cendio AB * * Based on the x86 SIMD extension for IJG JPEG library, * Copyright (C) 1999-2006, MIYASAKA Masaru. * For conditions of distribution and use, see copyright notice in jsimdext.inc * */ /* Short forms of external names for syst...
CameraKit/camerakit-android
https://github.com/CameraKit/camerakit-android
null
null
null
null
5,398
null
null
mit
null
null
null
null
null
null
null
camerakit/src/main/cpp/libjpeg/include/jversion.h
null
null
null
null
null
null
C
2026-05-04T18:43:38.290061
/* * jversion.h * * Copyright (C) 1991-2010, Thomas G. Lane, Guido Vollbeding. * Copyright (C) 2010, D. R. Commander. * This file is part of the Independent JPEG Group's software. * For conditions of distribution and use, see the accompanying README file. * * This file contains software version identification. ...
CameraKit/camerakit-android
https://github.com/CameraKit/camerakit-android
null
null
null
null
5,398
null
null
mit
null
null
null
null
null
null
null
camerakit/src/main/cpp/libjpeg/include/jpeglib.h
null
null
null
null
null
null
C
2026-05-04T18:43:38.301411
/* * jpeglib.h * * Copyright (C) 1991-1998, Thomas G. Lane. * Modified 2002-2009 by Guido Vollbeding. * Copyright (C) 2009-2011, D. R. Commander. * This file is part of the Independent JPEG Group's software. * For conditions of distribution and use, see the accompanying README file. * * This file defines the a...
CameraKit/camerakit-android
https://github.com/CameraKit/camerakit-android
null
null
null
null
5,398
null
null
mit
null
null
null
null
null
null
null
camerakit/src/main/cpp/libjpeg/include/tjutil.h
null
null
null
null
null
null
C
2026-05-04T18:43:38.813739
/* * Copyright (C)2011 D. R. Commander. All Rights Reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * - Redistributions of source code must retain the above copyright notice, * this list of conditio...
CameraKit/camerakit-android
https://github.com/CameraKit/camerakit-android
null
null
null
null
5,398
null
null
mit
null
null
null
null
null
null
null
camerakit/src/main/cpp/libjpeg/include/turbojpeg.h
null
null
null
null
null
null
C
2026-05-04T18:43:39.024039
/* * Copyright (C)2009-2011 D. R. Commander. All Rights Reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * - Redistributions of source code must retain the above copyright notice, * this list of con...
CameraKit/camerakit-android
https://github.com/CameraKit/camerakit-android
null
null
null
null
5,398
null
null
mit
null
null
null
null
null
null
null
camerakit/src/main/cpp/libjpeg/include/transupp.h
null
null
null
null
null
null
C
2026-05-04T18:43:39.190949
/* * transupp.h * * Copyright (C) 1997-2009, Thomas G. Lane, Guido Vollbeding. * This file is part of the Independent JPEG Group's software. * For conditions of distribution and use, see the accompanying README file. * * This file contains declarations for image transformation routines and * other utility code ...
CameraKit/camerakit-android
https://github.com/CameraKit/camerakit-android
null
null
null
null
5,398
null
null
mit
null
null
null
null
null
null
null
camerakit/src/main/cpp/libjpeg/include/jsimd.h
null
null
null
null
null
null
C
2026-05-04T18:43:42.795853
/* * simd/jsimd.h * * Copyright 2009 Pierre Ossman <ossman@cendio.se> for Cendio AB * Copyright 2011 D. R. Commander * * Based on the x86 SIMD extension for IJG JPEG library, * Copyright (C) 1999-2006, MIYASAKA Masaru. * For conditions of distribution and use, see copyright notice in jsimdext.inc * */ /* Bi...
ptitSeb/box64
https://github.com/ptitSeb/box64
null
null
null
null
5,387
null
null
mit
null
null
null
null
null
null
null
external/musl/__rem_pio2_large.c
null
null
null
null
null
null
C
2026-05-04T18:43:46.470934
/* origin: FreeBSD /usr/src/lib/msun/src/k_rem_pio2.c */ /* * ==================================================== * Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved. * * Developed at SunSoft, a Sun Microsystems, Inc. business. * Permission to use, copy, modify, and distribute this * software is f...
ptitSeb/box64
https://github.com/ptitSeb/box64
null
null
null
null
5,387
null
null
mit
null
null
null
null
null
null
null
external/musl/__rem_pio2.c
null
null
null
null
null
null
C
2026-05-04T18:43:46.507032
/* origin: FreeBSD /usr/src/lib/msun/src/e_rem_pio2.c */ /* * ==================================================== * Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved. * * Developed at SunSoft, a Sun Microsystems, Inc. business. * Permission to use, copy, modify, and distribute this * software is f...
ptitSeb/box64
https://github.com/ptitSeb/box64
null
null
null
null
5,387
null
null
mit
null
null
null
null
null
null
null
external/musl/__sin.c
null
null
null
null
null
null
C
2026-05-04T18:43:46.510958
/* origin: FreeBSD /usr/src/lib/msun/src/k_sin.c */ /* * ==================================================== * Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved. * * Developed at SunSoft, a Sun Microsystems, Inc. business. * Permission to use, copy, modify, and distribute this * software is freely...
ptitSeb/box64
https://github.com/ptitSeb/box64
null
null
null
null
5,387
null
null
mit
null
null
null
null
null
null
null
external/musl/__cos.c
null
null
null
null
null
null
C
2026-05-04T18:43:46.512264
/* origin: FreeBSD /usr/src/lib/msun/src/k_cos.c */ /* * ==================================================== * Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved. * * Developed at SunSoft, a Sun Microsystems, Inc. business. * Permission to use, copy, modify, and distribute this * software is freely...
ptitSeb/box64
https://github.com/ptitSeb/box64
null
null
null
null
5,387
null
null
mit
null
null
null
null
null
null
null
external/musl/exp_data.c
null
null
null
null
null
null
C
2026-05-04T18:43:46.521084
/* * Shared data between exp, exp2 and pow. * * Copyright (c) 2018, Arm Limited. * SPDX-License-Identifier: MIT */ #include "exp_data.h" #define N (1 << EXP_TABLE_BITS) const struct exp_data __exp_data = { // N/ln2 .invln2N = 0x1.71547652b82fep0 * N, // -ln2/N .negln2hiN = -0x1.62e42fefa0000p-8, .negln2loN = -0...
ptitSeb/box64
https://github.com/ptitSeb/box64
null
null
null
null
5,387
null
null
mit
null
null
null
null
null
null
null
external/musl/cos.c
null
null
null
null
null
null
C
2026-05-04T18:43:46.522877
/* origin: FreeBSD /usr/src/lib/msun/src/s_cos.c */ /* * ==================================================== * Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved. * * Developed at SunPro, a Sun Microsystems, Inc. business. * Permission to use, copy, modify, and distribute this * software is freely ...
ptitSeb/box64
https://github.com/ptitSeb/box64
null
null
null
null
5,387
null
null
mit
null
null
null
null
null
null
null
external/musl/exp2.c
null
null
null
null
null
null
C
2026-05-04T18:43:46.530549
/* * Double-precision 2^x function. * * Copyright (c) 2018, Arm Limited. * SPDX-License-Identifier: MIT */ #include <math.h> #include <stdint.h> #include "libm.h" #include "exp_data.h" #define N (1 << EXP_TABLE_BITS) #define Shift __exp_data.exp2_shift #define T __exp_data.tab #define C1 __exp_data.exp2_poly[0] ...
ptitSeb/box64
https://github.com/ptitSeb/box64
null
null
null
null
5,387
null
null
mit
null
null
null
null
null
null
null
external/musl/__math_divzero.c
null
null
null
null
null
null
C
2026-05-04T18:43:46.533589
#include "libm.h" double __math_divzero(uint32_t sign) { return fp_barrier(sign ? -1.0 : 1.0) / 0.0; }
ptitSeb/box64
https://github.com/ptitSeb/box64
null
null
null
null
5,387
null
null
mit
null
null
null
null
null
null
null
external/musl/exp_data.h
null
null
null
null
null
null
C
2026-05-04T18:43:46.564032
/* * Copyright (c) 2018, Arm Limited. * SPDX-License-Identifier: MIT */ #ifndef _EXP_DATA_H #define _EXP_DATA_H #include <features.h> #include <stdint.h> #define EXP_TABLE_BITS 7 #define EXP_POLY_ORDER 5 #define EXP_USE_TOINT_NARROW 0 #define EXP2_POLY_ORDER 5 extern hidden const struct exp_data { double invln2N;...
ptitSeb/box64
https://github.com/ptitSeb/box64
null
null
null
null
5,387
null
null
mit
null
null
null
null
null
null
null
external/musl/expm1.c
null
null
null
null
null
null
C
2026-05-04T18:43:47.025111
/* origin: FreeBSD /usr/src/lib/msun/src/s_expm1.c */ /* * ==================================================== * Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved. * * Developed at SunPro, a Sun Microsystems, Inc. business. * Permission to use, copy, modify, and distribute this * software is freel...
ptitSeb/box64
https://github.com/ptitSeb/box64
null
null
null
null
5,387
null
null
mit
null
null
null
null
null
null
null
external/musl/frexp.c
null
null
null
null
null
null
C
2026-05-04T18:43:47.053477
#include <math.h> #include <stdint.h> double __cdecl frexp(double x, int *e) { union { double d; uint64_t i; } y = { x }; int ee = y.i>>52 & 0x7ff; if (!ee) { if (x) { x = frexp(x*0x1p64, e); *e -= 64; } else *e = 0; return x; } else if (ee == 0x7ff) { return x; } *e = ee - 0x3fe; y.i &= 0x800ff...
ptitSeb/box64
https://github.com/ptitSeb/box64
null
null
null
null
5,387
null
null
mit
null
null
null
null
null
null
null
external/musl/internal/libm.h
null
null
null
null
null
null
C
2026-05-04T18:43:47.090713
#ifndef _LIBM_H #define _LIBM_H #include <stdint.h> #include <float.h> #include <math.h> #include <errno.h> #include <features.h> typedef float float_t; typedef double double_t; hidden double math_error(int type, const char *name, double arg1, double arg2, double retval); #if LDBL_MANT_DIG == 53 && LDBL_MAX_EXP == ...
ptitSeb/box64
https://github.com/ptitSeb/box64
null
null
null
null
5,387
null
null
mit
null
null
null
null
null
null
null
external/musl/log1p.c
null
null
null
null
null
null
C
2026-05-04T18:43:47.114841
/* origin: FreeBSD /usr/src/lib/msun/src/s_log1p.c */ /* * ==================================================== * Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved. * * Developed at SunPro, a Sun Microsystems, Inc. business. * Permission to use, copy, modify, and distribute this * software is freel...
ptitSeb/box64
https://github.com/ptitSeb/box64
null
null
null
null
5,387
null
null
mit
null
null
null
null
null
null
null
external/musl/internal/features.h
null
null
null
null
null
null
C
2026-05-04T18:43:47.122717
#ifndef FEATURES_H #define FEATURES_H #define weak #define hidden #define weak_alias(old, new) #endif
ptitSeb/box64
https://github.com/ptitSeb/box64
null
null
null
null
5,387
null
null
mit
null
null
null
null
null
null
null
external/musl/log2_data.c
null
null
null
null
null
null
C
2026-05-04T18:43:47.135634
/* * Data for log2. * * Copyright (c) 2018, Arm Limited. * SPDX-License-Identifier: MIT */ #include "log2_data.h" #define N (1 << LOG2_TABLE_BITS) const struct log2_data __log2_data = { // First coefficient: 0x1.71547652b82fe1777d0ffda0d24p0 .invln2hi = 0x1.7154765200000p+0, .invln2lo = 0x1.705fc2eefa200p-33, ....
ptitSeb/box64
https://github.com/ptitSeb/box64
null
null
null
null
5,387
null
null
mit
null
null
null
null
null
null
null
external/musl/log2.c
null
null
null
null
null
null
C
2026-05-04T18:43:47.166556
/* * Double-precision log2(x) function. * * Copyright (c) 2018, Arm Limited. * SPDX-License-Identifier: MIT */ #include <math.h> #include <stdint.h> #include "libm.h" #include "log2_data.h" #define T __log2_data.tab #define T2 __log2_data.tab2 #define B __log2_data.poly1 #define A __log2_data.poly #define InvLn2...
ptitSeb/box64
https://github.com/ptitSeb/box64
null
null
null
null
5,387
null
null
mit
null
null
null
null
null
null
null
external/musl/log2_data.h
null
null
null
null
null
null
C
2026-05-04T18:43:47.187124
/* * Copyright (c) 2018, Arm Limited. * SPDX-License-Identifier: MIT */ #ifndef _LOG2_DATA_H #define _LOG2_DATA_H #include <features.h> #define LOG2_TABLE_BITS 6 #define LOG2_POLY_ORDER 7 #define LOG2_POLY1_ORDER 11 extern hidden const struct log2_data { double invln2hi; double invln2lo; double poly[LOG2_POLY_O...
ptitSeb/box64
https://github.com/ptitSeb/box64
null
null
null
null
5,387
null
null
mit
null
null
null
null
null
null
null
external/musl/scalbn.c
null
null
null
null
null
null
C
2026-05-04T18:43:47.233364
#include <math.h> #include <stdint.h> #include "libm.h" double __cdecl scalbn(double x, int n) { union {double f; uint64_t i;} u; double_t y = x; if (n > 1023) { y *= 0x1p1023; n -= 1023; if (n > 1023) { y *= 0x1p1023; n -= 1023; if (n > 1023) n = 1023; } } else if (n < -1022) { /* make sur...
ptitSeb/box64
https://github.com/ptitSeb/box64
null
null
null
null
5,387
null
null
mit
null
null
null
null
null
null
null
external/musl/sin.c
null
null
null
null
null
null
C
2026-05-04T18:43:47.624770
/* origin: FreeBSD /usr/src/lib/msun/src/s_sin.c */ /* * ==================================================== * Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved. * * Developed at SunPro, a Sun Microsystems, Inc. business. * Permission to use, copy, modify, and distribute this * software is freely ...
ptitSeb/box64
https://github.com/ptitSeb/box64
null
null
null
null
5,387
null
null
mit
null
null
null
null
null
null
null
external/musl/sqrt.c
null
null
null
null
null
null
C
2026-05-04T18:43:47.657384
#include <stdint.h> #include <math.h> #include "libm.h" #include "sqrt_data.h" #define FENV_SUPPORT 1 /* returns a*b*2^-32 - e, with error 0 <= e < 1. */ static inline uint32_t mul32(uint32_t a, uint32_t b) { return (uint64_t)a*b >> 32; } /* returns a*b*2^-64 - e, with error 0 <= e < 3. */ static inline uint64_t ...
ptitSeb/box64
https://github.com/ptitSeb/box64
null
null
null
null
5,387
null
null
mit
null
null
null
null
null
null
null
external/musl/sincos.c
null
null
null
null
null
null
C
2026-05-04T18:43:47.678619
/* origin: FreeBSD /usr/src/lib/msun/src/s_sin.c */ /* * ==================================================== * Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved. * * Developed at SunPro, a Sun Microsystems, Inc. business. * Permission to use, copy, modify, and distribute this * software is freely ...
ptitSeb/box64
https://github.com/ptitSeb/box64
null
null
null
null
5,387
null
null
mit
null
null
null
null
null
null
null
external/musl/sqrt_data.h
null
null
null
null
null
null
C
2026-05-04T18:43:47.679902
#ifndef _SQRT_DATA_H #define _SQRT_DATA_H #include <features.h> #include <stdint.h> /* if x in [1,2): i = (int)(64*x); if x in [2,4): i = (int)(32*x-64); __rsqrt_tab[i]*2^-16 is estimating 1/sqrt(x) with small relative error: |__rsqrt_tab[i]*0x1p-16*sqrt(x) - 1| < -0x1.fdp-9 < 2^-8 */ extern hidden const uin...
ptitSeb/box64
https://github.com/ptitSeb/box64
null
null
null
null
5,387
null
null
mit
null
null
null
null
null
null
null
external/musl/sqrtf.c
null
null
null
null
null
null
C
2026-05-04T18:43:47.730054
#include <stdint.h> #include <math.h> #include "libm.h" #include "sqrt_data.h" #define FENV_SUPPORT 1 static inline uint32_t mul32(uint32_t a, uint32_t b) { return (uint64_t)a*b >> 32; } /* see sqrt.c for more detailed comments. */ float __cdecl sqrtf(float x) { uint32_t ix, m, m1, m0, even, ey; ix = asuint(x)...
ptitSeb/box64
https://github.com/ptitSeb/box64
null
null
null
null
5,387
null
null
mit
null
null
null
null
null
null
null
external/musl/sqrt_data.c
null
null
null
null
null
null
C
2026-05-04T18:43:47.743479
#include "sqrt_data.h" const uint16_t __rsqrt_tab[128] = { 0xb451,0xb2f0,0xb196,0xb044,0xaef9,0xadb6,0xac79,0xab43, 0xaa14,0xa8eb,0xa7c8,0xa6aa,0xa592,0xa480,0xa373,0xa26b, 0xa168,0xa06a,0x9f70,0x9e7b,0x9d8a,0x9c9d,0x9bb5,0x9ad1, 0x99f0,0x9913,0x983a,0x9765,0x9693,0x95c4,0x94f8,0x9430, 0x936b,0x92a9,0x91ea,0x912e,0x907...
ptitSeb/box64
https://github.com/ptitSeb/box64
null
null
null
null
5,387
null
null
mit
null
null
null
null
null
null
null
gdbjit/reader.c
null
null
null
null
null
null
C
2026-05-04T18:43:47.749078
#include "gdbjit.h" #include <stdio.h> static char block_name_buffer[16]; static enum gdb_status read_debug_info(struct gdb_reader_funcs* self, struct gdb_symbol_callbacks* cbs, void* memory, long memory_sz) { gdbjit_block_t* block = (gdbjit_block_t*)memory; struct gdb_object* object = cbs->object_open(cbs);...
ptitSeb/box64
https://github.com/ptitSeb/box64
null
null
null
null
5,387
null
null
mit
null
null
null
null
null
null
null
src/box64context.c
null
null
null
null
null
null
C
2026-05-04T18:43:47.809797
#define _GNU_SOURCE /* See feature_test_macros(7) */ #include <stdio.h> #include <stdlib.h> #include <string.h> #include <dlfcn.h> #include <signal.h> #include <sys/mman.h> #include <pthread.h> #include <inttypes.h> #include "os.h" #include "box64context.h" #include "debug.h" #include "elfloader.h" #include "c...
ptitSeb/box64
https://github.com/ptitSeb/box64
null
null
null
null
5,387
null
null
mit
null
null
null
null
null
null
null
src/box32.c
null
null
null
null
null
null
C
2026-05-04T18:43:47.825319
#include <stdint.h> #include <stdlib.h> #include <pthread.h> #include <stdio.h> #include <errno.h> #include "debug.h" #include "box32.h" #include "custommem.h" #include "converter32.h" #include "khash.h" KHASH_MAP_INIT_INT64(to, ulong_t); KHASH_MAP_INIT_INT(from, uintptr_t); KHASH_MAP_INIT_STR(strings, ptr_t); stat...
ptitSeb/box64
https://github.com/ptitSeb/box64
null
null
null
null
5,387
null
null
mit
null
null
null
null
null
null
null
src/box64version.h
null
null
null
null
null
null
C
2026-05-04T18:43:47.841697
#ifndef __BOX64_VERSION_H_ #define __BOX64_VERSION_H_ #define BOX64_MAJOR 0 #define BOX64_MINOR 4 #define BOX64_REVISION 3 #endif //__BOX64_VERSION_H_
ptitSeb/box64
https://github.com/ptitSeb/box64
null
null
null
null
5,387
null
null
mit
null
null
null
null
null
null
null
src/build_info.c
null
null
null
null
null
null
C
2026-05-04T18:43:48.216512
#include <stdio.h> #include "debug.h" #include "box64version.h" #include "build_info.h" #if defined(DYNAREC) #define WITH_DYNAREC_STR " with Dynarec" #else #define WITH_DYNAREC_STR "" #endif #ifdef HAVE_TRACE #define WITH_TRACE_STR " with trace" #else #define WITH_TRACE_STR "" #endif void PrintBox64Version(int prefi...
ptitSeb/box64
https://github.com/ptitSeb/box64
null
null
null
null
5,387
null
null
mit
null
null
null
null
null
null
null
src/build_info.h
null
null
null
null
null
null
C
2026-05-04T18:43:48.243284
#include "box64version.h" #ifdef NOGIT #define GITREV "nogit" #else #include "git_head.h" #endif #ifndef __BUILD_INFO_H__ #define __BUILD_INFO_H__ #if defined(DYNAREC) && (defined(ARM64) || defined(RV64) || defined(LA64) || defined(PPC64LE)) #if defined(ARM64) #define ARCH_STR " arm64" #elif defined(RV64) #define AR...
ptitSeb/box64
https://github.com/ptitSeb/box64
null
null
null
null
5,387
null
null
mit
null
null
null
null
null
null
null
src/custommmap.c
null
null
null
null
null
null
C
2026-05-04T18:43:48.268927
#define _GNU_SOURCE /* See feature_test_macros(7) */ #include <unistd.h> #include <stdint.h> #include "env.h" #ifndef MAP_FAILED #define MAP_FAILED ((void *) -1) #endif #define EXPORT __attribute__((visibility("default"))) #ifdef BUILD_DYNAMIC #define EXPORTDYN __attribute__((visibility("default"))) #else #d...
ptitSeb/box64
https://github.com/ptitSeb/box64
null
null
null
null
5,387
null
null
mit
null
null
null
null
null
null
null
src/core.c
null
null
null
null
null
null
C
2026-05-04T18:43:48.280896
#include <stdio.h> #include <stdlib.h> #include <string.h> #include <time.h> #include <limits.h> #include <errno.h> #include <unistd.h> #include <dirent.h> #include <pwd.h> #include <signal.h> #include <sys/syscall.h> #include <sys/mman.h> #include <pthread.h> #include <sys/prctl.h> #include <sys/stat.h> #include <stda...
ptitSeb/box64
https://github.com/ptitSeb/box64
null
null
null
null
5,387
null
null
mit
null
null
null
null
null
null
null
src/dynarec/arm64/arm64_immenc.c
null
null
null
null
null
null
C
2026-05-04T18:43:48.282474
#include <stdint.h> #include "arm64_immenc.h" #define one (uint64_t)1 // Returns the packed valid-N-imms-immr (1-1-6-6 bits); returns 0 if bitmask is not encodable int convert_bitmask(uint64_t bitmask) { if (bitmask == 0 || bitmask == ~0ULL) return 0; uint64_t size, mask, pat; for (size = 6; size > 1; -...
ptitSeb/box64
https://github.com/ptitSeb/box64
null
null
null
null
5,387
null
null
mit
null
null
null
null
null
null
null
src/dynarec/arm64/arm64_immenc.h
null
null
null
null
null
null
C
2026-05-04T18:43:48.375007
#ifndef __ARM64_IMMENC_H__ #define __ARM64_IMMENC_H__ #include <stdint.h> int convert_bitmask(uint64_t bitmask); #endif // __ARM64_IMMENC_H__
ptitSeb/box64
https://github.com/ptitSeb/box64
null
null
null
null
5,387
null
null
mit
null
null
null
null
null
null
null
src/dynarec/arm64/arm64_lock.h
null
null
null
null
null
null
C
2026-05-04T18:43:48.396425
#ifndef __ARM64_LOCK__H__ #define __ARM64_LOCK__H__ #include <stdint.h> // LDAXRB of ADDR extern uint8_t arm64_lock_read_b(void* addr); // STLXRB of ADDR, return 0 if ok, 1 if not extern int arm64_lock_write_b(void* addr, uint8_t val); // LDAXRH of ADDR extern uint16_t arm64_lock_read_h(void* addr); // STLXRH of ADDR...
ptitSeb/box64
https://github.com/ptitSeb/box64
null
null
null
null
5,387
null
null
mit
null
null
null
null
null
null
null
src/dynarec/arm64/arm64_mapping.h
null
null
null
null
null
null
C
2026-05-04T18:43:48.422959
#ifndef __ARM64_MAPPING_H__ #define __ARM64_MAPPING_H__ /* ARM64 Linux Call Convention SP The Stack Pointer. r30 LR The Link Register. r29 FP The Frame Pointer r19…r28 Callee-saved registers r18 The Platform Register, if needed; otherwise a temporary register. See notes. r17 IP1 ...
ptitSeb/box64
https://github.com/ptitSeb/box64
null
null
null
null
5,387
null
null
mit
null
null
null
null
null
null
null
src/dynarec/arm64/arm64_printer.h
null
null
null
null
null
null
C
2026-05-04T18:43:48.445057
#ifndef _ARM_PRINTER_H_ #define _ARM_PRINTER_H_ const char* arm64_print(uint32_t opcode, uint64_t addr); #endif //_ARM_PRINTER_H_
ptitSeb/box64
https://github.com/ptitSeb/box64
null
null
null
null
5,387
null
null
mit
null
null
null
null
null
null
null
src/dynarec/arm64/arm64_printer.c
null
null
null
null
null
null
C
2026-05-04T18:43:48.481079
#include <stdint.h> #include <stddef.h> #include <string.h> #include <stdio.h> #include <inttypes.h> #include "arm64_printer.h" #include "debug.h" static const char* Xt[] = {"xEmu", "x1", "x2", "x3", "x4", "x5", "x6", "x7", "x8", "x9", "xRAX", "xRCX", "xRDX", "xRBX", "xRSP", "xRBP", "xRSI", "xRDI", "xR8", "x...
ptitSeb/box64
https://github.com/ptitSeb/box64
null
null
null
null
5,387
null
null
mit
null
null
null
null
null
null
null
src/dynarec/arm64/dynarec_arm64_66f0.c
null
null
null
null
null
null
C
2026-05-04T18:43:48.997084
#include <stdio.h> #include <stdlib.h> #include <stddef.h> #include <errno.h> #include "debug.h" #include "box64context.h" #include "box64cpu.h" #include "emu/x64emu_private.h" #include "emu/x64run_private.h" #include "x64emu.h" #include "box64stack.h" #include "callback.h" #include "emu/x64run_private.h" #include "x6...
ptitSeb/box64
https://github.com/ptitSeb/box64
null
null
null
null
5,387
null
null
mit
null
null
null
null
null
null
null
src/dynarec/arm64/dynarec_arm64_66.c
null
null
null
null
null
null
C
2026-05-04T18:43:49.032155
#include <stdio.h> #include <stdlib.h> #include <stddef.h> #include <errno.h> #include "debug.h" #include "box64context.h" #include "box64cpu.h" #include "emu/x64emu_private.h" #include "emu/x64run_private.h" #include "x64emu.h" #include "box64stack.h" #include "callback.h" #include "emu/x87emu_private.h"...
ptitSeb/box64
https://github.com/ptitSeb/box64
null
null
null
null
5,387
null
null
mit
null
null
null
null
null
null
null
src/dynarec/arm64/dynarec_arm64_66f30f.c
null
null
null
null
null
null
C
2026-05-04T18:43:49.033154
#include <stdio.h> #include <stdlib.h> #include <stddef.h> #include <errno.h> #include "debug.h" #include "box64context.h" #include "box64cpu.h" #include "emu/x64emu_private.h" #include "x64emu.h" #include "box64stack.h" #include "callback.h" #include "emu/x64run_private.h" #include "x64trace.h" #include "dynarec_nati...
ptitSeb/box64
https://github.com/ptitSeb/box64
null
null
null
null
5,387
null
null
mit
null
null
null
null
null
null
null
src/dynarec/arm64/dynarec_arm64_arch.c
null
null
null
null
null
null
C
2026-05-04T18:43:49.057641
#include <stddef.h> #include <stdio.h> #include <signal.h> #include <string.h> #include "debug.h" #include "dynablock.h" #include "x64emu.h" #include "emu/x64emu_private.h" #include "emu/x64run_private.h" #include "dynarec/dynablock_private.h" #include "dynarec_arm64_arch.h" #include "dynarec_arm64_functions.h" #inclu...
ptitSeb/box64
https://github.com/ptitSeb/box64
null
null
null
null
5,387
null
null
mit
null
null
null
null
null
null
null
src/dynarec/arm64/dynarec_arm64_66f20f.c
null
null
null
null
null
null
C
2026-05-04T18:43:49.061537
#include <stdio.h> #include <stdlib.h> #include <stddef.h> #include <errno.h> #include "debug.h" #include "box64context.h" #include "box64cpu.h" #include "emu/x64emu_private.h" #include "x64emu.h" #include "box64stack.h" #include "callback.h" #include "emu/x64run_private.h" #include "x64trace.h" #include "dynarec_nati...
ptitSeb/box64
https://github.com/ptitSeb/box64
null
null
null
null
5,387
null
null
mit
null
null
null
null
null
null
null
src/dynarec/arm64/dynarec_arm64_arch.h
null
null
null
null
null
null
C
2026-05-04T18:43:49.158885
#ifndef __DYNAREC_ARM_ARCH_H__ #define __DYNAREC_ARM_ARCH_H__ #include <stddef.h> #include "x64emu.h" #include "box64context.h" #include "box64cpu.h" #include "dynarec_arm64_private.h" // get size of arch specific info (can be 0) size_t get_size_arch(dynarec_arm_t* dyn); //populate the array void* populate_arch(dyna...
ptitSeb/box64
https://github.com/ptitSeb/box64
null
null
null
null
5,387
null
null
mit
null
null
null
null
null
null
null
src/dynarec/arm64/dynarec_arm64_avx_0f38.c
null
null
null
null
null
null
C
2026-05-04T18:43:49.230955
#include <stdio.h> #include <stdlib.h> #include <stddef.h> #include <errno.h> #include "debug.h" #include "box64context.h" #include "box64cpu.h" #include "emu/x64emu_private.h" #include "x64emu.h" #include "box64stack.h" #include "callback.h" #include "emu/x64run_private.h" #include "x64trace.h" #include "dynarec_nati...
ptitSeb/box64
https://github.com/ptitSeb/box64
null
null
null
null
5,387
null
null
mit
null
null
null
null
null
null
null
src/dynarec/arm64/dynarec_arm64_avx.c
null
null
null
null
null
null
C
2026-05-04T18:43:49.231431
#include <stdio.h> #include <stdlib.h> #include <stddef.h> #include <errno.h> #include "debug.h" #include "box64context.h" #include "box64cpu.h" #include "emu/x64emu_private.h" #include "x64emu.h" #include "box64stack.h" #include "callback.h" #include "emu/x64run_private.h" #include "x64trace.h" #include "dynarec_nati...
ptitSeb/box64
https://github.com/ptitSeb/box64
null
null
null
null
5,387
null
null
mit
null
null
null
null
null
null
null
src/dynarec/arm64/dynarec_arm64_avx_0f.c
null
null
null
null
null
null
C
2026-05-04T18:43:49.243728
#include <stdio.h> #include <stdlib.h> #include <stddef.h> #include <errno.h> #include "debug.h" #include "box64context.h" #include "box64cpu.h" #include "emu/x64emu_private.h" #include "x64emu.h" #include "box64stack.h" #include "callback.h" #include "emu/x64run_private.h" #include "x64trace.h" #include "dynarec_nati...
ptitSeb/box64
https://github.com/ptitSeb/box64
null
null
null
null
5,387
null
null
mit
null
null
null
null
null
null
null
src/dynarec/arm64/dynarec_arm64_avx_66_0f.c
null
null
null
null
null
null
C
2026-05-04T18:43:49.275387
#include <stdio.h> #include <stdlib.h> #include <stddef.h> #include <errno.h> #include "debug.h" #include "box64context.h" #include "box64cpu.h" #include "emu/x64emu_private.h" #include "x64emu.h" #include "box64stack.h" #include "callback.h" #include "emu/x64run_private.h" #include "x64trace.h" #include "dynarec_nati...
memovai/mimiclaw
https://github.com/memovai/mimiclaw
null
null
null
null
5,336
null
null
mit
null
null
null
null
null
null
null
main/bus/message_bus.h
null
null
null
null
null
null
C
2026-05-04T18:43:51.895382
#pragma once #include "esp_err.h" #include "freertos/FreeRTOS.h" #include "freertos/queue.h" /* Channel identifiers */ #define MIMI_CHAN_TELEGRAM "telegram" #define MIMI_CHAN_FEISHU "feishu" #define MIMI_CHAN_WEBSOCKET "websocket" #define MIMI_CHAN_CLI "cli" #define MIMI_CHAN_SYSTEM "system" /* Mes...
memovai/mimiclaw
https://github.com/memovai/mimiclaw
null
null
null
null
5,336
null
null
mit
null
null
null
null
null
null
null
main/bus/message_bus.c
null
null
null
null
null
null
C
2026-05-04T18:43:51.896450
#include "message_bus.h" #include "mimi_config.h" #include "esp_log.h" #include <string.h> static const char *TAG = "bus"; static QueueHandle_t s_inbound_queue; static QueueHandle_t s_outbound_queue; esp_err_t message_bus_init(void) { s_inbound_queue = xQueueCreate(MIMI_BUS_QUEUE_LEN, sizeof(mimi_msg_t)); s_...
memovai/mimiclaw
https://github.com/memovai/mimiclaw
null
null
null
null
5,336
null
null
mit
null
null
null
null
null
null
null
main/agent/context_builder.h
null
null
null
null
null
null
C
2026-05-04T18:43:51.897522
#pragma once #include "esp_err.h" #include <stddef.h> /** * Build the system prompt from bootstrap files (SOUL.md, USER.md) * and memory context (MEMORY.md + recent daily notes). * * @param buf Output buffer (caller allocates, recommend MIMI_CONTEXT_BUF_SIZE) * @param size Buffer size */ esp_err_t context_bu...
memovai/mimiclaw
https://github.com/memovai/mimiclaw
null
null
null
null
5,336
null
null
mit
null
null
null
null
null
null
null
main/agent/agent_loop.h
null
null
null
null
null
null
C
2026-05-04T18:43:51.916651
#pragma once #include "esp_err.h" /** * Initialize the agent loop. */ esp_err_t agent_loop_init(void); /** * Start the agent loop task (runs on Core 1). * Consumes from inbound queue, calls Claude API, pushes to outbound queue. */ esp_err_t agent_loop_start(void);
memovai/mimiclaw
https://github.com/memovai/mimiclaw
null
null
null
null
5,336
null
null
mit
null
null
null
null
null
null
null
main/channels/telegram/telegram_bot.c
null
null
null
null
null
null
C
2026-05-04T18:43:51.918361
#include "telegram_bot.h" #include "mimi_config.h" #include "bus/message_bus.h" #include "proxy/http_proxy.h" #include <string.h> #include <stdlib.h> #include <stdbool.h> #include "esp_log.h" #include "esp_timer.h" #include "esp_http_client.h" #include "esp_crt_bundle.h" #include "nvs.h" #include "cJSON.h" static con...
memovai/mimiclaw
https://github.com/memovai/mimiclaw
null
null
null
null
5,336
null
null
mit
null
null
null
null
null
null
null
main/channels/feishu/feishu_bot.h
null
null
null
null
null
null
C
2026-05-04T18:43:51.920867
#pragma once #include "esp_err.h" /** * Initialize the Feishu bot (load credentials from NVS / build-time). */ esp_err_t feishu_bot_init(void); /** * Start the Feishu webhook HTTP server for receiving events. * Listens on MIMI_FEISHU_WEBHOOK_PORT. */ esp_err_t feishu_bot_start(void); /** * Send a text message...
memovai/mimiclaw
https://github.com/memovai/mimiclaw
null
null
null
null
5,336
null
null
mit
null
null
null
null
null
null
null
main/agent/agent_loop.c
null
null
null
null
null
null
C
2026-05-04T18:43:51.922289
#include "agent_loop.h" #include "agent/context_builder.h" #include "mimi_config.h" #include "bus/message_bus.h" #include "llm/llm_proxy.h" #include "memory/session_mgr.h" #include "tools/tool_registry.h" #include <string.h> #include <stdlib.h> #include "freertos/FreeRTOS.h" #include "freertos/task.h" #include "esp_lo...
memovai/mimiclaw
https://github.com/memovai/mimiclaw
null
null
null
null
5,336
null
null
mit
null
null
null
null
null
null
null
main/channels/telegram/telegram_bot.h
null
null
null
null
null
null
C
2026-05-04T18:43:51.942214
#pragma once #include "esp_err.h" /** * Initialize the Telegram bot. */ esp_err_t telegram_bot_init(void); /** * Start the Telegram polling task (long polling on Core 0). */ esp_err_t telegram_bot_start(void); /** * Send a text message to a Telegram chat. * Automatically splits messages longer than 4096 chars...
memovai/mimiclaw
https://github.com/memovai/mimiclaw
null
null
null
null
5,336
null
null
mit
null
null
null
null
null
null
null
main/agent/context_builder.c
null
null
null
null
null
null
C
2026-05-04T18:43:51.943251
#include "context_builder.h" #include "mimi_config.h" #include "memory/memory_store.h" #include "skills/skill_loader.h" #include <stdio.h> #include <string.h> #include "esp_log.h" static const char *TAG = "context"; static size_t append_file(char *buf, size_t size, size_t offset, const char *path, const char *header...
memovai/mimiclaw
https://github.com/memovai/mimiclaw
null
null
null
null
5,336
null
null
mit
null
null
null
null
null
null
null
main/channels/feishu/feishu_bot.c
null
null
null
null
null
null
C
2026-05-04T18:43:51.945164
#include "feishu_bot.h" #include "mimi_config.h" #include "bus/message_bus.h" #include "proxy/http_proxy.h" #include <string.h> #include <stdlib.h> #include <stdbool.h> #include "freertos/FreeRTOS.h" #include "freertos/task.h" #include "esp_log.h" #include "esp_http_client.h" #include "esp_websocket_client.h" #include...
memovai/mimiclaw
https://github.com/memovai/mimiclaw
null
null
null
null
5,336
null
null
mit
null
null
null
null
null
null
null
main/gateway/ws_server.h
null
null
null
null
null
null
C
2026-05-04T18:43:52.578819
#pragma once #include "esp_err.h" /** * Initialize and start the WebSocket server on MIMI_WS_PORT. * Allows external clients to interact with the Agent via JSON messages. * * Protocol: * Inbound: {"type":"message","content":"hello","chat_id":"ws_client1"} * Outbound: {"type":"response","content":"Hi!","cha...
memovai/mimiclaw
https://github.com/memovai/mimiclaw
null
null
null
null
5,336
null
null
mit
null
null
null
null
null
null
null
main/cron/cron_service.c
null
null
null
null
null
null
C
2026-05-04T18:43:52.584735
#include "cron/cron_service.h" #include "mimi_config.h" #include "bus/message_bus.h" #include <stdio.h> #include <stdlib.h> #include <string.h> #include <time.h> #include "freertos/FreeRTOS.h" #include "freertos/task.h" #include "esp_log.h" #include "esp_random.h" #include "cJSON.h" static const char *TAG = "cron"; ...
memovai/mimiclaw
https://github.com/memovai/mimiclaw
null
null
null
null
5,336
null
null
mit
null
null
null
null
null
null
null
main/cli/serial_cli.h
null
null
null
null
null
null
C
2026-05-04T18:43:52.585329
#pragma once #include "esp_err.h" /** * Initialize and start the serial CLI (esp_console based). * Registers all commands and starts the REPL on USB-JTAG serial. */ esp_err_t serial_cli_init(void);
memovai/mimiclaw
https://github.com/memovai/mimiclaw
null
null
null
null
5,336
null
null
mit
null
null
null
null
null
null
null
main/cron/cron_service.h
null
null
null
null
null
null
C
2026-05-04T18:43:52.587843
#pragma once #include "esp_err.h" #include <stdbool.h> #include <stdint.h> /* Schedule types */ typedef enum { CRON_KIND_EVERY = 0, /* Recurring interval in seconds */ CRON_KIND_AT = 1, /* One-shot at unix timestamp */ } cron_kind_t; /* A single cron job */ typedef struct { char id[9]; ...
memovai/mimiclaw
https://github.com/memovai/mimiclaw
null
null
null
null
5,336
null
null
mit
null
null
null
null
null
null
null
main/cli/serial_cli.c
null
null
null
null
null
null
C
2026-05-04T18:43:52.593438
#include "serial_cli.h" #include "mimi_config.h" #include "wifi/wifi_manager.h" #include "channels/telegram/telegram_bot.h" #include "channels/feishu/feishu_bot.h" #include "llm/llm_proxy.h" #include "memory/memory_store.h" #include "memory/session_mgr.h" #include "proxy/http_proxy.h" #include "tools/tool_registry.h" #...
memovai/mimiclaw
https://github.com/memovai/mimiclaw
null
null
null
null
5,336
null
null
mit
null
null
null
null
null
null
null
main/llm/llm_proxy.c
null
null
null
null
null
null
C
2026-05-04T18:43:52.719588
#include "llm_proxy.h" #include "mimi_config.h" #include "proxy/http_proxy.h" #include <string.h> #include <stdlib.h> #include "esp_log.h" #include "esp_http_client.h" #include "esp_crt_bundle.h" #include "esp_heap_caps.h" #include "nvs.h" #include "cJSON.h" static const char *TAG = "llm"; #define LLM_API_KEY_MAX_LE...
memovai/mimiclaw
https://github.com/memovai/mimiclaw
null
null
null
null
5,336
null
null
mit
null
null
null
null
null
null
null
main/gateway/ws_server.c
null
null
null
null
null
null
C
2026-05-04T18:43:52.724024
#include "ws_server.h" #include "mimi_config.h" #include "bus/message_bus.h" #include <string.h> #include <stdlib.h> #include "esp_log.h" #include "esp_http_server.h" #include "cJSON.h" static const char *TAG = "ws"; static httpd_handle_t s_server = NULL; /* Simple client tracking */ typedef struct { int fd; ...
memovai/mimiclaw
https://github.com/memovai/mimiclaw
null
null
null
null
5,336
null
null
mit
null
null
null
null
null
null
null
main/heartbeat/heartbeat.h
null
null
null
null
null
null
C
2026-05-04T18:43:52.724622
#pragma once #include "esp_err.h" #include <stdbool.h> /** * Initialize the heartbeat service (logs ready state). */ esp_err_t heartbeat_init(void); /** * Start the heartbeat timer. Checks HEARTBEAT.md periodically * and sends a prompt to the agent if actionable tasks are found. */ esp_err_t heartbeat_start(voi...
memovai/mimiclaw
https://github.com/memovai/mimiclaw
null
null
null
null
5,336
null
null
mit
null
null
null
null
null
null
null
main/llm/llm_proxy.h
null
null
null
null
null
null
C
2026-05-04T18:43:52.726878
#pragma once #include "esp_err.h" #include "cJSON.h" #include <stddef.h> #include <stdbool.h> #include "mimi_config.h" /** * Initialize the LLM proxy. Reads API key and model from build-time secrets, then NVS. */ esp_err_t llm_proxy_init(void); /** * Save the LLM API key to NVS. */ esp_err_t llm_set_api_key(con...
memovai/mimiclaw
https://github.com/memovai/mimiclaw
null
null
null
null
5,336
null
null
mit
null
null
null
null
null
null
null
main/heartbeat/heartbeat.c
null
null
null
null
null
null
C
2026-05-04T18:43:52.728039
#include "heartbeat/heartbeat.h" #include "mimi_config.h" #include "bus/message_bus.h" #include <stdio.h> #include <stdlib.h> #include <string.h> #include <stdbool.h> #include <ctype.h> #include "freertos/FreeRTOS.h" #include "freertos/timers.h" #include "esp_log.h" static const char *TAG = "heartbeat"; #define HEAR...
memovai/mimiclaw
https://github.com/memovai/mimiclaw
null
null
null
null
5,336
null
null
mit
null
null
null
null
null
null
null
main/memory/session_mgr.c
null
null
null
null
null
null
C
2026-05-04T18:43:53.334907
#include "session_mgr.h" #include "mimi_config.h" #include <stdio.h> #include <string.h> #include <stdlib.h> #include <dirent.h> #include <time.h> #include "esp_log.h" #include "cJSON.h" static const char *TAG = "session"; static void session_path(const char *chat_id, char *buf, size_t size) { snprintf(buf, size...
memovai/mimiclaw
https://github.com/memovai/mimiclaw
null
null
null
null
5,336
null
null
mit
null
null
null
null
null
null
null
main/memory/session_mgr.h
null
null
null
null
null
null
C
2026-05-04T18:43:53.336816
#pragma once #include "esp_err.h" #include <stddef.h> /** * Initialize session manager. */ esp_err_t session_mgr_init(void); /** * Append a message to a session file (JSONL format). * @param chat_id Session identifier (e.g., "12345") * @param role "user" or "assistant" * @param content Message text *...
memovai/mimiclaw
https://github.com/memovai/mimiclaw
null
null
null
null
5,336
null
null
mit
null
null
null
null
null
null
null
main/memory/memory_store.h
null
null
null
null
null
null
C
2026-05-04T18:43:53.340112
#pragma once #include "esp_err.h" #include <stddef.h> /** * Initialize memory store. Ensures SPIFFS directories exist. */ esp_err_t memory_store_init(void); /** * Read long-term memory (MEMORY.md) into buffer. * @return ESP_OK on success, ESP_ERR_NOT_FOUND if file missing */ esp_err_t memory_read_long_term(char...
memovai/mimiclaw
https://github.com/memovai/mimiclaw
null
null
null
null
5,336
null
null
mit
null
null
null
null
null
null
null
main/onboard/wifi_onboard.h
null
null
null
null
null
null
C
2026-05-04T18:43:53.538870
#pragma once #include "esp_err.h" typedef enum { WIFI_ONBOARD_MODE_CAPTIVE = 0, WIFI_ONBOARD_MODE_ADMIN, } wifi_onboard_mode_t; /** * Start WiFi onboarding/configuration portal. * CAPTIVE mode opens DNS hijack + config page and blocks forever. * ADMIN mode keeps a local config hotspot alive without captiv...
memovai/mimiclaw
https://github.com/memovai/mimiclaw
null
null
null
null
5,336
null
null
mit
null
null
null
null
null
null
null
main/mimi_config.h
null
null
null
null
null
null
C
2026-05-04T18:43:53.539404
#pragma once /* MimiClaw Global Configuration */ /* Build-time secrets (highest priority, override NVS) */ #if __has_include("mimi_secrets.h") #include "mimi_secrets.h" #endif #ifndef MIMI_SECRET_WIFI_SSID #define MIMI_SECRET_WIFI_SSID "" #endif #ifndef MIMI_SECRET_WIFI_PASS #define MIMI_SECRET_WIFI_PASS ...
memovai/mimiclaw
https://github.com/memovai/mimiclaw
null
null
null
null
5,336
null
null
mit
null
null
null
null
null
null
null
main/memory/memory_store.c
null
null
null
null
null
null
C
2026-05-04T18:43:53.542035
#include "memory_store.h" #include "mimi_config.h" #include <stdio.h> #include <string.h> #include <time.h> #include <sys/stat.h> #include "esp_log.h" static const char *TAG = "memory"; static void get_date_str(char *buf, size_t size, int days_ago) { time_t now; time(&now); now -= days_ago * 86400; s...
memovai/mimiclaw
https://github.com/memovai/mimiclaw
null
null
null
null
5,336
null
null
mit
null
null
null
null
null
null
null
main/ota/ota_manager.c
null
null
null
null
null
null
C
2026-05-04T18:43:53.543990
#include "ota_manager.h" #include "esp_log.h" #include "esp_ota_ops.h" #include "esp_http_client.h" #include "esp_crt_bundle.h" #include "esp_https_ota.h" static const char *TAG = "ota"; esp_err_t ota_update_from_url(const char *url) { ESP_LOGI(TAG, "Starting OTA from: %s", url); esp_http_client_config_t co...
memovai/mimiclaw
https://github.com/memovai/mimiclaw
null
null
null
null
5,336
null
null
mit
null
null
null
null
null
null
null
main/onboard/onboard_html.h
null
null
null
null
null
null
C
2026-05-04T18:43:53.545034
#pragma once static const char ONBOARD_HTML[] = "<!DOCTYPE html><html><head>" "<meta charset='utf-8'>" "<meta name='viewport' content='width=device-width,initial-scale=1'>" "<title>MimiClaw Setup</title>" "<style>" "*{box-sizing:border-box;margin:0;padding:0}" "body{font-family:-apple-system,sans-serif;background:#f5f...
memovai/mimiclaw
https://github.com/memovai/mimiclaw
null
null
null
null
5,336
null
null
mit
null
null
null
null
null
null
null
main/onboard/wifi_onboard.c
null
null
null
null
null
null
C
2026-05-04T18:43:53.546256
#include "wifi_onboard.h" #include "onboard_html.h" #include "mimi_config.h" #include "wifi/wifi_manager.h" #include <stdint.h> #include <stdlib.h> #include <string.h> #include "esp_log.h" #include "esp_wifi.h" #include "esp_netif.h" #include "esp_mac.h" #include "esp_http_server.h" #include "esp_system.h" #include "n...
memovai/mimiclaw
https://github.com/memovai/mimiclaw
null
null
null
null
5,336
null
null
mit
null
null
null
null
null
null
null
main/mimi.c
null
null
null
null
null
null
C
2026-05-04T18:43:53.576433
#include <stdio.h> #include <string.h> #include "freertos/FreeRTOS.h" #include "freertos/task.h" #include "esp_log.h" #include "esp_event.h" #include "esp_system.h" #include "esp_heap_caps.h" #include "esp_spiffs.h" #include "nvs_flash.h" #include "mimi_config.h" #include "bus/message_bus.h" #include "wifi/wifi_manage...
memovai/mimiclaw
https://github.com/memovai/mimiclaw
null
null
null
null
5,336
null
null
mit
null
null
null
null
null
null
null
main/proxy/http_proxy.c
null
null
null
null
null
null
C
2026-05-04T18:43:54.377641
#include "http_proxy.h" #include "mimi_config.h" #include <string.h> #include <stdlib.h> #include <errno.h> #include <sys/socket.h> #include <netdb.h> #include <unistd.h> #include "esp_log.h" #include "nvs.h" #include "esp_tls.h" #include "esp_crt_bundle.h" static const char *TAG = "proxy"; /* Only show warnings/er...
memovai/mimiclaw
https://github.com/memovai/mimiclaw
null
null
null
null
5,336
null
null
mit
null
null
null
null
null
null
null
main/proxy/http_proxy.h
null
null
null
null
null
null
C
2026-05-04T18:43:55.415004
#pragma once #include "esp_err.h" #include <stddef.h> #include <stdbool.h> /** * Initialize proxy module. */ esp_err_t http_proxy_init(void); /** * Returns true if a proxy host:port is configured. */ bool http_proxy_is_enabled(void); /** * Save proxy host, port, and type to NVS. */ esp_err_t http_proxy_set(co...
memovai/mimiclaw
https://github.com/memovai/mimiclaw
null
null
null
null
5,336
null
null
mit
null
null
null
null
null
null
null
main/tools/gpio_policy.h
null
null
null
null
null
null
C
2026-05-04T18:43:55.415881
#pragma once #include <stdbool.h> #include <stddef.h> /* GPIO defaults for ESP32-S3-LCD-1.47B safe user-accessible pins */ #define MIMI_GPIO_MIN_PIN 1 #define MIMI_GPIO_MAX_PIN 21 #define MIMI_GPIO_ALLOWED_CSV "1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,21,38,46" /** * Check if a pin is allowed for ...
memovai/mimiclaw
https://github.com/memovai/mimiclaw
null
null
null
null
5,336
null
null
mit
null
null
null
null
null
null
null
main/tools/tool_cron.c
null
null
null
null
null
null
C
2026-05-04T18:43:55.418427
#include "tools/tool_cron.h" #include "cron/cron_service.h" #include "bus/message_bus.h" #include <string.h> #include <time.h> #include "esp_log.h" #include "cJSON.h" static const char *TAG = "tool_cron"; /* ── cron_add ─────────────────────────────────────────────────── */ esp_err_t tool_cron_add_execute(const cha...
memovai/mimiclaw
https://github.com/memovai/mimiclaw
null
null
null
null
5,336
null
null
mit
null
null
null
null
null
null
null
main/tools/gpio_policy.c
null
null
null
null
null
null
C
2026-05-04T18:43:55.419173
#include "tools/gpio_policy.h" #include "driver/gpio.h" #include <stdlib.h> #include <stdio.h> #include <string.h> #ifndef GPIO_IS_VALID_GPIO #define GPIO_IS_VALID_GPIO(pin) ((pin) >= 0) #endif static bool pin_in_allowlist(int pin, const char *csv) { const char *cursor; if (!csv || csv[0] == '\0') { ...
memovai/mimiclaw
https://github.com/memovai/mimiclaw
null
null
null
null
5,336
null
null
mit
null
null
null
null
null
null
null
main/skills/skill_loader.c
null
null
null
null
null
null
C
2026-05-04T18:43:55.420516
#include "skills/skill_loader.h" #include "mimi_config.h" #include <stdio.h> #include <string.h> #include <dirent.h> #include "esp_log.h" static const char *TAG = "skills"; /* * Skills are stored as markdown files in spiffs_data/skills/ * and flashed into the SPIFFS partition at build time. */ esp_err_t skill_lo...
memovai/mimiclaw
https://github.com/memovai/mimiclaw
null
null
null
null
5,336
null
null
mit
null
null
null
null
null
null
null
main/tools/tool_files.c
null
null
null
null
null
null
C
2026-05-04T18:43:55.586862
#include "tools/tool_files.h" #include "mimi_config.h" #include <stdio.h> #include <stdlib.h> #include <string.h> #include <stdbool.h> #include <dirent.h> #include <sys/stat.h> #include "esp_log.h" #include "cJSON.h" static const char *TAG = "tool_files"; #define MAX_FILE_SIZE (32 * 1024) /** * Validate that a pat...
memovai/mimiclaw
https://github.com/memovai/mimiclaw
null
null
null
null
5,336
null
null
mit
null
null
null
null
null
null
null
main/skills/skill_loader.h
null
null
null
null
null
null
C
2026-05-04T18:43:55.793781
#pragma once #include "esp_err.h" #include <stddef.h> /** * Initialize skills system. * Scans SPIFFS for available skill markdown files. */ esp_err_t skill_loader_init(void); /** * Build a summary of all available skills for the system prompt. * Lists each skill with its title and description. * * @param buf ...
memovai/mimiclaw
https://github.com/memovai/mimiclaw
null
null
null
null
5,336
null
null
mit
null
null
null
null
null
null
null
main/tools/tool_files.h
null
null
null
null
null
null
C
2026-05-04T18:43:55.795258
#pragma once #include "esp_err.h" #include <stddef.h> /** * Read a file from SPIFFS. * Input JSON: {"path": "<MIMI_SPIFFS_BASE>/..."} */ esp_err_t tool_read_file_execute(const char *input_json, char *output, size_t output_size); /** * Write/overwrite a file on SPIFFS. * Input JSON: {"path": "<MIMI_SPIFFS_BASE>/...
memovai/mimiclaw
https://github.com/memovai/mimiclaw
null
null
null
null
5,336
null
null
mit
null
null
null
null
null
null
null
main/ota/ota_manager.h
null
null
null
null
null
null
C
2026-05-04T18:43:55.861744
#pragma once #include "esp_err.h" /** * Perform OTA firmware update from a URL. * Downloads the firmware binary and applies it. Reboots on success. * * @param url HTTPS URL to the firmware .bin file * @return ESP_OK on success (device will reboot), error code otherwise */ esp_err_t ota_update_from_url(const ch...
memovai/mimiclaw
https://github.com/memovai/mimiclaw
null
null
null
null
5,336
null
null
mit
null
null
null
null
null
null
null
main/tools/tool_cron.h
null
null
null
null
null
null
C
2026-05-04T18:43:56.001762
#pragma once #include "esp_err.h" #include <stddef.h> /** * Add a scheduled cron job. * Input JSON: { name, schedule_type ("every"/"at"), interval_s, at_epoch, message, channel?, chat_id? } */ esp_err_t tool_cron_add_execute(const char *input_json, char *output, size_t output_size); /** * List all scheduled cron...
memovai/mimiclaw
https://github.com/memovai/mimiclaw
null
null
null
null
5,336
null
null
mit
null
null
null
null
null
null
null
main/tools/tool_registry.c
null
null
null
null
null
null
C
2026-05-04T18:43:56.187805
#include "tool_registry.h" #include "mimi_config.h" #include "tools/tool_web_search.h" #include "tools/tool_get_time.h" #include "tools/tool_files.h" #include "tools/tool_cron.h" #include "tools/tool_gpio.h" #include <string.h> #include "esp_log.h" #include "cJSON.h" static const char *TAG = "tools"; #define MAX_TOO...
memovai/mimiclaw
https://github.com/memovai/mimiclaw
null
null
null
null
5,336
null
null
mit
null
null
null
null
null
null
null
main/tools/tool_get_time.c
null
null
null
null
null
null
C
2026-05-04T18:43:56.205571
#include "tool_get_time.h" #include "mimi_config.h" #include "proxy/http_proxy.h" #include <string.h> #include <stdlib.h> #include <time.h> #include <sys/time.h> #include "esp_log.h" #include "esp_http_client.h" #include "esp_crt_bundle.h" static const char *TAG = "tool_time"; static const char *MONTHS[] = { "Ja...
memovai/mimiclaw
https://github.com/memovai/mimiclaw
null
null
null
null
5,336
null
null
mit
null
null
null
null
null
null
null
main/tools/tool_gpio.h
null
null
null
null
null
null
C
2026-05-04T18:43:56.206452
#pragma once #include "esp_err.h" #include <stddef.h> /** * Initialize GPIO tool — configure allowed pins and directions. */ esp_err_t tool_gpio_init(void); /** * Write a GPIO pin HIGH or LOW. * Input JSON: {"pin": <int>, "state": <0|1>} */ esp_err_t tool_gpio_write_execute(const char *input_json, char *output,...
memovai/mimiclaw
https://github.com/memovai/mimiclaw
null
null
null
null
5,336
null
null
mit
null
null
null
null
null
null
null
main/tools/tool_get_time.h
null
null
null
null
null
null
C
2026-05-04T18:43:56.207103
#pragma once #include "esp_err.h" #include <stddef.h> /** * Execute get_current_time tool. * Fetches current time via HTTP Date header, sets system clock, returns time string. */ esp_err_t tool_get_time_execute(const char *input_json, char *output, size_t output_size);