# Providing Artifacts basics

**URL:** <https://discourse.julialang.org/t/providing-artifacts-basics/35459>\
**Category:** General Usage\
**Created:** [March 3, 2020, 12:00pm UTC](https://discourse.julialang.org/t/providing-artifacts-basics/35459 "2020-03-03T12:00:45Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![giordano](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/giordano/32/2166_2.png) [@giordano](https://discourse.julialang.org/u/giordano)\
**Post date:** [March 3, 2020, 7:33pm UTC](https://discourse.julialang.org/t/providing-artifacts-basics/35459/6 "2020-03-03T19:33:18Z")

</div>

> [@jw3126](#):
>
> I think I do not want to build anything at all (Or is there a reason not to simply reuse the binaries provided by the Dhall maintainers?). I think I want something much more simple. Namely download + extract binaries.

Fair enough. So maybe you’re more interested in this discussion:

> [@Creating Artifacts.toml for existing tarball](https://discourse.julialang.org/t/creating-artifacts-toml-for-existing-tarball/33365):
>
> I’m trying to figure out how to create an Artifacts.toml to download some data that my package depends on. I’m creating a setup\_artifacts.jl script to create it. Here’s what I have so far: using Pkg.Artifacts using Pkg.GitTools using Tar toml = joinpath(@\_\_DIR\_\_, "Artifacts.toml") ir\_url = "https://tidmarsh.media.mit.edu/~sfr/tidmarsh\_irs.tar.gz" ir\_hash = create\_artifact() do artifact\_dir tarball = download(ir\_url) try global tarball\_hash = bytes2hex(GitTools.blob\_hash(tarba…

Examples of packages using Artifacts outside of BinaryBuilder include:

- [`Electron`](https://github.com/davidanthoff/Electron.jl) ([`Artifacts.toml`](https://github.com/davidanthoff/Electron.jl/blob/a8af976d47ca09cfef9b04276ae8a3f5bfb82678/Artifacts.toml))
- [`ObjectDetector.jl`](https://github.com/r3tex/ObjectDetector.jl) ([`Artifacts.toml`](https://github.com/r3tex/ObjectDetector.jl/blob/023d4e93b83b18ce57a76fee7d90c5c6f3dbba39/Artifacts.toml), [`generate_artifacts.jl`](https://github.com/r3tex/ObjectDetector.jl/blob/023d4e93b83b18ce57a76fee7d90c5c6f3dbba39/dev/artifacts/generate_artifacts.jl))
- [`FIGlet.jl`](https://github.com/kdheepak/FIGlet.jl) ([`Artifacts.toml`](https://github.com/kdheepak/FIGlet.jl/blob/cad3c106ccd5c53afc7250e255825876441e5fa2/Artifacts.toml))

---

_[View the full topic](https://discourse.julialang.org/t/providing-artifacts-basics/35459)._
