ipfs-shipyard / ipfs-shipyard/ipfs-share-files

Feature: override the name of TAR archive with multiple files

Open
#131 1 comment 0 reactions 0 assignees View on GitHub
exp/novice good first issue help wanted kind/enhancement P3
Dominant language
TypeScript
Stars
171
Forks
36
PR merge metrics
No merged PRs in 30d

Description

**Is your feature request related to a problem? Please describe.**

https://share.ipfs.io/#/bafybeihrqpj2nf5ldxw7bw55dn2kt24nxgjltx42eoxmbwjrgdlddrfivm

allow rename download name by url

![image](https://user-images.githubusercontent.com/167966/125565251-b1c2f73c-4af1-4c5d-857d-af65953d48e7.png)

**Describe the solution you'd like**

`?filename=xxxx`

> https://share.ipfs.io/?filename=xxxx#/bafybeihrqpj2nf5ldxw7bw55dn2kt24nxgjltx42eoxmbwjrgdlddrfivm

when it has only one file

replace `?filename=xxxx` in download url in <1>

click <2> get filename as `xxxx`

when it has many file

click <2> get filename as `xxxx`

**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.

```
new URLSearchParams(window.location.search).get('filename')
```

**Additional context**
Add any other context or screenshots about the feature request here.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the URLSearchParams example and trace where the download URL and archive filename are generated for single-file and multi-file downloads. Verify the requested filename is read from the URL and used in both cases, then test the resulting download behavior with and without the parameter.

Written by the indexing model from the issue text.

Assessment

Tech stack
react, typescript
Domain
frontend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.