Skip to content

robcolbert/gabnews-widget

Repository files navigation

Gab Top News Widget Sample

This project is a sample of how to integrate Gab News data into your site or application.

Getting Started

Execute these commands in the root directory of this project:

npm install -g yarn gulp
yarn
gulp

Access http://localhost:3000 in your browser to see the news widget.

The Source

In the app/controllers/home.js controller script, you will find the logic to issue a request to Gab News to fetch Top News data and pass it to the view.

In app/views/index.pug you will find the basic code to render the news headlines in a way that is acceptable for a WordPress blog's sidebar.

Getting In Touch

https://gab.com/robcolbert rob.colbert@openplatform.us

About

Easily integrate Gab's Top News into your site/application

Resources

Stars

Watchers

Forks

Packages

No packages published