rain
π§ BitTorrent client and library in Go
νμΌ νμκΈ°
μ΅μ’ λ²μ λ€μ΄λ‘λ (.zip)- build.yml
- stale.yml
- dependabot.yml
- acceptor.go
- addrlist.go
- addrlist_test.go
- peeraddr.go
- allocator.go
- allocator_test.go
- announce.go
- announcer_test.go
- dht.go
- periodic.go
- stop.go
- bitfield.go
- bitfield_test.go
- node.go
- stree.go
- stree_test.go
- blocklist.cidr
- blocklist.go
- blocklist_test.go
- accept.go
- conn.go
- conn_test.go
- dial.go
- error.go
- handshake.go
- bufferpool.go
- bufferpool_test.go
- cachedpiece.go
- cachedpiece_test.go
- autocomplete.go
- boltbrowser.go
- client.go
- client_add.go
- client_add_peer.go
- client_add_tracker.go
- client_announce.go
- client_clean_database.go
- client_console.go
- client_file_stats.go
- client_files.go
- client_list.go
- client_magnet.go
- client_move.go
- client_peers.go
- client_remove.go
- client_save_torrent.go
- client_session_stats.go
- client_start.go
- client_start_all.go
- client_stats.go
- client_stop.go
- client_stop_all.go
- client_trackers.go
- client_verify.go
- client_version.go
- client_webseeds.go
- compact_database.go
- download.go
- helpers.go
- magnet_to_torrent.go
- server.go
- torrent.go
- torrent_create.go
- torrent_infohash.go
- torrent_show.go
- console.go
- ctxutil.go
- ctxutil_test.go
- externalip.go
- externalip_test.go
- fast.go
- fast_test.go
- section.go
- section_test.go
- incominghandshaker.go
- incominghandshaker_test.go
- outgoinghandshaker.go
- outgoinghandshaker_test.go
- infodownloader.go
- infodownloader_test.go
- jsonutil.go
- jsonutil_test.go
- logger.go
- magnet.go
- magnet_test.go
- ubuntu-14.04.1-server-amd64.iso.torrent
- info.go
- info_test.go
- metainfo.go
- metainfo_test.go
- conn.go
- mse.go
- mse_test.go
- clientid.go
- clientid_test.go
- peer.go
- peer_test.go
- pex.go
- messages.go
- parse_test.go
- peerreader.go
- peerreader_test.go
- messages.go
- peerwriter.go
- peerwriter_test.go
- piece.go
- piece_test.go
- peerconn.go
- peerconn_test.go
- peerpriority.go
- peerpriority_test.go
- extension.go
- extension_test.go
- messageid.go
- messageid_test.go
- messages.go
- messages_test.go
- writecounter.go
- peersource.go
- peersource_test.go
- pexlist.go
- recent.go
- recent_test.go
- piece.go
- piece_test.go
- cache.go
- cache_test.go
- item.go
- piecedownloader.go
- piecedownloader_test.go
- piecepicker.go
- piecepicker_test.go
- webseed.go
- webseed_test.go
- piecewriter.go
- piecewriter_test.go
- resolver.go
- resourcemanager.go
- resourcemanager_test.go
- boltdbresumer.go
- spec.go
- spec_test.go
- resumer.go
- rpctypes.go
- time.go
- time_test.go
- semaphore.go
- semaphore_test.go
- sliceset.go
- sliceset_test.go
- filestorage.go
- filestorage_linux.go
- filestorage_other.go
- filestorage_test.go
- padding.go
- padding_test.go
- storage.go
- stringutil.go
- stringutil_test.go
- suspendchan.go
- suspendchan_test.go
- announceresponse.go
- error.go
- filter_test.go
- httptracker.go
- httptracker_test.go
- action.go
- announceresponse.go
- backoff.go
- backoff_test.go
- connection.go
- messages.go
- request.go
- requestbase.go
- transaction.go
- transport.go
- udptracker.go
- udptracker_test.go
- compact.go
- compact_test.go
- event.go
- tier.go
- torrent.go
- tracker.go
- tracker_test.go
- trackermanager.go
- trackertest.go
- unchoker.go
- unchoker_test.go
- job.go
- job_test.go
- urldownloader.go
- urldownloader_test.go
- verifier.go
- verifier_test.go
- webseedsource.go
- client.go
- rainrpc_test.go
- file1.bin
- file2.bin
- zero.bin
- file1.txt
- file2.txt
- README
- sample_torrent.torrent
- config.go
- error.go
- rlimit.go
- rlimit_freebsd.go
- rlimit_windows.go
- session.go
- session_add.go
- session_add_test.go
- session_blocklist.go
- session_cmd.go
- session_dht.go
- session_healthcheck.go
- session_load.go
- session_metrics.go
- session_move_torrent.go
- session_rpc_handler.go
- session_rpc_server.go
- session_stats.go
- session_storage.go
- session_torrent.go
- torrent.go
- torrent_allocation.go
- torrent_announce.go
- torrent_close.go
- torrent_commands.go
- torrent_connection.go
- torrent_handshake.go
- torrent_infodownload.go
- torrent_messagehandler.go
- torrent_messagehandler_test.go
- torrent_metadataextension.go
- torrent_peer.go
- torrent_pex.go
- torrent_pieces.go
- torrent_run.go
- torrent_start.go
- torrent_stats.go
- torrent_status.go
- torrent_stop.go
- torrent_test.go
- torrent_verification.go
- torrent_webseed.go
- torrent_write.go
- version.go
- .gitattributes
- .golangci.yml
- .goreleaser.yml
- CHANGELOG.md
- go.mod
- go.sum
- LICENSE
- logo.png
- main.go
- README.md
- screenshot.png
# μ€μΉ κ°μ΄λ
1. μ½λ λ΄λ €λ°κΈ°
git clone https://github.com/cenkalti/rain
κΉνλΈμμ νλ‘μ νΈ μ½λ μ 체λ₯Ό λ΄ μ»΄ν¨ν°λ‘ λ΄λ €λ°μ΅λλ€.
cd rain
λ°©κΈ λ΄λ €λ°μ νλ‘μ νΈ ν΄λ μμΌλ‘ μ΄λν©λλ€.
2. 곡μ μ€μΉ μ€ν¬λ¦½νΈ
μ¬μ μΆμ²μ¬μ μ€λΉλ¬Ό
brew install cenkalti/rain/rain
Homebrewλ‘ μ΄λ―Έ λΉλλ ν¨ν€μ§λ₯Ό λ°λ‘ μ€μΉν©λλ€. μμ€ λΉλκ° νμ μμ΅λλ€.
go install github.com/cenkalti/rain/v2@latest
μ§μ λ λ²μ μ λ°λ‘ λ€μ΄λ‘λν΄μ μ€μΉν©λλ€. λ ν¬λ₯Ό μ§μ ν΄λ‘ ν νμκ° μμ΅λλ€.
μ€μΉ ν μ ν°λ―Έλμ μ΄κ³ , νλ‘κ·Έλ¨μ λ²μ νμΈ λͺ
λ Ή(μ: --version)μΌλ‘ μ μ μ€μΉλλμ§ νμΈνμΈμ.
μ΄ λ ν¬μ READMEμ μ ν μ€μ λͺ λ Ήμ΄λ₯Ό κ·Έλλ‘ κ°μ Έμμ΅λλ€.
3. Go
보ν΅μ¬μ μ€λΉλ¬Ό
go install github.com/cenkalti/rain/v2@latest
μ§μ λ λ²μ μ λ°λ‘ λ€μ΄λ‘λν΄μ μ€μΉν©λλ€. λ ν¬λ₯Ό μ§μ ν΄λ‘ ν νμκ° μμ΅λλ€.
λΉλκ° μλ¬ μμ΄ λλλ©΄ μ±κ³΅μ
λλ€. go run . μ μΌλ€λ©΄ ν°λ―Έλ μΆλ ₯μ νμΈνμΈμ.
μ΄ λ ν¬μ READMEμ μ ν μ€μ λͺ λ Ήμ΄λ₯Ό κ·Έλλ‘ κ°μ Έμμ΅λλ€.
// repository documentation
Was this content helpful?
(0 ratings)
