artemkorsakov_project-euler.../README.md
Artem Korsakov 8d57b7ef27 Fix repo
2025-03-15 14:34:41 +03:00

96 lines
2.9 KiB
Markdown

# Project Euler Stats
This repository contains an Obsidian plugin that allows users to automatically fetch and display statistics
from the [Project Euler](https://projecteuler.net/) website.
The plugin integrates seamlessly with Obsidian, providing a convenient way
to track your Project Euler problem-solving progress directly within your personal knowledge base.
This plugin is perfect for math and programming enthusiasts
who want to track their Project Euler achievements directly in Obsidian,
integrating them with other knowledge and notes.
---
## Features
1. **Profile Information**:
- Displays your Project Euler account details, including username, alias, location,
programming language, level, and number of solved problems.
2. **Progress Overview**:
- Shows your overall progress, including the percentage of problems solved
and your rankings in global, regional, and language-specific leaderboards.
3. **Tasks**:
- Lists your current tasks, such as the number of problems remaining
to reach the next level or improve your rankings.
4. **Awards**:
- Displays your progress toward earning Project Euler awards, including both completed and uncompleted awards.
5. **Friends**:
- Compares your progress with your friends on Project Euler.
---
## Installation
1. **Install the Plugin**:
- Open Obsidian.
- Go to **Settings****Community plugins**.
- Click **Browse** and search for "Project Euler Stats".
- Install and enable the plugin.
2. **Configure Your Project Euler Settings**:
- After enabling the plugin, go to **Settings****Project Euler Stats**.
- Enter your `SessionId` and `Keep-Alive` cookie values in the provided fields.
- Save the settings.
---
## Usage
To display your Project Euler progress, use the following code block in your Obsidian note:
````markdown
```euler-stats
```
````
This will generate a document with your Project Euler statistics, including your profile, progress, tasks, awards, and more.
### Example
<img src="docs/images/profile.png" alt="profile" width="500" />
<br>
<img src="docs/images/progress.png" alt="progress" width="500" />
<br>
<img src="docs/images/tasks.png" alt="tasks" width="500" />
For more detailed information, please refer to [the documentation](https://artemkorsakov.github.io/project-euler-stats/).
### Requirements:
- Obsidian version 0.15.0 or higher.
- A Project Euler account.
## Troubleshooting
- **HTTP error!**:
- Ensure your `SessionId` and `Keep-Alive` cookie values is correctly configured in the plugin settings.
- Update your `SessionId` and `Keep-Alive` cookie values.
### License:
This plugin is distributed under the MIT License. You are free to use, modify, and distribute it.
### Contributing:
We welcome contributions from the community! If you'd like to add new features, fix bugs, or improve documentation,
feel free to create a pull request or open an issue in the repository.