Giter Site home page Giter Site logo

dumpmemory / are-we-learning-yet Goto Github PK

View Code? Open in Web Editor NEW

This project forked from anowell/are-we-learning-yet

0.0 0.0 0.0 9.73 MB

How ready is Rust for Machine Learning?

Home Page: http://arewelearningyet.com

License: Creative Commons Attribution 4.0 International

SCSS 13.25% Liquid 42.10% Rust 44.12% Just 0.52%

are-we-learning-yet's Introduction

are-we-learning-yet

Rust is a systems programming language, but is it a machine learning language?

arewelearningyet.com

Inspired by Are We Web Yet?, this project aims to catalog the the Rust ML ecosystem.

Contributing

Feedback, issues, and pull requests are welcome and appreciated for adding missing crates, providing additional resources, or improving the content.

Running locally

# GitHub OAuth token avoids 403 rate limiting errors while generated crate data
# Tip: set in `.env` file and `just` will pick it up automatically
export GITHUB_TOKEN=<YOUR_GITHUB_TOKEN>

# Scrape crate/repo data for sitegen
just scrape

# Start a dev server on port 3000
cobalt serve

The site should be running on localhost:3000

How it works

The repo consists of 2 key parts:

  • the scraper tool is responsible for reading crates.yaml, fetching additional metadata about the crate from crates.io and the GitHub API, and generating a score used for ordering crates. The fetched data is cached in a _tmp directory to speed up repeated site generation and avoid abusing the APIs, and the scraper outputs _data/crates_generated.yaml which is used by the cobalt site generation. To force regeneration of all crate data, remove the cached data with just clean. For more details, see the scraper README.
  • the site content is the rest of the repo which follows the layout established by cobalt.rs. Cobalt uses this content to generate a static site into a _site directory (cobalt build) and can also start a local development server that rebuilds the site anytime content changes (cobalt serve). For more details, see cobalt.rs documentation.

Note: cobalt serve does not trigger the scraper to rerun when crates.yaml (or the scraper) changes. Currently you must rerun just scrape to update crates_generated.yaml.

Publishing

arewelearningyet.com is served by Github Pages. Every merge into master is automatically published by a Github Actions job.

Additionally, to ensure crate statistics (download counts and stars) are regularly updated, the publishing task is also run as a weekly cron job.

are-we-learning-yet's People

Contributors

alexander-n avatar anowell avatar avinashshenoy97 avatar badboy avatar boncheolgu avatar c410-f3r avatar calebwin avatar coreylowman avatar davechallis avatar dependabot[bot] avatar eisterman avatar elpiel avatar enet4 avatar felgru avatar felix-clark avatar goulart-paul avatar huitseeker avatar jamess-lucass avatar jonathanwoollett-light avatar kno10 avatar laurentmazare avatar lukemathwalker avatar philpax avatar quietlychris avatar relf avatar rmhyman avatar slaterb1 avatar veeara282 avatar xpe avatar yurytsoy 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.