GithubHelp home page GithubHelp logo

okteto's Introduction

okteto上部署trojan

官网 https://www.okteto.com/ 。听介绍说免费版24小时不活动就sleep,不知道是24小时内无请求进来就休眠还是没在平台网页上操作就休眠,所以我既做了主页轮询请求保活,也做了登陆session保活。

操作

  1. 下载okteto客户端工具并添加至环境变量,命令行中登陆,弹开的网页中进行身份验证及授权。
  2. git clone 本项目到本地并进入该文件夹,输入okteto deploy --build并回车,即可推送代码至okteto云端仓库。
  3. hello-world/config.json为xray配置文件,可自行修改。
  4. 默认trojan协议,ws路径:/api,密码:123

保活

  1. 主页请求及xray进程保活,许修改hello-world/index.js第84行为自己的url。
  2. 登陆session保活,需自行抓包,替换代码中的Cookie及其他相关请求头字段,希望这部分是多余的。

okteto's People

Contributors

imrzyang avatar fdjjh avatar

Watchers

 avatar

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.