Comments (4)
Hi @databasd ,
Thanks for being willing to help! Our dynamic key parsing logic is implemented in TypeScript, and we need to convert it to Golang:
- Change
ssconf://<my-dynamic-key>
to HTTPS URLhttps://<my-dynamic-key>
- Fetch the HTTPS URL, you may use Golang's http package to accomplish that
- Process the response:
3a. If it's a static Outline key (starts withss://
), simple reuse the existing Go implementation for parsing it
3b. If it's a JSON object ({ "method": "...", "password": "...", "server": "...", "server_port": ..., "prefix": "..." }
, whereprefix
is optional), you may either usejson.Unmarshal
to parse the object and construct theshadowsocksConfig
object, or you may convert the JSON back into a static Outline key (ss://
) and jump to step 3a.
Feel free to create a draft pull request to get the discussion started. We can work on the details together.
Please note that, you can start using your implementation even before the review is complete.
from outline-sdk.
Hi @databasd , Outline CLI can't use "ssconf://" yet. We do plan to add support for it someday. You may also fork the project and contribute to the corresponding code to support this feature.
from outline-sdk.
Hi. I would contribute but where is the reference code for parsing ssconf:// in the gui application ?
from outline-sdk.
Hi @jyyi1 ,
opened a PR for this but I'd like to discuss the issues I'm currently facing
from outline-sdk.
Related Issues (20)
- WIP [Enhancement] Getting GUI app to run on physical Android device requires changes to setup HOT 1
- Ouline
- Not able to access services on Shadowsocks server when using Outline CLI HOT 2
- OutlineCLI: Failed to create tun device HOT 5
- Update WebView documentation
- OutlineCLI blocks docker HOT 2
- The Outline CLI references to the invalid version of Outline SDK
- href doesnt work HOT 3
- Any way to run Outline client on linux server terminal by command line? HOT 14
- ReInstall OutLine Manager HOT 1
- Commit 49ebf7c is breaking `httpproxy` with `ss` dialer HOT 5
- Add PROXY support to Websocket reverse proxy
- Add PROXY support to Outline Server
- Add Websocket tests
- Use a better websocket implementation that is more robust and supports H2 & H3
- Replace Websocket library HOT 3
- doesn't work in Ubuntu 24 HOT 3
- Build error HOT 1
- Setup outline setting to global user setting HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from outline-sdk.