daeuniverse / dae-wing Goto Github PK
View Code? Open in Web Editor NEWdae-wing is a backend of dae, provides a method to bundle arbitrary frontend and dae into one binary.
License: GNU Affero General Public License v3.0
dae-wing is a backend of dae, provides a method to bundle arbitrary frontend and dae into one binary.
License: GNU Affero General Public License v3.0
As a user of the DAED, I would like to suggest the implementation of a new feature that allows for scheduled updates of subscription. Currently, the app requires manual updates for subscription, which can be cumbersome and time-consuming.
curl 'http://10.0.0.177:2023/graphql'
-H 'Accept: /'
-H 'Accept-Language: en-US,en;q=0.9,zh-CN;q=0.8,zh;q=0.7'
-H 'Cache-Control: no-cache'
-H 'Connection: keep-alive'
-H 'Origin: http://localhost:5173'
-H 'Pragma: no-cache'
-H 'Referer: http://localhost:5173/'
-H 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36'
-H 'authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE2ODg5NzM5ODksInJvbGUiOiJhZG1pbiIsInN1YiI6Imt1bmlzaCJ9.x5MVe2D2Z81ZV9hQAikECmU8yEkcNIRt67y8vXBzb6o'
-H 'content-type: application/json'
--data-raw $'{"query":"mutation UpdateRouting($id: ID\u0021, $routing: String\u0021) {\n updateRouting(id: $id, routing: $routing) {\n id\n }\n}","variables":{"id":"Y3Vyc29yMTc","routing":"pname(\"NetworkManager\",\"systemd-resolved\")->direct\ndip(geoip:\"private\")->direct\ndip(geoip:\"cn\")->direct\ndomain(geosite:\"cn\")->direct\nfallback:\"run\""},"operationName":"UpdateRouting"}'
--compressed
--insecure
As you can see, when i try to update the fallback from default
to run
, the query result still shows default
tproxyPortProtect in config form modal can not be updated from true to false.
The idea is to send a notification message to Telegram bot account when a proxy node is failed, after successfully fallback to another healthy node
Add user profile allow user to
advanced mode
and simple mode
运行崩溃。
持续稳定运行。
使用daed+dae-wing配置,运行一段时间dae-wing退出。
dae --version
):cat /etc/os-release
):uname -a
):No response
39.62 db/node_utils.go:23:99: not enough arguments in call to dialer.NewFromLink
39.62 have (*dialer.GlobalOption, dialer.InstanceOption, string)
39.62 want (*dialer.GlobalOption, dialer.InstanceOption, string, string)
39.67 make: *** [Makefile:61: bundle] Error 1
bug position
No response
in cloned daed, git submodule update --recursive --remote
before docker build -t daed-test .
FROM golang:1.21-bookworm as build-bundle
RUN \
apt-get update; apt-get install -y git make llvm-15 clang-15; \
apt-get clean autoclean && apt-get autoremove -y && rm -rf /var/lib/{apt,dpkg,cache,log}/
# build bundle process
ENV CGO_ENABLED=0
ENV CLANG=clang-15
ARG DAED_VERSION=self-build
COPY --from=build-web /build/dist /build/web
COPY --from=build-web /build/wing /build/wing
WORKDIR /build/wing
RUN make APPNAME=daed VERSION=$DAED_VERSION OUTPUT=daed WEB_DIST=/build/web/ bundle
dae --version
): self build current main branchcat /etc/os-release
): docker pull golang:1.21-bookwormuname -a
): 6.1.0-12-amd64full log:
0.250 cd dae-core && \
0.250 make ebpf && \
0.250 cd ../ && \
0.250 touch dae-core/control/bpf_bpfeb.o
0.251 make[1]: Entering directory '/build/wing/dae-core'
0.254 -no-strip
0.257 go: downloading github.com/cilium/ebpf v0.11.0
1.908 go: downloading golang.org/x/exp v0.0.0-20230728194245-b0cb94b80691
1.918 go: downloading golang.org/x/sys v0.10.0
6.141 Compiled /build/wing/dae-core/control/bpf_bpfel.o
6.147 Wrote /build/wing/dae-core/control/bpf_bpfel.go
6.887 Compiled /build/wing/dae-core/control/bpf_bpfeb.o
6.891 Wrote /build/wing/dae-core/control/bpf_bpfeb.go
6.905 make[1]: Leaving directory '/build/wing/dae-core'
6.914 go: downloading github.com/graph-gophers/graphql-go v1.5.1-0.20230228210639-f05ace9f4a41
6.914 go: downloading gorm.io/gorm v1.25.2
6.914 go: downloading github.com/sirupsen/logrus v1.9.3
6.914 go: downloading github.com/glebarez/sqlite v1.8.0
6.915 go: downloading github.com/stoewer/go-strcase v1.3.0
6.915 go: downloading golang.org/x/tools v0.11.0
6.915 go: downloading github.com/vishvananda/netlink v1.1.0
6.915 go: downloading github.com/golang-jwt/jwt/v5 v5.0.0
6.916 go: downloading github.com/json-iterator/go v1.1.12
6.916 go: downloading github.com/matoous/go-nanoid/v2 v2.0.0
6.916 go: downloading github.com/rs/cors v1.9.0
6.916 go: downloading github.com/spf13/cobra v1.7.0
6.916 go: downloading gopkg.in/natefinch/lumberjack.v2 v2.2.1
6.922 go: downloading github.com/mohae/deepcopy v0.0.0-20170929034955-c48cc78d4826
6.922 go: downloading github.com/mzz2017/softwind v0.0.0-20230803152605-5f1f6bc06934
8.423 go: downloading github.com/tidwall/gjson v1.14.4
8.424 go: downloading github.com/tidwall/sjson v1.2.5
8.476 go: downloading golang.org/x/crypto v0.11.0
8.477 go: downloading github.com/daeuniverse/softwind v0.0.0-20230821142121-f4d871b5a8c9
8.477 go: downloading github.com/miekg/dns v1.1.55
8.478 go: downloading github.com/daeuniverse/dae-config-dist/go/dae_config v0.0.0-20230604120805-1c27619b592d
8.478 go: downloading github.com/antlr/antlr4/runtime/Go/antlr/v4 v4.0.0-20230305170008-8188dc5388df
8.908 go: downloading github.com/okzk/sdnotify v0.0.0-20180710141335-d9becc38acbd
8.908 go: downloading github.com/x-cray/logrus-prefixed-formatter v0.5.2
8.909 go: downloading github.com/bits-and-blooms/bloom/v3 v3.5.0
8.930 go: downloading github.com/safchain/ethtool v0.3.0
9.176 go: downloading github.com/vishvananda/netns v0.0.4
9.285 go: downloading github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd
9.285 go: downloading github.com/modern-go/reflect2 v1.0.2
9.358 go: downloading github.com/spf13/pflag v1.0.5
9.372 go: downloading github.com/jinzhu/now v1.1.5
9.372 go: downloading github.com/gorilla/websocket v1.5.0
9.372 go: downloading github.com/refraction-networking/utls v1.3.2
9.380 go: downloading github.com/tidwall/match v1.1.1
9.380 go: downloading github.com/tidwall/pretty v1.2.1
9.380 go: downloading github.com/glebarez/go-sqlite v1.21.2
9.383 go: downloading golang.org/x/net v0.12.0
9.383 go: downloading github.com/adrg/xdg v0.4.0
9.383 go: downloading github.com/v2rayA/ahocorasick-domain v0.0.0-20230218160829-122a074c48c8
9.384 go: downloading github.com/mgutz/ansi v0.0.0-20200706080929-d51e80ef957d
9.384 go: downloading github.com/bits-and-blooms/bitset v1.8.0
9.385 go: downloading github.com/mzz2017/disk-bloom v1.0.1
9.385 go: downloading github.com/google/uuid v1.3.0
9.545 go: downloading github.com/mzz2017/quic-go v0.0.0-20230821141654-3dd2575ee6bc
9.657 go: downloading github.com/seiflotfy/cuckoofilter v0.0.0-20220411075957-e3b120b3f5fb
9.664 go: downloading github.com/jinzhu/inflection v1.0.0
9.747 go: downloading google.golang.org/grpc v1.57.0
9.775 go: downloading golang.org/x/mod v0.12.0
9.872 go: downloading github.com/eknkc/basex v1.0.1
9.920 go: downloading google.golang.org/protobuf v1.31.0
10.10 go: downloading golang.org/x/term v0.10.0
10.25 go: downloading github.com/dgryski/go-camellia v0.0.0-20191119043421-69a8a13fb23d
10.25 go: downloading github.com/dgryski/go-idea v0.0.0-20170306091226-d2fb45a411fb
10.32 go: downloading github.com/dgryski/go-rc2 v0.0.0-20150621095337-8a9021637152
10.35 go: downloading gitlab.com/yawning/chacha20.git v0.0.0-20230427033715-7877545b1b37
10.36 go: downloading github.com/golang/protobuf v1.5.3
10.36 go: downloading github.com/mattn/go-colorable v0.1.13
10.36 go: downloading modernc.org/libc v1.24.1
10.36 go: downloading modernc.org/sqlite v1.23.1
10.36 go: downloading github.com/dgryski/go-metro v0.0.0-20211217172704-adc40b04c140
10.44 go: downloading google.golang.org/genproto/googleapis/rpc v0.0.0-20230706204954-ccb25ca9f130
10.44 go: downloading golang.org/x/text v0.11.0
10.45 go: downloading github.com/andybalholm/brotli v1.0.5
10.46 go: downloading github.com/gaukas/godicttls v0.0.4
10.46 go: downloading github.com/klauspost/compress v1.16.7
10.87 go: downloading github.com/mattn/go-isatty v0.0.19
11.89 go: downloading github.com/dustin/go-humanize v1.0.1
11.89 go: downloading modernc.org/memory v1.6.0
11.89 go: downloading modernc.org/mathutil v1.6.0
12.27 go: downloading github.com/remyoudompheng/bigfft v0.0.0-20230129092748-24d4a6f8daec
20.13 time="2023-10-01T01:32:23Z" level=warning msg="dangerous converting: may exceeds graphQL int32 range" name=SoMarkFromDae type=uint32
20.32 time="2023-10-01T01:32:23Z" level=warning msg="dangerous converting: may exceeds graphQL int32 range" name=SoMarkFromDae type=uint32
22.37 webrender/web/logo.webp
22.37 webrender/web/assets/msdax-1ac55115.js
22.37 webrender/web/assets/abap-b029dff1.js
22.38 webrender/web/assets/csharp-49cbf0d2.js
22.38 webrender/web/assets/html-36207922.js
22.38 webrender/web/assets/scala-54469b4b.js
22.39 webrender/web/assets/cssMode-319ff2f1.js
22.39 webrender/web/assets/perl-d5fb326c.js
22.40 webrender/web/assets/redshift-a163b94a.js
22.40 webrender/web/assets/clojure-73642b02.js
22.41 webrender/web/assets/sql-d30fd9fd.js
22.42 webrender/web/assets/razor-9b697dd4.js
22.42 webrender/web/assets/mysql-b530c105.js
22.43 webrender/web/assets/typescript-69a62869.js
22.43 webrender/web/assets/lint.es2-963c31c2.js
22.44 webrender/web/assets/searchcursor.es2-cbfe7cae.js
22.44 webrender/web/assets/protobuf-941cf3e8.js
22.45 webrender/web/assets/json.worker-f7b9576c.js
22.47 webrender/web/assets/editor.worker-9a091e5f.js
22.48 webrender/web/assets/vb-39a025f4.js
22.48 webrender/web/assets/css.worker-8534ef4f.js
22.51 webrender/web/assets/lint.es3-71cb7f77.js
22.51 webrender/web/assets/liquid-7812bba1.js
22.52 webrender/web/assets/sublime.es-e2a3eb60.js
22.52 webrender/web/assets/search.es-1c15f5ea.js
22.52 webrender/web/assets/twig-f894aab2.js
22.52 webrender/web/assets/tsMode-138afb3a.js
22.53 webrender/web/assets/show-hint.es-b981493e.js
22.53 webrender/web/assets/pgsql-2d7db25a.js
22.53 webrender/web/assets/yaml-2fd0c875.js
22.53 webrender/web/assets/ts.worker-6f3611ff.js
22.69 webrender/web/assets/ecl-15840f49.js
22.69 webrender/web/assets/jsonMode-60663a8e.js
22.70 webrender/web/assets/css-74326df0.js
22.70 webrender/web/assets/elixir-e479e18e.js
22.70 webrender/web/assets/st-0857f583.js
22.70 webrender/web/assets/codicon-79f233d0.ttf
22.71 webrender/web/assets/lint.es-fe7166bb.js
22.71 webrender/web/assets/julia-0026391c.js
22.71 webrender/web/assets/comment.es-39699bae.js
22.72 webrender/web/assets/ruby-05b021bf.js
22.72 webrender/web/assets/index-f4e41779.css
22.74 webrender/web/assets/rust-3d80982c.js
22.74 webrender/web/assets/handlebars-135a913a.js
22.74 webrender/web/assets/dart-84b7c6b4.js
22.74 webrender/web/assets/powerquery-4c428232.js
22.75 webrender/web/assets/systemverilog-0cfd4211.js
22.75 webrender/web/assets/postiats-9db13649.js
22.75 webrender/web/assets/less-dd86a68c.js
22.75 webrender/web/assets/foldgutter.es-b6cee46a.js
22.76 webrender/web/assets/GitHub Light-b9e9e7cc.js
22.76 webrender/web/assets/freemarker2-cdbbf48f.js
22.76 webrender/web/assets/swift-f0a706dd.js
22.77 webrender/web/assets/cpp-4034161e.js
22.77 webrender/web/assets/closebrackets.es-e969742b.js
22.77 webrender/web/assets/javascript.es-3c6957c5.js
22.77 webrender/web/assets/mdx-9c7605cd.js
22.78 webrender/web/assets/pug-cfe384ef.js
22.78 webrender/web/assets/wgsl-afa2396f.js
22.78 webrender/web/assets/restructuredtext-5a906e1a.js
22.78 webrender/web/assets/codemirror.es2-5884f31a.js
22.80 webrender/web/assets/php-1daff147.js
22.80 webrender/web/assets/solidity-3d59d6a7.js
22.80 webrender/web/assets/htmlMode-563dc6c0.js
22.81 webrender/web/assets/apex-3c83662c.js
22.81 webrender/web/assets/index-7e44875f.js
23.35 webrender/web/assets/html.worker-06abd4e1.js
23.38 webrender/web/assets/scss-77902feb.js
23.39 go: downloading github.com/vearutop/statigz v1.3.0
47.97 # github.com/daeuniverse/dae-wing/db
47.97 db/node_utils.go:23:99: not enough arguments in call to dialer.NewFromLink
47.97 have (*dialer.GlobalOption, dialer.InstanceOption, string)
47.97 want (*dialer.GlobalOption, dialer.InstanceOption, string, string)
48.01 make: *** [Makefile:61: bundle] Error 1
Check the daed project build step logs for details
https://github.com/daeuniverse/daed/actions/runs/5230019229/jobs/9443351141
Provide a way to retrieve version info about dae / dae-wing or even graphql schema from running endpoint
No response
Monitor network change. Act reload automatically when connected to another network
Waking up the computer from sleep in another work space with another network.
No need to restart container every time I'm connected to another network. Convenient to move among different working places when using laptop.
For more details, please refer to daeuniverse/daed#284
Similar as dae do you have plan release dae-wing as pre-build binary file?
easier for low performance machine
Provide a graphql or restapi endpoint to update geosite/geoip files and reload proxy rules
As the title suggests, when I call updateSubscription, if the subscription url is unreachable or some other reasons, the subscription node list gets cleared.
Expected behaviors are as follows
Trigger speedtest / latency test manually and provide a way to return the latest test result
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.