Go to file
Phil Howard 45aea50f91 Moved SCSS compile out of default build 2016-11-01 22:04:08 +00:00
common Change all the things 2016-11-01 21:21:57 +00:00
draft small tweaks to 4tronix boards 2016-11-01 19:14:59 +00:00
graphics Corrected 3v back to 3v3, doh 2016-09-30 22:26:41 +02:00
resources Change all the things 2016-11-01 21:21:57 +00:00
src Change all the things 2016-11-01 21:21:57 +00:00
tools PEP8 compliant import 2016-09-13 18:27:55 +01:00
.gitignore Change all the things 2016-11-01 21:21:57 +00:00
Makefile Moved SCSS compile out of default build 2016-11-01 22:04:08 +00:00
README.md killed pt - duplicated en but never translated 2016-10-22 14:42:31 +01:00
TODO.md Updated TODO 2015-03-25 00:30:28 +00:00
changelog.md Generate langlist from srcdir 2016-07-27 20:23:05 +01:00
convert.py PEP8 compliant import 2016-09-13 18:27:55 +01:00
data.json misc 2015-06-25 17:02:47 +01:00
generate-html.py Fixed boards page sort order 2016-11-01 22:03:49 +00:00
generate-json.py PEP8 compliant import 2016-09-13 18:27:55 +01:00
make_all.sh Script to build all languages 2015-11-18 13:16:39 +00:00
markjaml.py PEP8 compliant import 2016-09-13 18:27:55 +01:00
pinout.py Change all the things 2016-11-01 21:21:57 +00:00
requirements.txt Requirements to generate html and serve 2016-08-08 17:06:49 +01:00
serve.py PEP8 compliant import 2016-09-13 18:27:55 +01:00
urlmapper.py PEP8 compliant import 2016-09-13 18:27:55 +01:00

README.md

#Pinout.xyz

Creative Commons License

Pinout.xyz is the successor to the popular Pi pinout website originally hosted on http://pi.gadgetoid.com/pinout

To support translation efforts, and allow people to build tools with the data in this repository, Pinout.xyz is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.

This license excludes the file pinout-graphic-horizontal.ai, which is provided under a Creative Commons Attribution-ShareAlike 4.0 International License to permit commercial use; specifically publication in books and magazines with appropriate attribution.

#About this project

This project aims to build a consistent workflow behind the Pinout.xyz front-end, gather useful information about the Raspberry Pi GPIO interface and add-on boards, and invite board manufacturers to produce their own "overlay" files which describe which pins their Pi add-ons use.

We hope that by making this project open and extensible we will invite not only contributions of board pinouts, but translations too.

#Contributing

If you have a board you'd like to contribute, raise an issue and we'll consider it!

If you've spotted an error, ommission or have a suggestion then you're welcome to do the same.

#Translating

The contents of this GitHub repository are used to build http://pinout.xyz and its translated subdomains.

Maintainers: @Gadgetoid and @RogueM

GPIO Zero code examples by: @bennuttall

Notable contributions:

If you would like to provide support for a language not yet in the repository you should start by duplicating the src/en directory to the appropriate language-code. For example, if you want to create a German translation you would create the folder src/de.

There are no plans to support cultures (it would just get out of hand!), so you can't have src/fr-CA ( sorry! ).

Once you've made your translation, build and preview it with, for example:

make serve LANG=de

And then open: http://127.0.0.1:5000 in your browser.

note: if you are facing issues on your preview (card not showing, text update not appearing ...), you can fix it by erasing you browser cache (image and cache file only)

Please do not attempt to translate the /resources folder, this is shared between sites on the server and should be generic.

Feel free to modify the template with links relevant to your country, and / or your Twitter handle, but don't fiddle with the structure!

Submit your finished translation as a pull request and we'll get it live on its own <languagecode>.pinout.xyz subdomain :)

#Roadmap & wishlist

  • Redesign HTML generation and unify HTML templates into a single, translatable file
  • Add functionality to compare two or more boards, to visualise pin compatibility
  • Tool to convert WiringPi to GPIO to BCM and back
  • Add as many boards as possible!