• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

ciehanski / libgen-cli / 6780079566
39%

Build:
DEFAULT BRANCH: master
Ran 07 Nov 2023 04:42AM UTC
Jobs 1
Files 3
Run time 1s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

07 Nov 2023 04:39AM UTC coverage: 42.138% (-14.7%) from 56.867%
6780079566

push

github

web-flow
Add IPFS Support (#79)

* add --ipfs-mirrors flag & logic to handle IPFS URLs

* fix tests, add upload URL

* cleanup tests, fix libgen.rocks search mirror

* cleanup tests, fix libgen.rocks search mirror

* allow lowercase MD5 on download and link commands

* add basic IPFS client implementation

* add secondary mirror lookup in case of GetDetails failure

* basic ipfs implementation

* gofmt

* update go to 1.20 as required by kubo

* remove deprecated ioutil for io

* cleanup mirrors

* lints

* fix github actions

* fix github actions

* fix github actions

* fix github actions

* remove HTTP Timeout from download

* decrease Search HTTP timeout to speed up search if mirror is broken

* lint

* working IPFS implementation

* move tmp ipfs dir creation logic

* cleanup IPFS logic, no need to handle downloading directories or symlinks

* move IPFS bar.finish()

* add IPFS tests

* update ifiles dep to github.com/ipfs/boxo/files

* add apache2.0 license

* update README with new -i --ipfs-mirrors flag

* add license attribution

* readd IPFS symlink and directory logic

* add IPFS cloudflare gateway fallback

* gofmt

38 of 223 new or added lines in 3 files covered. (17.04%)

5 existing lines in 2 files now uncovered.

268 of 636 relevant lines covered (42.14%)

3.06 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
27
51.26
-1.18% libgen/download.go
158
0.0
libgen/download_ipfs.go

Uncovered Existing Lines

Lines Coverage ∆ File
2
59.5
-0.29% libgen/api.go
3
51.26
-1.18% libgen/download.go
Jobs
ID Job ID Ran Files Coverage
1 6780079566.1 07 Nov 2023 04:42AM UTC 3
42.14
GitHub Action Run
Source Files on build 6780079566
  • Tree
  • List 3
  • Changed 2
  • Source Changed 2
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 237e817e on github
  • Prev Build on master (#4988133794)
  • Next Build on master (#6780259238)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc