artemkorsakov_project-euler.../README.md

97 lines
2.9 KiB
Markdown
Raw Normal View History

2025-03-08 06:13:18 +00:00
# Project Euler Stats
2025-03-08 05:42:30 +00:00
2025-03-14 17:06:04 +00:00
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
2025-03-08 06:13:18 +00:00
to track your Project Euler problem-solving progress directly within your personal knowledge base.
2025-03-08 05:42:30 +00:00
2025-03-14 17:06:04 +00:00
This plugin is perfect for math and programming enthusiasts
who want to track their Project Euler achievements directly in Obsidian,
2025-03-08 06:13:18 +00:00
integrating them with other knowledge and notes.
2025-03-08 05:42:30 +00:00
2025-03-14 17:06:04 +00:00
---
2025-03-08 05:42:30 +00:00
2025-03-14 17:06:04 +00:00
## Features
2025-03-08 05:42:30 +00:00
2025-03-14 17:06:04 +00:00
1. **Profile Information**:
2025-03-08 05:42:30 +00:00
2025-03-14 17:06:04 +00:00
- Displays your Project Euler account details, including username, alias, location,
programming language, level, and number of solved problems.
2025-03-08 05:42:30 +00:00
2025-03-14 17:06:04 +00:00
2. **Progress Overview**:
2025-03-08 05:42:30 +00:00
2025-03-14 17:06:04 +00:00
- Shows your overall progress, including the percentage of problems solved
and your rankings in global, regional, and language-specific leaderboards.
2025-03-08 05:42:30 +00:00
2025-03-14 17:06:04 +00:00
3. **Tasks**:
2025-03-08 05:42:30 +00:00
2025-03-14 17:06:04 +00:00
- Lists your current tasks, such as the number of problems remaining
to reach the next level or improve your rankings.
2025-03-08 05:42:30 +00:00
2025-03-14 17:06:04 +00:00
4. **Awards**:
2025-03-08 05:42:30 +00:00
2025-03-14 17:06:04 +00:00
- Displays your progress toward earning Project Euler awards, including both completed and uncompleted awards.
2025-03-08 05:42:30 +00:00
2025-03-14 17:06:04 +00:00
5. **Friends**:
- Compares your progress with your friends on Project Euler.
2025-03-08 05:42:30 +00:00
2025-03-14 17:06:04 +00:00
---
2025-03-08 05:42:30 +00:00
2025-03-14 17:06:04 +00:00
## 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:
2025-03-08 05:42:30 +00:00
2025-03-08 06:13:18 +00:00
````markdown
2025-03-14 17:06:04 +00:00
```euler-stats
2025-03-08 05:42:30 +00:00
2025-03-08 06:13:18 +00:00
```
````
2025-03-08 05:42:30 +00:00
2025-03-14 17:06:04 +00:00
This will generate a document with your Project Euler statistics, including your profile, progress, tasks, awards, and more.
2025-03-08 09:26:41 +00:00
2025-03-15 07:06:07 +00:00
### 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" />
2025-03-15 11:34:41 +00:00
For more detailed information, please refer to [the documentation](https://artemkorsakov.github.io/project-euler-stats/).
2025-03-08 09:26:41 +00:00
2025-03-08 06:13:18 +00:00
### Requirements:
2025-03-08 08:03:21 +00:00
- Obsidian version 0.15.0 or higher.
2025-03-08 06:13:18 +00:00
- A Project Euler account.
2025-03-15 07:06:07 +00:00
## 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.
2025-03-08 06:13:18 +00:00
### License:
This plugin is distributed under the MIT License. You are free to use, modify, and distribute it.
2025-03-08 05:42:30 +00:00
2025-03-08 06:13:18 +00:00
### Contributing:
2025-03-08 05:42:30 +00:00
2025-03-14 17:06:04 +00:00
We welcome contributions from the community! If you'd like to add new features, fix bugs, or improve documentation,
2025-03-08 06:13:18 +00:00
feel free to create a pull request or open an issue in the repository.