Skip to content

iprathammishra/newslit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Title 📢

Magazine Scraper & News API - Your Daily News Update System

Description

This powerful Rust-based project allows you to scrape a highly popular magazine website entrepreneur.com and transform its content into a convenient API. With just a few simple steps, you can effortlessly fetch a JSON response using JavaScript and create a remarkable daily news update system.

Key Features

  1. Magazine Scraping: Utilize Rust's robust scraping capabilities to extract content from a popular magazine website.
  2. API Generation: Transform the scraped content into a user-friendly API, providing structured access to the magazine's data.
  3. JSON Response: Effortlessly fetch the API's JSON response, making it compatible with a wide range of programming languages.
  4. Daily News Updates: Use the fetched JSON response to create an outstanding daily news update system, keeping users informed with the latest articles.
  5. JavaScript Integration: Seamlessly integrate the API and JSON response with JavaScript to power your dynamic web applications.

Setup and run main.rs file for firing up the API at localhost:8000 : -

  1. Clone the repository:
git clone <repo-link>
  1. Change directory:
cd newslit
  1. Run the following command to make the API go alive.
cargo run
  1. After making sure that the data is visible on your localhost:8000 fire up the gui/index.html file and enjoy reading. 📖

LICENSE

MIT License

Copyright (c) 2023 Pratham - heylightning/newslit

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

About

A tool for news updates.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published