Giter VIP home page Giter VIP logo

openwrt-xray's Introduction

layout title sidebar_link
page
About
true

Last Updated: 2023.09.28

大概是一个无聊的人(QC)。

  • 常以草民自称(某种小众亚文化遗毒了属于是)。
  • 目前定居成都,在一家大概还算创业阶段的小公司当码农。
  • 想成为动手能力强的技术宅。
  • 重度社交恐惧症患者,已经放弃自救了。

A good soldier knows there's only one thing he can rely on when the chips are down: Not his cutting-edge intel, not his state of the art equipment, and not his top of the line weapon. Just himself: It took me a long time to remember that.

--- Laurence "Prophet" Barnes

Primary Skills

平时在公司主要做技术建设相关的事情,当然跟在上家时那种啥都干的情况相比,目前更专注于围绕 TiDB 做一些业务能力支持。

  • PL
    • Go(主要混饭吃的家伙)
    • Python(之前主要混饭吃的家伙)
  • DB
    • TiDB & MongoDB(主要混饭吃的家伙)
    • MySQL(之前主要混饭吃的家伙)
    • Trino(需要学来以后混饭吃的家伙)
  • 杂七杂八
    • Thrift / GRPC
    • Django / Flask
    • SQLAlchemy / GORM
    • 之前还写过一点 Node,不过太久没看已经忘差不多了

Secondary Skills

个人兴趣主要在 OpenWrt 和 NAS 上,偶尔整点儿 ESP8266 / ESP32 之类的小活

Hobby

可能是年纪大了,电子杨伟逐渐严重,最近着实怀旧

  • Skills
    • Rust(在学)
    • TypeScript(想学,不过没啥动力)
  • Gaming
    • 籼米。最喜欢五前和仙六。曾经混闲情,但这些年基本已经退圈了,当然几家的新作都会关注
    • 阴阳师(应声虫(然而是个签到 2000+ 天的咸鱼
    • 崩铁 116172681
    • Steam yichya
    • Switch SW-2107-2362-1147
  • Music
    • 常听的歌大部分是所谓「中国风」的歌(主要是 2013 - 2017 那段时间的,之后的歌听得很少),加上一部分轻音乐

Todo

目前预定的计划有

  • Project Home
    • 下次应该会是第四篇个人工作区介绍,预计是十月份再拿一些东西回来之后的事儿了
  • Traffic Accident(父亲交通事故处理相关,希望大家永远用不上这些经验)
    • 治疗与康复、赔偿相关(交通事故 & 工伤保险)
    • 预计是八九月份走完一些流程 & 把内固定取出之后再整理一下,不过时间比较久了,不一定能整理出来
  • 欠下的一些在上家工作时的回忆录(其实有些懒得写了,诸君且等楼塌便是)

Statistics

Account Stat

openwrt-xray's People

Contributors

yichya avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

openwrt-xray's Issues

Great work! Is there a tutorial for OpenWRT? 中文回答也行

I'd love to install this on an OpenWRT xiaomi/redmi router (mipsel 24kc).

I wish there was a tutorial, even an incomplete one would be helpful.

I would like to set up an Xray SERVER on a mipsel 24kc router. I already have certificates and config files on my linux machine. I don't care if performance is lower on the router. I'm interested in the reliability.

Thanks!

突然就不通了,重装一下又可以了

昨天安装升级后的ipk(1.8.3),运行正常,今早突然网络就不通了,重启路由也没用,日志里也看不出异样,force-reinstall后又可以了
OpenWrt 22.03.4 x86

大佬,xray运行文件提取出来,用了Loyalsoldier/v2ray-rules-dat的config.json提示找不到geoip.dat: !CN

Xray 1.5.0 (Xray, Penetrates Everything.) Custom (go1.17.2 linux/mipsle)
A unified platform for anti-censorship.
2021/11/24 02:11:23 [Info] infra/conf/serial: Reading config: config.json
Failed to start: main: failed to load config files: [config.json] > infra/conf: failed to parse DNS config > infra/conf: failed to build na meserver > infra/conf: invalid IP rule: [geoip:!cn] > infra/conf: failed to load GeoIP: !cn > infra/conf: code not found in geoip.dat: !CN

如上错误,geoip.dat要放在什么指定目录吗

用openwrt官方源码master分支编译openwrt-xray及luci-app-xray的问题

两个问题请教大佬!
问题一:
用openwrt官方源码master分支将版主的openwrt-xray及luci-app-xray两个git源添加进feeds.conf.default
src-git xraycore https://github.com/yichya/openwrt-xray.git
src-git xrayapp https://github.com/yichya/luci-app-xray.git
然后./scripts/feeds update -a,即出现如下提示!

Create index file './feeds/xraycore.index'
grep: feeds/xraycore/Makefile:$(eval: 没有那个文件或目录
grep: $(call: 没有那个文件或目录
grep: BuildPackage,$(PKG_NAME)))/Makefile: 没有那个文件或目录
/home/lyh/openwrt/feeds/xraycore.tmp/info/.files-packageinfo.mk:1: *** 目标模式不含有“%”。 停止。
Collecting target info: done
Create index file './feeds/xrayapp.index'
grep: feeds/xrayapp/Makefile:$(eval: 没有那个文件或目录
grep: $(call: 没有那个文件或目录
grep: BuildPackage,$(PKG_NAME)))/Makefile: 没有那个文件或目录
/home/lyh/openwrt/feeds/xrayapp.tmp/info/.files-packageinfo.mk:1: *** 目标模式不含有“%”。 停止。

问题二:openwrt官方源码master分支的packages里已经包含有xray-core包,是否兼容版主的luci-app-xray?

feature request: 对编译出的二进制进行UPX压缩

路由器上的空间一般都是比较小的,以前 v2ray 的时候还得带一个 v2ctl,差不多得用20M的空间,现在 Xray 压缩前差不多占用 15M,还有很大的进步空间。我尝试在 Windows 上对 armv6 的 xray core 进行打包,压缩率非常理想。

λ ~\..\Xray-linux-arm32-v7a upx xray
                       Ultimate Packer for eXecutables
                          Copyright (C) 1996 - 2020
UPX 3.96w       Markus Oberhumer, Laszlo Molnar & John Reiser   Jan 23rd 2020

        File size         Ratio      Format      Name
   --------------------   ------   -----------   -----------
  16187392 ->   5130840   31.70%    linux/arm    xray                                                                                                                                                                                           Packed 1 file.

压缩后大概只占用 5.1M 。大体上,在 workflow 中加上 upx path/to/xray-core 即可,但是不太确定是否能对所有架构都有效。

请教编译mipsel的xray内核

你好我在网上找了很久都没有我可以安装的mipsel_1004kc_dsp 的xray内核,有幸找到了你的仓库,想问下如果我把你的这个仓库fork到我的仓库,然后改下面的- arch: mipsel_24kc 变成mipsel_1004kc_dsp
sdk_url_path: https://downloads.openwrt.org/snapshots/targets/ramips/mt7620 7620改成7621
sdk_name: -sdk-ramips-mt7620_改成7621.
这样的方式后进入action编译,会成功编出来mipsel_1004kc_dsp的xray内核吗?

请教,在命令行环境下如何配置、运行xray?

硬件是一部ISP高度定制的openwrt路由器,无法安装luci,已经成功装上Xray 1.5.8 apk,cpu是ARMv7 Processor rev 1 (v7l)双核, 512内存。

请问如何配置分流、下载geodata和运行xray?有没有命令行下的基本教程及配置文件的样本?

谢谢!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.