GithubHelp home page GithubHelp logo

tianheg / mirrors-china Goto Github PK

View Code? Open in Web Editor NEW
2.0 2.0 1.0 573 KB

列出**镜像站点包含的开源软件(List the open source software included in China mirror sites)

Home Page: https://mirrors.tianheg.org

JavaScript 22.92% Dockerfile 2.21% HTML 2.30% Vue 43.70% CSS 14.46% TypeScript 14.41%

mirrors-china's Introduction

Mirrors China

TODO

  • Upgrade to Vue3
  • Docker support
  • Pinia how to work with router like Vuex:
// Vue2 + Vuex + Vue router
router.beforeEach((to, from, next) => {
  store.dispatch("onLoading", true);
  next();
});

router.afterEach((to, from) => {
  store.dispatch("onLoading", false);
});

How to convert it use Pinia?(code source)

  • 100% test coverage
  • tidy style
  • split one into many components
  • mirror sites sync
  • revise, supplement tag_color in static/data.json file

Setup

# install dependencies
pnpm install

# serve with hot reload at localhost:5173
pnpm serve

# build for production with minification
pnpm build

Docker:

docker-compose up -d

Data source

  • static/data.json

Acknowledgements

App level

Vue3 level

mirrors-china's People

Contributors

dependabot[bot] avatar github-actions[bot] avatar tianheg avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Forkers

fxkjnj

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.