abbasnaqdi / nekoray-macos Goto Github PK
View Code? Open in Web Editor NEWThis script is made to build https://github.com/MatsuriDayo/nekoray software for use on macOS operating system.
This script is made to build https://github.com/MatsuriDayo/nekoray software for use on macOS operating system.
Steps to reproduce:
Video demo:
https://github.com/abbasnaqdi/nekoray-macos/assets/140888008/5b2ff70a-c3cf-41cd-90cf-9d0db7444146
Also, it would be better if the app will prefer macOS default shortcuts over Windows default shortcuts (f.e. command+backspace instead of del key to delete config etc.)
Hi,
Thanks for the last build, it works on VMess but seems Reality not included in this build.
Logs for this issue:
create service: parse outbound[0]: uTLS, which is required by reality client is not included in this build, rebuild with -tags with_utls
hello,
hope you're doing well.
since there aren't any good macos clients out there, and with the need of a REALITY protocol client. an update to 3.7 [https://github.com/MatsuriDayo/nekoray/releases/tag/3.7] would be highly appreciated.
thank you
Hello, brother! The new version 3.24 cannot be opened on Intel versions Mac OS 11.7.10 and Mac OS 10.15.7, both of which flash back.
Brother, thank you for your update. There is a small issue. The latest version of Intel version will flash back when updating the subscription. Is there a way to handle it?
Hello, Catalina OS 10.15.7 cannot install the latest version 3.3 or 3.5. Can you solve this problem?
Well, after issuing "sudo bash builder.sh" (without sudo not work!!!) it starting log this and stopped on this:
HEAD is now at 7cc7534 Merge pull request #29 from makoni/main HEAD is now at 7cc7534 Merge pull request #29 from makoni/main Fetching origin HEAD is now at 7cc7534 Merge pull request #29 from makoni/main HEAD is now at 7cc7534 Merge pull request #29 from makoni/main Fetching origin HEAD is now at 7cc7534 Merge pull request #29 from makoni/main HEAD is now at 7cc7534 Merge pull request #29 from makoni/main Fetching origin HEAD is now at 7cc7534 Merge pull request #29 from makoni/main HEAD is now at 7cc7534 Merge pull request #29 from makoni/main Fetching origin HEAD is now at 7cc7534 Merge pull request #29 from makoni/main HEAD is now at 7cc7534 Merge pull request #29 from makoni/main Fetching origin HEAD is now at 7cc7534 Merge pull request #29 from makoni/main HEAD is now at 7cc7534 Merge pull request #29 from makoni/main bash: libs/get_source.sh: No such file or directory
What is that get_source.sh and where i can get this?
This program doesn't work at all, so what's the point of maintaining it?
سلام به همه رفقای عزیز
این مقاله را تنظیم کردیم, امیدوارم که مورد استفاده قرار بگیرد
شما میتوانید از ربات آموزشی تلگرام برای دریافت این آموزش ها نیز استفاده کنید
@IRAN_VPN_Guide_bot
دانلود نسخه PDF
NekoRay-macOS (Intel + Apple).pdf
نرم افزار NekoRay
که مجهز به هسته 1.8.3 Xray
میباشد و برای macOS (Intel + Apple)
طراحی شده و حتا با macOS های قدمی مثل 10.15.7 Catalina به خوبی سازگاری دارد.
شما میتوانید از لینک فوق به صفحه گیتهاب این نرم افزار دسترسی پیدا کنید و فایلهای اجرایی را از این صفحه دانلود کنید یا از لینک زیر برای دریافت آخرین نسخه استفاده کنید و با تشکر ویژه از @abbasnaqdi
لینک دانلود مستقیم اینجا کلیک کنید
همانطور که در تصویر زیر مشاهده میکنید در ابتدا با فشار دادن کلید Update
مطمئن شوید که برنامه شما با آخرین نسخه به روز رسانی شده است. بعد از انجام این قسمت با انتخاب گزینه Program
پنجره کشویی را باز کنید که در آن گزینههای مختلفی را شاهد خواهید بود
مطمئن شوید که لینک کانفیگ خود را از قبل کپی کردهاید و در حافظه کامپیوتر ذخیره کردهاید، در مرحله بعد همانطور که در تصویر زیر مشاهده میکنید در پنجره کشویی باز شده گزینه Add profile from clipboard
راه انتخاب کنید که کانفیگ شما به صورت خودکار به برنامه اضافه شود
همانطور که میبینید کانفیگ شما به درستی به برنامه اضافه شده است حالا با دبل کلیک کردن بر روی اسم VPN خود وارد تنظیمات اختصاصی شوید.
ما برای اتصال موفق نیاز داریم که تغییراتی را در این قسمت انجام دهیم
در این مرحله نیاز داریم که تغییراتی را در قسمت ALPN
و Fingerprint
و همچنین اگر مایلید در قسمت Flow
طبق تصویر زیر وارد کنید.
ALPN: h3,h2,http/1.1,spdy/3.1
Fingerprint: Chrome
Flow: xtls-rprx-vision-udp443
لازم به ذکر است برای کاربرانی که اطلاعات و تخصص بیشتری در این تنظیمات دارند میتوانید به صورت دلخواه مقادیر دیگر این قسمت را برای کارایی بهتر VPN خود تغییر دهید.
بعد از اعمال تمام تغییرات کلید OK
را فشار دهید تا ذخیره شود.
حالا به صفحه قبلی برمیگردیم بر روی نام وی پی ان خود کلید سمت راست را اجرا میکنیم و بعد از باز شدن پنجره کشویی با کلیک کردن بر روی کلمه Start
وی پی ان ما شروع به کار کردن و اتصال خواهد کرد.
نکته بسیار مهم قبل از شروع اتصال مطمئن شوید که گزینه System Proxy
انتخاب و تیک خورده باشد
کاربرانی که معلومات و تخصص بیشتری در این تنظیمات دارند میتوانید از گزینه Tune Mode
نیز استفاده کنید.
این قسمت را از کاربرانتان بخواهید که انجام دهند. چرا که ایدهال ترین حالت این است که اساسا ترافیک داخلی ایران به سمت پروکسی سرور شما ارسال نشود. مثلا اپلیکیشن NekoRay
برای ما این امکان را فراهم میکند که به سادگی مشخص کنیم ترافیک داخلی از پروکسی عبور نکند و فقط ترافیک خارجی به سمت پروکسی سرور ارسال شود
مزایای استفاده از Routing
کاهش احتمال شناسایی سرور
کاهش ترافیک سرور و در نتیجه بالا رفتن کیفیت
کاهش هزینههای سرور (اگر بابت ترافیک هزینه جداگانه پرداخت میکنید.)
``
ابتدا در این مرحله با کلیک کردن بر روی گزینه Preferences
پنجره کشویی را باز میکنیم و بر روی گزینه `Routing Settings` کلیک میکنیم تا به قسمت تنظیمات اختصاصی این قسمت وارد شویم.
ترجیحاً برای اطمینان پیدا کردن از اعمال صحیح این تغییرات وی پی ان خود را خاموش کنید.
همانطور که در تصویر مشاهده میکنید تغییرات را در قسمت Common انجام دهید و با کلیک کردن بر کلید OK
این تغییرات را در این قسمت ذخیره کنید.
در این قسمت ما میتوانیم DNS خود را تنظیم کنیم به صورت خودکار نرمافزار DNS را بر روی گوگل تنظیم کرده است که ترجیحاً نیازی به تغییر آن نیست ولی برای کاربرانی که مشتاق به تغییر مقادیر هستند میتوانید از یکی از آدرسهای زیر استفاده کنید یا هر IP آدرس دیگری دیگری که مد نظر شما باشد.
Remote DNS:
https://1.1.1.1/dns-query
https://dns.google/dns-query
https://dns.quad9.net/dns-query
https://doh.opendns.com/dns-query
https://doh.cleanbrowsing.org/doh/family-filter/
https://dns.adguard.com/dns-query
در مرحله نهایی که قسمت مهم این تغییرات میباشد مقادیر زیر را طبق تصویر وارد کنید
Direct IP: geoip:ir
Direct Domain: regexp:^.+\.ir$
and geosite:category-ir
Block Domain: geosite:category-ads-all
این تنظیمات باعث شود که در هنگام اتصال به VPN تمام وب سایتها که پیشوند IR.
یا دیگر دامینهایی که متعلق به سرورهای ایرانی میباشند پروکسی VPN شما عبور نکنند و به صورت مستقیم در مرورگر شما باز شوند. قسمتهای دیگر برای مسدود کردن تبلیغات طراحی و تنظیم شده.
کاربرانی که اطلاعات و تخصص بیشتری در این زمینه دارند میتوانند با اضافه کردن آیپیها یا مقادیر دیگر مکانیزم روتیک خود را تقویت دهند.
با کلیک کردن بر روی کلید OK
کار ما در اینجا به پایان خواهد رسید و تمام این تغییرات در برنامه ذخیره خواهد شد و در هنگام اتصال به VPN اعمال خواهند شد.
حالا میتوانید به صفحه اصلی برگردید و با اجرای کلید سمت راست گزینه Start را برای شروع مجدد وی پی ان خود کلیک کنید.
کاربرانی که از گزینه Tune Mode
استفاده میکنید و با خطا مواجه میشوید کامند لاین زیر را در ترمینال اجرا کنید و مراحل را از اول انجام دهید باید مشکل اتصال شما حل شود.
sudo /Applications/nekoray.app/Contents/MacOS/nekoray
I am aware that the script is not compatible with the new changes, but life is hard, and I don't have enough time to adapt right now.
I will do this as soon as possible (although I hope other developers will contribute to the development of this script and make compatibility).
So wait for now until I get the desired time.
I just downloaded the arm64 version and installed it. but it represents itself as an intet base application in the activity monitor:
It means this build isn't an actual arm64 build.
Brother, when will it be updated? I am looking forward to your work.
nekoray app works perfectly, but when I try to exit or stop the profile internet doesn't work anymore and I have to restart the system.(macOS Ventura 13.0.1 Apple M1 Pro)
在使用上个版本(3.24)的时候,可以通过在Info.plist中添加
<key>LSUIElement</key> <true/>
来实现隐藏应用图标的效果,但是在3.25中似乎失效了,希望能在编译时直接支持这个功能,谢谢!
在开启系统代理上网,退出系统代理后,电脑就没有办法联网了,需要手动到网络设置里点击去掉网页代理,安全网络代理,socks代理才能重新上网。
keep getting an error on build
fatal: reference is not a tree: e396733db4de15266f0cfdb43c392aca0759324a
though I just clone main
branch and run bash builder.sh
on MacOS Venture 13.5.1 intel core.
With sudo
same error.
Any advice?
虽然路由是通的,就怕万一线路挂了,都没法切换。
1
Use NekoBox and import a working VMess config. After clicking "start", an error occurred saying: "start service: open geoip database: error opening database: invalid MaxMind DB file".
就是从顶部状态栏无法退出,如果从顶部状态栏直接点击退出,应用程序将会直接卡死,只能通过后台强制退出。目前退出只能通过点击底部app退出。
like white/black list.
I added a xtls+reality service adress and added clash.meta/xray core file in the settings, but i can use the service to browse the website, naive service is ok.
Hello. I hope you are doin well. i cannot activate VPN mode any longer. it worked perfectly and idk what's happened. I have Macbook Air M1 2020. Will you please help me with that ?
Hi,
Thanks for your contribution to the community! I have an issue with Hidden Bar on Mac.
I use Hidden Bar (https://apps.apple.com/us/app/hidden-bar/id1452453066?mt=12) to hide certain tray icons.
Whenever Nekoray-macos GUI restarts, it keeps hidden from Hidden Bar, even though I unhide it earlier.
Not sure if this Mac specific issue, or an issue related to the upstream nekoray itself.
Do you have any insights?
Thanks!
ممنون برای این ریپازیتوری فوق العاده من یک سوال داشتم امکان استفاده از این ریپازیتوری در فرمورک های کراس پلتفرم مثل فلاتر یا ری اکت نیتیو هست ؟
麻烦大佬持续提供新版本的打包发布哈,目前已有3.14版本了
The Tun mode is not working on version 3.18 and when I checked the mode it went unchecked again. killing process not solving the issue.
更新3.22版本,谢谢
can you build dmg format ?
also there is 3.9 version please update
Hello, under what circumstances will this log be generated, and is there a function to automatically clean up the log?
Hello brother! I am looking forward to your update, but the latest version (3.21 Intel version) cannot be opened directly on MAC OS 11.7.9. It prompts the application to crash and hopes to receive your solution. Thank you!
How do I specify the name of the application? I have tried all possible variants. The application added to the list still uses a proxy.
You have macOS 10.15.7. The application requires macOS 12.6 or later, can you add macOS 10.15 support?
Mac Intel 芯片 macOS 12.7.1 安装了 3.18、3.24,程序可以启动,没有发生崩溃现象,能够正常配置。
问题是:启动代理,勾选“系统代理”,在日志里没有产生任何日志,代理也不起作用。
Try to start the config, but the core has not listened to the grpc port, so restart it...
start core error occurred: execve: No such file or directory
hi. plase relase new version : 3.21
macbook版本可以有中文版本,或者汉化补丁吗?
"tun" cant not working on mac mini(m1)
3.24 amd和arm任然奔溃
The ARM64 (M series) version is actually AMD64 (Intel).
Hi
I tried to run 3.24 arm64 on MacBook M1 Sonoma
but it crashes, error message on terminal when I ran this command: /Applications/nekoray_arm64.app/Contents/MacOS/nekoray
qt.qpa.plugin: Could not load the Qt platform plugin "cocoa" in "" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
Available platform plugins are: cocoa.
[1] 2989 abort /Applications/nekoray_arm64.app/Contents/MacOS/nekoray
OS also show me another Problem Report that is very long, let me share if it is necessary
大佬好,nekoray在启动时需要点击系统代理,在选择节点点击启动,能否改成选择节点直接点击系统代理,减少一个步骤使用更方便,还是有什么快捷方式我没有发现?忘采纳。
crashes on 2020 m1 macbook air
Issue:
"Proxy Mode" works fine, but I get the following error when switching to "Tun Mode":
[Error] Core exited, restarting.
start core error occurred: execve: No such file or directory
When I select a config in this situation, the error extends to the following:
[Error] Core exited, restarting.
start core error occurred: execve: No such file or directory
Try to start the config, but the core has not listened to the grpc port, so restart it...
start core error occurred: execve: No such file or directory
How to reproduce:
Hello brother! The version you modified is for Catalina OS 10.15.7, new version 3.3. It can now be installed successfully, but the application cannot be opened. Can you optimize it again?
@abbasnaqdi
Thank you for the great work.
Just wondering if you could be of any help. I am experiencing a bit of trouble when using the Simple route
.
It appears that everything is in the right place, and there are no errors, but the routing rules aren't working as they should. Basically, all IR domains
are blocked on the server side. In practice, when I use the Routing Rules below, it should open .IR domains and Iranian-hosted domains.
The screenshots below are for your reference.
I would appreciate it if you could share your thoughts or provide any custom routing JSON samples that I can try.
Thank you in advance
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.