Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/osaguild/ipfs-uploader
component uploading file to ipfs
https://github.com/osaguild/ipfs-uploader
ipfs npm-package pinata storybook typescript
Last synced: 1 day ago
JSON representation
component uploading file to ipfs
- Host: GitHub
- URL: https://github.com/osaguild/ipfs-uploader
- Owner: osaguild
- License: mit
- Created: 2022-08-20T14:52:24.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-10-16T10:02:20.000Z (over 2 years ago)
- Last Synced: 2024-12-17T15:13:16.362Z (about 1 month ago)
- Topics: ipfs, npm-package, pinata, storybook, typescript
- Language: TypeScript
- Homepage:
- Size: 1.12 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# IPFS Uploader
The file upload component for ipfs which based on [chakra ui](https://chakra-ui.com/).
Now we only support [pinata](https://www.pinata.cloud/).# Getting started
## Installation
### @osaguild/ipfs-uploader
```yarn
yarn add @osaguild/ipfs-uploader
```### dependencies for react
This repository runs on react so you need to install react and react-dom to dependencies
```yarn
yarn add react react-dom
yarn add react-scripts -D
```If you use typescript, you need to install @types/react and @types/react-dom
```yarn
yarn add @types/react @types/react-dom -D
```### dependencies for other packages
This repository use [chakra-ui](https://chakra-ui.com/) and [axios](https://www.axios.com/).
So you need to install these packages.```yarn
yarn add @chakra-ui/react @emotion/react @emotion/styled axios framer-motion -D
```# Release to npm
```yarn
yarn rollup
yarn login
yarn publish --access=public
```