Giter VIP home page Giter VIP logo

10kbclub's Introduction

10 KB Club

NOTE: This project is no longer maintained.

This is the source code of 10kbclub.com.

Contents

Suggest New Website

Read the Club Rules first. If the new website satisfies the club rules, then create a new issue and provide the URL of the website.

Development Setup

To build and develop this project locally, perform the following steps:

  1. Clone this repository:

    git clone https://github.com/susam/10kbclub.git
  2. Install Node.

    On macOS, enter the following command if you have Homebrew:

    make mac-setup

    On Debian, Ubuntu, or another Debian-based Linux system, enter the following command:

    make deb-setup
    
  3. Enter the following command to create a local copy of the website:

    make render
  4. Now open index.html using a web browser to see the output.

Development Activities

  1. On a Linux system, enter the following command to ensure that the directory for Node binaries are added to the PATH environment variable:

    . ./env
  2. Enter the following command to generate a file named metrics.yaml that would contain metrics data for each URL in the file src/urls.yaml:

    node src/refresh.js
  3. Enter the following command to render the home page using the data in metrics.yaml:

    node src/render.js
  4. Enter the following command to fetch a single URL and print its metrics:

    node src/metrics.js https://www.example.com/

    This script also accepts multiple URL arguments like this:

    node src/metrics.js https://www.example.com/ https://www.example.org/

Commit Guidelines

The following guidelines are followed in the commits made manually:

  1. The following commands should succeed without errors:

    make checks
    make render
  2. Commit messages are written as per the guidelines in this document: Writing Good Commit Messages.

Additional Details

This section contains some additional details that might be useful in understanding this project.

  1. The project repository at https://github.com/susam/10kbclub is automatically published as https://10kbclub.com/ using GitHub Pages.

  2. The build job to publish the website runs automatically once every Saturday as well as on every push via GitHub Actions. See live.yml for the GitHub Actions workflow. See https://github.com/susam/10kbclub/actions for the previous executions of the workflow.

  3. The links to discussion threads in js/urls.yaml are not exhaustive. Only the 5 earliest discussion threads that have 100 points or more have been picked from each forum.

License

This is free and open source software. You can use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of it, under the terms of the MIT License. See LICENSE.md for details.

This software is provided "AS IS", WITHOUT WARRANTY OF ANY KIND, express or implied. See LICENSE.md for details.

Support

To report bugs, suggest improvements, or ask questions, create issues.

10kbclub's People

Contributors

susam avatar marwahaha avatar tannercollin 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.