Giter VIP home page Giter VIP logo

teams-reddit's Introduction

Reddit within teams

Attempt to create a basic reddit browser with a teams theme.

https://treddit.now.sh

How to use?

Add a website tab to any channel in Teams and use https://treddit.now.sh as the URL.

Development setup

System setup

  1. Have scoop installed.
  2. Install git, nodejs and yarn. I prefer to do this -
    scoop install git
    scoop install nvm
    nvm install latest
    # this should show the installed version after install. Lets call it 13.x.x
    nvm use 13.x.x
  3. Install yarn
    scoop install yarn
    

Codebase setup

  1. Clone the repo and prep it
    git clone [email protected]:sushruth/teams-reddit.git
    cd teams-reddit
    yarn
    

Certificate setup

This following snippet (run in powershell) is going to generate a locally signed certificate and install it in Cert:\CurrentUser\TrustedPublishers path for windows. Other operating system instructions will be included later.

scoop install openssl

cd certs

openssl req -x509 -out localhost.crt -keyout localhost.key -newkey rsa:2048 -nodes -sha256 -subj '/CN=localhost' -extensions EXT -config ./config

Import-Certificate -FilePath .\localhost.crt -CertStoreLocation Cert:\CurrentUser\Root\

Run and test the app

  1. Start it

    yarn start
    
  2. Open any channel in teams and click on "+" icon to add a tab

  3. Click on "website" app

  4. Use https://localhost:3000 as the URL

All good.

teams-reddit's People

Contributors

sushruth avatar

Stargazers

Roman avatar Thejus avatar

Watchers

James Cloos avatar  avatar Thejus avatar

teams-reddit's Issues

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.