Coin Market Scout is a web application that fetches and displays the latest coins listed on CoinMarketCap. It scrapes data periodically and provides an interface to view and pin the recently added coins. This application aims to provide an easy way to monitor new coins, although users should be cautious as many scams can be listed on such platforms.
Disclaimer: This application is for informational purposes only. Do not blindly trust the coins listed. Always perform your own research before making any investments. Also, this application uses web scraping to fetch data from CoinMarketCap, which may violate their terms of service. Using their API is way better. As this was only made for informational purposes, use at your own risk.
- Features
- Technologies Used
- Prerequisites
- Setup Instructions
- Scheduler Setup
- Unix-based Systems
- Windows
- Contributing
-
Fetches and displays the latest coins listed on CoinMarketCap.
-
Allows users to pin their favorite coins.
-
Shows detailed information about each coin.
-
Data is refreshed every hour to provide up-to-date information.
Note: Some times you have to adjust locations of css and JavaScript files in the main html.
- Frontend: HTML, CSS, JavaScript, Bootstrap
- Backend: Python, Selenium, JSON
- Web Scraping: Selenium WebDriver
- Python 3.x
- Node.js (for running a local server if needed)
- Chrome WebDriver
- Required Python packages:
selenium,webdriver_manager
-
Clone the Repository
git clone https://github.com/yourusername/coin-market-scout.git cd coin-market-scout -
Install Dependencies Ensure you have
pipinstalled and runnig.pip install selenium webdriver_manager
-
Run the Scraping Script Execute the Python script to fetch the latest data from CoinMarketCap:
python scraper.py
-
Set Up the Frontend Open the
MECO.htmlfile in your web browser to view the frontend. If you prefer to use a local server, you can use Python's built-in HTTP server:python -m http.server
Then open
http://localhost:8000in your browser.
To automate the data fetching process every hour, you can use a task scheduler like cron on Unix-based systems or Task Scheduler on Windows.
Add a cron job that runs the scraper script every hour. Open the cron table:
crontab -eAdd the following line to schedule the script:
0 * * * * /usr/bin/python3 /path/to/your/scraper.py
Use Task Scheduler to create a new task:
- Open Task Scheduler and create a new basic task.
- Set the trigger to repeat every hour.
- Set the action to start a program and select python.exe.
- Add the path to scraper.py as an argument.
Contributions are welcome! Please use the code for improvements or bug fixes. As This is just done as a hobby project this will be dropped after the completion of the project.
peace and blessings to you friend.