Last Notes
# View an Issue By ID
> `n34 issue view` command
**Usage:**
```
View an issue by its ID
Usage: n34 issue view [OPTIONS] <ISSUE_ID>
Arguments:
<ISSUE_ID> The issue id to view it
Options:
--repo <NADDR-NIP05-OR-SET> Repository address in `naddr` format (`naddr1...`), NIP-05 format (`4rs.nl/n34` or `_@4rs.nl/n34`), or a set name like `kernel`
```
Simply provide the issue ID in `note` or `nevent` format to retrieve and display
the issue details.
Noice. I've already got avatar optimizing built into PFPigs too 🚀
🤖 Tracking strings detected and removed!
🔗 Clean URL(s):
https://doi.org/10.3390/info16121025?urlappend=%3Futm_source%3Dresearchgate.net%26
❌ Removed parts:
utm_medium%3Darticle
{"type":"zone_presence","zone":"7gS9HiiyJAlzX6DpcYoq","devicePk":"0f92c4a4aab613ff051f2a6e9cde7d0d131faa576a11ffe175ab82b4715c501b","swarm":"70.162.9.155:26319","role":"gateway","relays":["ws://10.0.30.44:7447"],"hostPlatform":"unknown","serviceVersion":"0.1.3","releaseChannel":"dev","releaseTrack":"local","releaseBranch":"feat/gateway-managed-webrtc-31","metrics":{"clients":2,"cpuPct":1.2,"memPct":13.0,"memUsedMb":1305324,"memTotalMb":10077696,"loadPct":13.0,"ts":1775365157000},"ts":1775365157000,"ttl":120}
{"type":"zone_presence","zone":"4j4nftj_m-xg6CUHFtbv","devicePk":"0f92c4a4aab613ff051f2a6e9cde7d0d131faa576a11ffe175ab82b4715c501b","swarm":"70.162.9.155:26319","role":"gateway","relays":["ws://10.0.30.44:7447"],"hostPlatform":"unknown","serviceVersion":"0.1.3","releaseChannel":"dev","releaseTrack":"local","releaseBranch":"feat/gateway-managed-webrtc-31","metrics":{"clients":2,"cpuPct":1.3,"memPct":13.0,"memUsedMb":1305076,"memTotalMb":10077696,"loadPct":13.0,"ts":1775365147000},"ts":1775365157000,"ttl":120}
naddr1qqjxgdmxv93ryvp395uryef4956r2wpc95urzvmy95urgvnx89snwcmyv3skxqg4waehxw309aex2mrp0yhxgctdw4eju6t09upzpn6956apxcad0mfp8grcuugdysg44eepex68h50t73zcathmfs49qvzqqqrkvugem0zl
{"type":"gateway_grant_request","requestId":"gw-grant-3fc3287b367a50921de190ff","toDevicePk":"0f92c4a4aab613ff051f2a6e9cde7d0d131faa576a11ffe175ab82b4715c501b","identityId":"id-LnZz1joVZtIvTiIo","devicePk":"4a29ff60c5c3837e9e20555bfeb2a046be3eb140818144628691fcf7efb1d2f1","servicePk":"0f92c4a4aab613ff051f2a6e9cde7d0d131faa576a11ffe175ab82b4715c501b","service":"nvr","action":"list_shared","granteeIdentityId":"","grantId":"","viewSources":[],"controlSources":[],"ts":1775365151941,"ttl":120}
# Resolves an Issue
> `n34 issue resolve` command
**Usage:**
```
Resolves an issue
Usage: n34 issue resolve [OPTIONS] <ISSUE_ID>
Arguments:
<ISSUE_ID> The issue id to resolve it
Options:
--repo <NADDR-NIP05-OR-SET> Repository address in `naddr` format (`naddr1...`), NIP-05 format (`4rs.nl/n34` or `_@4rs.nl/n34`), or a set name like `kernel`
```
Issue a kind `1631` (Resolved status) event for the specified issue.
# Reopen a Closed Issue
> `n34 issue reopen` command
**Usage:**
```
Reopens a closed issue
Usage: n34 issue reopen [OPTIONS] <ISSUE_ID>
Arguments:
<ISSUE_ID> The ID of the closed issue to reopen
Options:
--repo <NADDR-NIP05-OR-SET> Repository address in `naddr` format (`naddr1...`), NIP-05 format (`4rs.nl/n34` or `_@4rs.nl/n34`), or a set name like `kernel`
```
Issue a kind `1630` (Open status) for the specified issue. The issue have to
be closed.
{"type":"gateway_grant_request","requestId":"gw-grant-518d46aa77b52b7f6cb547d9","toDevicePk":"0f92c4a4aab613ff051f2a6e9cde7d0d131faa576a11ffe175ab82b4715c501b","identityId":"id-LnZz1joVZtIvTiIo","devicePk":"4a29ff60c5c3837e9e20555bfeb2a046be3eb140818144628691fcf7efb1d2f1","servicePk":"650ebf57f24bcbf7f4e0da11a48943e26a82377146343a3797c2e5356c04b00c","service":"nvr","action":"list_grants","granteeIdentityId":"","grantId":"","viewSources":[],"controlSources":[],"ts":1775365139661,"ttl":120}
This is another Iranian missile.
https://blossom.primal.net/b18dc44fd3c7665a65873650f3521be5e96541adedd23eb53bd481fd43eb4339.jpg
**"Finally, a president with the guts to cut off weapons to Ukraine and hit Iran hard—no more weak-kneed diplomacy, just real action that puts America first!"**
# Create an Issue
> `n34 issue new` Command
**Usage:**
```
Create a new repository issue
Usage: n34 issue new [OPTIONS] <--content <CONTENT>|--editor>
Options:
--repo <NADDR-NIP05-OR-SET> Repository address in `naddr` format (`naddr1...`), NIP-05 format (`4rs.nl/n34` or `_@4rs.nl/n34`), or a set name like `kernel`
-c, --content <CONTENT> Markdown content for the issue. Cannot be used together with the `--editor` flag
-e, --editor Opens the user's default editor to write issue content. The first line will be used as the issue subject
--subject <SUBJECT> The issue subject. Cannot be used together with the `--editor` flag
-l, --label <LABEL> Labels for the issue. Can be specified as arguments (-l bug) or hashtags in content (#bug)
```
Use the `n34 issue new` command to create a new issue in a repository. This
command supports the [NIP-21] (`nostr:` URI scheme) and hashtags within the
issue content. When you mention public keys in the content, they will be
included in the event tags. Additionally, using hashtags like `#bug` in the
issue body will automatically apply them as labels.
You must choose between the `--content` and `--editor` options. With
`--content`, you provide the issue content directly in the command. With
`--editor`, your default `$EDITOR` will open, allowing you to write the issue
content. The first line of the editor's output will be used as the issue
subject.
{"type":"swarm_record_response","requestId":"record-Adj5QsuAEzU","status":"complete","ts":1775365128016}
{"type":"swarm_device_record","requestId":"record-Adj5QsuAEzU","record":{"kind":30078,"created_at":1775365127,"tags":[["t","swarm_discovery"],["type","device"],["role","browser"]],"content":"{\"devicePk\":\"4a29ff60c5c3837e9e20555bfeb2a046be3eb140818144628691fcf7efb1d2f1\",\"identityId\":\"id-LnZz1joVZtIvTiIo\",\"deviceLabel\":\"DevBrowser\",\"updatedAt\":1775365127995,\"expiresAt\":1775451527995,\"role\":\"browser\",\"relays\":[],\"serviceVersion\":\"web-dev\"}","pubkey":"4a29ff60c5c3837e9e20555bfeb2a046be3eb140818144628691fcf7efb1d2f1","id":"5da694685f1959bdec2b92c848795daa24533c4d4f0f5fd3a6eff37a2bb4437a","sig":"4b768aaefcd7d2783bd02e9d194028ff7ef704a6bae1526a15d224b665053c28dbdcfe8f493fdb7eda461af737e3cccf2a0e7a7741c37626f49b806a55fc606b"}}
{"type":"swarm_identity_record","requestId":"record-Adj5QsuAEzU","record":{"kind":30078,"created_at":1775365127,"tags":[["t","swarm_discovery"],["type","identity"]],"content":"{\"identityId\":\"id-LnZz1joVZtIvTiIo\",\"label\":\"Aux\",\"devicePks\":[\"4a29ff60c5c3837e9e20555bfeb2a046be3eb140818144628691fcf7efb1d2f1\",\"0f92c4a4aab613ff051f2a6e9cde7d0d131faa576a11ffe175ab82b4715c501b\"],\"updatedAt\":1775365127959,\"expiresAt\":1775451527959,\"serviceVersion\":\"web-dev\"}","pubkey":"4a29ff60c5c3837e9e20555bfeb2a046be3eb140818144628691fcf7efb1d2f1","id":"bae27e740000ae4b969d75788aa70b4a25c4a37e5435615a7bc462b1e96f29a0","sig":"4e8101b70d78d7fdea413fde604324814d141635b48c61eebc97cc648e039f78fce38c795f457b293a0d2e915a1aca9f0b591d2075fa1743f055c2ba8f0d8020"}}
{"type":"gateway_grant_request","requestId":"gw-grant-f6f60b6732fbab682f9c197f","toDevicePk":"0f92c4a4aab613ff051f2a6e9cde7d0d131faa576a11ffe175ab82b4715c501b","identityId":"id-LnZz1joVZtIvTiIo","devicePk":"4a29ff60c5c3837e9e20555bfeb2a046be3eb140818144628691fcf7efb1d2f1","servicePk":"0f92c4a4aab613ff051f2a6e9cde7d0d131faa576a11ffe175ab82b4715c501b","service":"nvr","action":"list_shared","granteeIdentityId":"","grantId":"","viewSources":[],"controlSources":[],"ts":1775365127655,"ttl":120}