# Links to source code of libraries

**URL:** <https://forum.xod.io/t/links-to-source-code-of-libraries/4009>\
**Category:** XOD Ideas & Discussions\
**Created:** [May 24, 2020, 12:30pm UTC](https://forum.xod.io/t/links-to-source-code-of-libraries/4009 "2020-05-24T12:30:06Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![bartek-wolowiec](https://avatars.discourse-cdn.com/v4/letter/b/ce73a5/32.png) [@bartek-wolowiec](https://forum.xod.io/u/bartek-wolowiec)\
**Post date:** [May 24, 2020, 12:30pm UTC](https://forum.xod.io/t/links-to-source-code-of-libraries/4009/1 "2020-05-24T12:30:06Z")

</div>

Is there an easy way to access source from library documentation ?

I’m thinking about how from [docs](https://xod.io/libs/xod/uart/uart-0/) get to [github](https://github.com/xodio/xod/tree/master/workspace/ __lib__ /xod/uart/uart-0).

I love to dig into details of some libraries, as this helps to understand the entire system better and also assess 3rd party library quality.

I was looking to contribute such link into doc page, but it looks like library documentation page is not open sourced (at least I didn’t find the source).

---

<div class="post-metadata">

**Author:** ![gweimer](https://avatars.discourse-cdn.com/v4/letter/g/a9adbd/32.png) [@gweimer](https://forum.xod.io/u/gweimer)\
**Post date:** [May 24, 2020, 5:20pm UTC](https://forum.xod.io/t/links-to-source-code-of-libraries/4009/2 "2020-05-24T17:20:40Z")

</div>

Not real sure what you are looking for here… XOD docs are in GitHub with a link to edit at the bottom of each page. XOD libraries are XOD code that don’t make much sense outside of XOD. You can see code by adding library in XOD and opening the nodes. For wrappers of IDE libraries, you could add link to IDE source in the library description.

---

<div class="post-metadata">

**Author:** ![bartek-wolowiec](https://avatars.discourse-cdn.com/v4/letter/b/ce73a5/32.png) [@bartek-wolowiec](https://forum.xod.io/u/bartek-wolowiec)\
**Post date:** [May 24, 2020, 6:18pm UTC](https://forum.xod.io/t/links-to-source-code-of-libraries/4009/3 "2020-05-24T18:18:58Z")

</div>

Thanks for the quick answer.

What I’m trying to achieve is a quick evaluation/comparison of multiple libraries implementing the same functionality (It would be great to have ‘usage count’ or something, but this is probably a more complex story…). Let’s say I would like to use ws2812 (a.k.a. neopixel) in my project. So searching for some nodes you can find four different implementations: [https://xod.io/libs/?q=neopixel](https://xod.io/libs/?q=neopixel). I’m looking for a quick solution to check them without adding all of them to the project. My idea for doing it: let’s check quickly implementation on the github.

But ok, I understand - the main workflow you suggest is to just add all 4 to the current project and check them inside xod ide. It’s ok 🙂

XOD docs are on GitHub, but is the source code that generates [https://xod.io/libs/](https://xod.io/libs/) open sourced ?

---

<div class="post-metadata">

**Author:** ![nkrkv](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.xod.io/nkrkv/32/8_2.png) [@nkrkv](https://forum.xod.io/u/nkrkv)\
**Post date:** [May 25, 2020, 7:31am UTC](https://forum.xod.io/t/links-to-source-code-of-libraries/4009/4 "2020-05-25T07:31:54Z")

</div>

Hello! Yep, the site engine is not open-sourced. But I understand what you’re talking about. There was an idea to attach C++ implementation to the docs page if the node is written in C++, and attach a screenshot if it is composed in XOD. The latter is technically complex (we still have no feature to get a screenshot programmatically), so the former isn’t here as well.

Perhaps, we’d better just include C++ in the docs pages and leave the screenshots feature for the future.

---

<div class="post-metadata">

**Author:** ![bartek-wolowiec](https://avatars.discourse-cdn.com/v4/letter/b/ce73a5/32.png) [@bartek-wolowiec](https://forum.xod.io/u/bartek-wolowiec)\
**Post date:** [May 26, 2020, 7:00pm UTC](https://forum.xod.io/t/links-to-source-code-of-libraries/4009/5 "2020-05-26T19:00:50Z")

</div>

That’s sum up the topic very well. Thanks!

---

<div class="post-metadata">

**Author:** ![nkrkv](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.xod.io/nkrkv/32/8_2.png) [@nkrkv](https://forum.xod.io/u/nkrkv)\
**Post date:** [May 28, 2020, 4:11pm UTC](https://forum.xod.io/t/links-to-source-code-of-libraries/4009/6 "2020-05-28T16:11:50Z")

</div>

Done! See [https://xod.io/libs/xod/math/cos/](https://xod.io/libs/xod/math/cos/) for an example

---

<div class="post-metadata">

**Author:** ![bartek-wolowiec](https://avatars.discourse-cdn.com/v4/letter/b/ce73a5/32.png) [@bartek-wolowiec](https://forum.xod.io/u/bartek-wolowiec)\
**Post date:** [May 29, 2020, 7:17pm UTC](https://forum.xod.io/t/links-to-source-code-of-libraries/4009/7 "2020-05-29T19:17:05Z")

</div>

Wooow! Awsome! Thanks a lot.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex027/uploads/xod/original/1X/eb7348baa04192c2ef932d1db54d44f09f8a7888.png) [@system](https://forum.xod.io/u/system)\
**Post date:** [May 31, 2020, 7:17pm UTC](https://forum.xod.io/t/links-to-source-code-of-libraries/4009/8 "2020-05-31T19:17:05Z")

</div>

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.
