Giter VIP home page Giter VIP logo

material-ui-medium-blog's Introduction

Material UI Medium Blog

Aim of this Project is embed Medium as a blog on your React website with an active status badge (green badge) for a time period .

UI

UI

licence GitHub package.json version GitHub repo size Twitter URL

๐Ÿ› ๏ธ Built with

Installation

To setup the app for development on your local machine, please follow the instructions below:

  1. Clone the repo to your machine

    git clone https://github.com/sabesansathananthan/material-ui-medium-blog.git
    cd material-ui-medium-blog
  2. Install packages

    If you use npm

    npm install

    or

    If you use yarn

    yarn
  3. Change username

    Use your Medium username๐Ÿ‘ค instead of @Sabesan96. in Slider.js

    mediumURL = "https://api.rss2json.com/v1/api.json?rss_url=https://medium.com/feed/@Sabesan96";
  4. Change active hours Active hours set as morning 5.00 am to night 8.00 pm. You could change the active hours in PostCard.js. If your time zone is not Indian Standard Time IST Change the ISTOffset value.
    Calculation for Finding Offset
    For me it is IST. Therefore, +5:30.
    Offset = +5 x 60 + 30

    const ISTOffset = 330; // IST offset UTC +5:30 ๐Ÿ• 
    const isOnline = ISTTime.getHours() >= 5 && ISTTime.getHours() <= 20;
  5. Run the development server

    If you use npm

    npm start

    or

    If you use yarn

    yarn start
  6. Visit http://localhost:3000

How does the category tag work?

How can we choose a particular category tag among a medium postโ€™s 5 category tags?

I proposed a method for that. In a particular medium post which category tag was tagged the highest time in last 10 medium posts is suitable for that post.

Don't forget to give a star โญ for this repo ๐Ÿ™‚

Article Related Article

Embed Medium as a blog on your React Website โ€” Part 2 - Sabesan Sathananthan

Similar Projects

๐Ÿ“„ License

This project is licensed under the MIT License - see the LICENSE file for details

material-ui-medium-blog's People

Contributors

sabesansathananthan 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.