• Stars
    star
    132
  • Rank 272,635 (Top 6 %)
  • Language
    Python
  • License
    MIT License
  • Created almost 4 years ago
  • Updated over 2 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

๐Ÿ™ Share your Github stats for 2020 on Twitter

Year on Github ๐Ÿ™

Heroku App Status

Share your Github stats for last year on Twitter.

This project contains a small web app that let's you share stats about your Github activity from last year. It's like Spotify's "year in review" but for Github. The app is built with Streamlit, queries Github's API via ghapi, and let's you share the generated stats directly on Twitter.



๐ŸŽ‰ Try it out: gh.jrieke.com ๐ŸŽ‰



For updates follow me on Twitter and if you like this project, please consider sponsoring โ˜บ๏ธ




Note: The steps below are only required if you want to work on the app. If you just want to use it, go here.

Installation

git clone https://github.com/jrieke/my-year-on-github.git
cd my-year-on-github
pip install -r requirements.txt

Known issues

  • Doesn't work with Python 3.8 and 3.9! Both versions throw an error related to ghapi/multiprocessing that I couldn't resolve yet (RuntimeError: An attempt has been made to start a new process before the current process has finished its bootstrapping phase and subsequently an EOFError). Please use Python 3.7 for now.

  • ghapi has (as of 26 December 2020) a small bug in the paged method (see here), which may cause problems, therefore the commands above will install it from my fork (you can also install it manually from there with pip install -U git+https://github.com/jrieke/ghapi).

Running locally

streamlit run app/main.py

Make sure to run always from the my-year-on-github dir (not from the app dir), otherwise the app will not be able to find the css file.

Deploying to Heroku

First, install heroku and login. To create a new deployment, run inside my-year-on-github:

heroku create
git push heroku main
heroku open

To update the deployed app, commit your changes and run:

git push heroku main

TODO

PRs are welcome! Please open an issue before you start working to coordinate.

  • New stars for repos >40k stars are not properly calculated because the Github API only returns the first 40k stars. Improve this by using the current stargazers_count to calculate/estimate the number of new stars.
  • Maybe: Use stargazers_count in query_repo so it's not required to read the last page of stargazers. This requires to disable hashing for stargazers_count in streamlit's cache function.
  • Right now, new stars for 2021 are also counted. Fix this.

More Repositories

1

traingenerator

๐Ÿง™ A web app to generate template code for machine learning
Python
1,350
star
2

best-of-streamlit

๐Ÿ† A ranked gallery of awesome streamlit apps built by the community
1,054
star
3

awesome-machine-learning-startups-berlin

๐Ÿค– A curated list of machine learning & artificial intelligence startups in Berlin (Germany)
Python
269
star
4

streamlit-analytics

๐Ÿ‘€ Track & visualize user interactions with your streamlit app
Python
250
star
5

shape-detection

๐ŸŸฃ Object detection of abstract shapes with neural networks
Jupyter Notebook
215
star
6

cnn-interpretability

๐Ÿฅ Visualizing Convolutional Networks for MRI-based Diagnosis of Alzheimerโ€™s Disease
Jupyter Notebook
161
star
7

streamlit-image-select

๐Ÿ–ผ๏ธ An image select component for Streamlit
Python
90
star
8

components-hub

An automated hub of Streamlit components
Python
77
star
9

fastapi-csv

๐Ÿ—๏ธ Create APIs from CSV files within seconds, using fastapi
Python
76
star
10

streamlit-pills

๐Ÿ’Š A Streamlit component to show clickable pills/badges
TypeScript
66
star
11

streamlit-profiler

๐Ÿ„๐Ÿผ Runtime profiler for Streamlit, powered by pyinstrument
Python
35
star
12

streamlit-theme-generator

๐Ÿ‘ฉโ€๐ŸŽจ๏ธ Generate beautiful color themes for Streamlit, powered by colormind.io
Jupyter Notebook
15
star
13

timeseries-rnn

โฑ๏ธ char-rnn for time series data
Python
13
star
14

traintool

๐Ÿ”ง Train off-the-shelf machine learning models in one line of code
Python
12
star
15

readme-template

My template for Github readmes
10
star
16

reinforcement-maze

Solving a maze with reinforcement learning
Jupyter Notebook
7
star
17

streamlit-inspector

๐Ÿ•ต๏ธ Streamlit component to inspect Python objects during development
Python
7
star
18

DiffusionLimitedAggregation

Simulation of 3D cluster formation through diffusion using Cython, NumPy and VPython
Python
7
star
19

evolution-learning

๐Ÿฃ Code for my master thesis "Biologically Plausible Deep Learning through Neuroevolution"
Jupyter Notebook
6
star
20

awstrainer

๐Ÿ› ๏ธ Command line tool for machine learning on AWS
Python
4
star
21

airbnb-sanity

๐Ÿงณ Chrome extension to hide Airbnb listings you don't like
JavaScript
4
star
22

CrisisInYourCity

Web visualization of housing market data during the financial crisis
JavaScript
3
star
23

lstm-biology

Neural networks with LSTM to classify and predict biological cell movement
Jupyter Notebook
3
star
24

awesome-python-utils

โญ Python packages that make dev life easier
2
star
25

drosophila-dynamics

Investigation of a Drosophila motoneuron model for my bachelor thesis
Jupyter Notebook
1
star
26

streamlit-cache

Little exploration of what st.cache could look like
Python
1
star
27

jrieke.github.io

My personal website
CSS
1
star
28

lightshapes

Party lightshow where animations are projected on cardboard shapes
Python
1
star
29

machine-intelligence

Code for the class "Machine Intelligence 1" at TU Berlin
Jupyter Notebook
1
star
30

stcode

Python
1
star
31

NeuroSim

Simple neuron simulator using NumPy and Matplotlib
Python
1
star
32

ioiometer

Android app to measure voltages on the IOIO board
Java
1
star
33

webb-compare-streamlit

Reproducing the amazing WebbCompare app in Streamlit
Python
1
star