Git Product home page Git Product logo

Comments (4)

z4yx avatar z4yx commented on July 24, 2024

https://github.com/syimyuzya/tunet-cli is dedicated for that purpose and works fine.

from goauthing.

ritou11 avatar ritou11 commented on July 24, 2024

https://github.com/syimyuzya/tunet-cli is dedicated for that purpose and works fine.

Yep. In fact, I have a repo https://github.com/ritou11/thunet-reg based on Node.js. It could satisfy my daily routine.
However, "thunet-reg" is written in JS, and "tunet-cli" is written in Python. Both of them require extra environments currently such as Node or Python. Since Golang is easy to compile and release, I'm taking it as the best language in this situation.

from goauthing.

z4yx avatar z4yx commented on July 24, 2024

If JS and Python are too heavy, why not use curl to do this job.

curl -sL net.tsinghua.edu.cn/do_login.php --data "action=login&username=yourID&password={MD5_HEX}yourPasswdMD5&ac_id=1"

Since net.tsinghua will soon be replaced by auth, I'm not motivated to add this feature. But PR is always welcomed.

from goauthing.

ritou11 avatar ritou11 commented on July 24, 2024

I did use curl for this years ago by writing a bash script. Similar to #3 , it's kind of a fancy function but counts in my personal daily use indeed.

from goauthing.

Related Issues (16)

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.