Skip to content

Commit 72f8aec

Browse files
authored
Merge pull request #45 from LonoxX/develop
feat: add GitLab support with multi-provider
2 parents 29b289f + 8d5c8ff commit 72f8aec

32 files changed

Lines changed: 4227 additions & 1177 deletions

README.md

Lines changed: 40 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,36 +1,59 @@
1-
# GitHub Issues for Obsidian
1+
# GitHub & GitLab Issues for Obsidian
22

3-
An Obsidian plugin that integrates with GitHub to track issues and pull requests directly in your vault.
3+
![GitHub Release](https://img.shields.io/github/v/release/LonoxX/obsidian-github-issues)
4+
![GitHub License](https://img.shields.io/github/license/LonoxX/obsidian-github-issues)
5+
![GitHub Last Commit](https://img.shields.io/github/last-commit/LonoxX/obsidian-github-issues)
6+
![Release Workflow](https://img.shields.io/github/actions/workflow/status/LonoxX/obsidian-github-issues/release.yml?label=release)
7+
![Obsidian Downloads](https://img.shields.io/badge/dynamic/json?logo=obsidian&color=%23483699&label=downloads&query=%24%5B%22github-issues%22%5D.downloads&url=https://raw.githubusercontent.com/obsidianmd/obsidian-releases/master/community-plugin-stats.json)
8+
![GitHub Stars](https://img.shields.io/github/stars/LonoxX/obsidian-github-issues)
9+
![GitHub Issues](https://img.shields.io/github/issues/LonoxX/obsidian-github-issues)
410

11+
An Obsidian plugin that integrates with GitHub and GitLab to track issues and pull requests directly in your vault.
512

6-
>The configurations are heavily inspired by https://github.com/schaier-io, including some specific settings. However, I had already started working on my prototype before I discovered the plugin, and had initially even given it a similar name.
13+
> The configurations are heavily inspired by https://github.com/schaier-io, including some specific settings. However, I had already started working on my prototype before I discovered the plugin, and had initially even given it a similar name.
714
815
# Documentation
16+
917
Check out the [documentation](https://github.com/LonoxX/obsidian-github-issues/wiki) for detailed information on setup, configuration, and usage.
1018

1119
## Features
1220

1321
### Issue & Pull Request Tracking
14-
- Track issues and pull requests from multiple GitHub repositories
15-
- Automatically sync GitHub data on startup (configurable)
22+
23+
- Track issues and pull requests from multiple GitHub and GitLab repositories
24+
- Automatically sync data on startup (configurable)
1625
- Background sync at configurable intervals
1726
- Filter by labels, assignees, and reviewers
1827
- Include or exclude closed issues/PRs
1928
- Automatic cleanup of old closed items
2029

30+
### GitLab Support
31+
32+
- Full support for GitLab Issues and Merge Requests
33+
- Works with self-hosted GitLab instances
34+
- Multiple GitLab instances can be configured simultaneously
35+
2136
### GitHub Projects v2 Integration
37+
2238
- Track GitHub Projects across repositories
2339
- Kanban board view for project visualization
2440
- Custom field support (status, priority, iteration)
2541
- Project-specific filtering and organization
2642

2743
### Sub-Issues Support
28-
- Track GitHub sub-issues (parent/child relationships)
44+
45+
- Track sub-issues for both GitHub and GitLab (parent/child relationships)
2946
- Display sub-issues list with status indicators
3047
- Navigate between parent and child issues
3148
- Progress tracking with completion percentage
3249

50+
### Settings Profiles
51+
52+
- Central configuration for folders, templates, sync behaviour, and filters
53+
- Assign one profile to multiple repositories instead of configuring each one individually
54+
3355
### Markdown Notes
56+
3457
- Create markdown notes for each issue or PR
3558
- Customizable filename templates with variables
3659
- Custom content templates
@@ -54,19 +77,24 @@ Check out the [documentation](https://github.com/LonoxX/obsidian-github-issues/w
5477
3. Enable the plugin in **Community Plugins**
5578
4. Reload Obsidian
5679

57-
5880
## Configuration
5981

60-
1. Create a new GitHub token with the `repo` and `read:org` permissions
82+
### GitHub
83+
84+
1. Create a GitHub token with `repo` and `read:org` permissions
6185
[GitHub Settings > Developer Settings > Personal access tokens](https://github.com/settings/tokens)
62-
2. Configure the plugin in Obsidian settings:
63-
- Paste your GitHub token in the **GitHub Token** field
64-
- Adjust additional settings as needed
86+
2. Paste the token in **Settings - Providers - GitHub Token**
87+
88+
### GitLab
89+
90+
1. Create a GitLab Personal Access Token with `read_api` scope
91+
→ GitLab → Preferences → Access Tokens
92+
2. Enable the GitLab provider in **Settings - Providers - GitLab Token** and paste your token
6593

6694
## Adding Repositories
6795

6896
1. Open the plugin settings in Obsidian
69-
2. Add repositories by entering the full GitHub repository path (e.g., `lonoxx/obsidian-github-issues`),
97+
2. Add repositories by entering the full repository path (e.g., `lonoxx/obsidian-github-issues`),
7098
or use the repository browser to select one or multiple repositories
7199
3. Click **Add Repository** or **Add Selected Repositories**
72100
4. The plugin will automatically fetch issues from the configured repositories

manifest.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@
33
"name": "Github Issues",
44
"version": "1.8.0",
55
"minAppVersion": "0.15.0",
6-
"description": "Track Github Issues and pull requests directly in your vault",
6+
"description": "Track GitHub Issues, Pull Requests, GitLab Issues and Merge Requests directly in your vault",
77
"author": "LonoxX",
88
"authorUrl": "https://github.com/LonoxX",
99
"isDesktopOnly": false,
1010
"fundingUrl": {
1111
"GitHub Sponsor": "https://github.com/sponsors/LonoxX",
1212
"Ko-fi": "https://ko-fi.com/LonoxX"
1313
}
14-
}
14+
}

package.json

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "github-issues",
3-
"version": "1.8.0",
4-
"description": "Track GitHub issues and pull requests in Obsidian",
3+
"version": "1.8.0",
4+
"description": "Track GitHub and GitLab issues and pull/merge requests in Obsidian",
55
"main": "main.js",
66
"scripts": {
77
"dev": "node esbuild.config.mjs",
@@ -12,17 +12,19 @@
1212
"keywords": [
1313
"obsidian",
1414
"github",
15+
"gitlab",
1516
"tracker",
1617
"issues",
17-
"pull-requests"
18+
"pull-requests",
19+
"merge-requests"
1820
],
1921
"author": "LonoxX",
2022
"license": "MIT",
2123
"devDependencies": {
22-
"@types/node": "^25.3.0",
24+
"@types/node": "^25.5.0",
2325
"builtin-modules": "^5.0.0",
24-
"esbuild": "^0.27.3",
25-
"obsidian": "^1.12.2",
26+
"esbuild": "^0.27.4",
27+
"obsidian": "^1.12.3",
2628
"prettier": "^3.8.1",
2729
"tslib": "^2.8.1",
2830
"typescript": "^5.9.3"

0 commit comments

Comments
 (0)