Skip to content

Releases: hanisntsolo/codeforces-lamp

v1.0.0

20 Jul 08:02
Compare
Choose a tag to compare

Release v1.0.0

Codeforces Lamp is now officially released! This release introduces a Dockerized solution for integrating with the Codeforces API, allowing real-time tracking of profile ratings and submissions. Here's what you need to know about this release:

Overview

The Codeforces Lamp project offers a streamlined, containerized environment for developers and competitive programming enthusiasts to interact with Codeforces data. With this release, users can deploy and use the Codeforces Lamp on any platform with minimal setup.

Key Features

  • Real-Time Smart Lamp Integration: The system adjusts the smart lamp color based on Codeforces profile ratings and submission statuses.
  • Submission Feedback:
    • In-Process Submissions: Lamp flickers and alternates with a breathing orange color.
    • Accepted Submissions: Lamp turns parrot green before reverting to the profile color.
    • Wrong Submissions: Lamp turns red temporarily before returning to the profile color.
  • Pre-configured Environment: Includes all dependencies and configurations required to interact with the Codeforces API.
  • Modular Architecture: Designed for easy extension and customization.
  • Easy Deployment: Docker images can be created and run with minimal setup.
  • Open Source: Freely available for use, modification, and contribution.

Prerequisites

  • SMARTLIFE App: Required to add your smart lamp to the Tuya account and get the device's Unique Identifier.
  • Wipro Smart Lamp/Light Devices: Devices connected to the SMARTLIFE App.
  • Tuya Developer Access: Necessary to interact with Tuya IoT APIs.
  • Codeforces API Key: Required for interaction with the Codeforces system.
  • Docker Compose Environment Variables:
    - CODEFORCES_API_KEY=${CODEFORCES_API_KEY}
    - CODEFORCES_API_SECRET=${CODEFORCES_API_SECRET}
    - TUYA_ACCESS_ID=${TUYA_ACCESS_ID}
    - TUYA_ACCESS_KEY=${TUYA_ACCESS_KEY}
    - TUYA_BULB_ID=${TUYA_BULB_ID}
    

Full Changelog: https://github.com/hanisntsolo/codeforces-lamp/commits/v1.0.0