-
Notifications
You must be signed in to change notification settings - Fork 281
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add script for dumping all repositories on github.com mentioned in th…
…is awesome list
- Loading branch information
Showing
3 changed files
with
335 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
archive/* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,221 @@ | ||
https://github.com/jgamblin/CarHackingTools | ||
https://github.com/CaringCaribou/caringcaribou | ||
https://github.com/brent-stone/CAN_Reverse_Engineering | ||
https://github.com/daedalus/carhacking | ||
https://github.com/Cyberdefence-Lab-Murcia/ReCAN | ||
https://github.com/v-ivanyshyn/parse_can_logs | ||
https://github.com/linklayer/reversegear | ||
https://github.com/schutzwerk/CANalyzat0r | ||
https://github.com/CANToolz/CANToolz | ||
https://github.com/collin80/GVRET | ||
https://github.com/zombieCraig/UDSim | ||
https://github.com/zombieCraig/uds-server | ||
https://github.com/KartheekLade/CANalyse | ||
https://github.com/kentindell/canhack | ||
https://github.com/adamtheone/canDrive | ||
https://github.com/souravbaghz/Carpunk | ||
https://github.com/souravbaghz/CANghost | ||
https://github.com/shipcod3/canTot | ||
https://github.com/renault/cananalyze | ||
https://github.com/secdev/scapy | ||
https://github.com/openvehicles/CAN-RE-Tool | ||
https://github.com/Tbruno25/can-explorer | ||
https://github.com/lbenthins/ecu-simulator | ||
https://github.com/Ircama/ELM327-emulator | ||
https://github.com/cedricp/ddt4all | ||
https://github.com/qnx425/ELM327SLCAN | ||
https://github.com/v-ivanyshyn/Arduino-OBD2-Async | ||
https://github.com/quantyle/CAN-Shark | ||
https://github.com/AustinMurphy/OBD2-Scantool | ||
https://github.com/fenugrec/freediag | ||
https://github.com/linklayer/pyvit | ||
https://github.com/pylessard/python-udsoncan | ||
https://github.com/openxc/uds-c | ||
https://github.com/driftregion/iso14229 | ||
https://github.com/openxc/isotp-c | ||
https://github.com/pylessard/python-can-isotp | ||
https://github.com/Sauci/CanTp | ||
https://github.com/christiansandberg/aioisotp | ||
https://github.com/taha842/J1939-CANBUS | ||
https://github.com/famez/J1939-Framework | ||
https://github.com/milhead2/python-j1939 | ||
https://github.com/kurt-vd/can-utils/tree/j1939-v6 | ||
https://github.com/kurt-vd/test-can-j1939 | ||
https://github.com/paoloteti/libj1939 | ||
https://github.com/nmfta-repo/pretty_j1939 | ||
https://github.com/LittleBlondeDevil/TruckDevil | ||
https://github.com/juergenH87/python-can-j1939 | ||
https://github.com/DanielMartensson/Open-SAE-J1939 | ||
https://github.com/ZacharyWalsh57/JCanalog | ||
https://github.com/brandonros/j2534-tcp | ||
https://github.com/MEAT-Inc/SharpWrap2534 | ||
https://github.com/roffe/gocanflasher | ||
https://github.com/mwkpe/cantools | ||
https://github.com/rbei-etas/busmaster | ||
https://github.com/AleksandarFilipov/signalbroker-server | ||
https://github.com/Hive13/CANiBUS/ | ||
https://github.com/linux-can/can-utils | ||
https://github.com/linux-can/can-utils/blob/master/can-j1939-install-kernel-module.md | ||
https://github.com/norly/elmcan | ||
https://github.com/hartkopp/can-isotp | ||
https://github.com/ryedwards/gs_usb | ||
https://github.com/GENIVI/CANdevStudio | ||
https://github.com/rusoku/CANAL-View | ||
https://github.com/KruFFT/wxCAN-Sniffer | ||
https://github.com/olegel/CANLogger | ||
https://github.com/SeeedDocument/USB-CAN-Analyzer/ | ||
https://github.com/linklayer/cantact-app | ||
https://github.com/collin80/SavvyCAN | ||
https://github.com/sebi2k1/openCanSuite | ||
https://github.com/smartgauges/obd2-bt-stm32/tree/master/qt | ||
https://github.com/zombieCraig/ICSim | ||
https://github.com/HubertD/cangaroo | ||
https://github.com/karlyamashita/CAN-X | ||
https://github.com/tixiv/CAN-Monitor-qt | ||
https://github.com/amund7/CANBUS-Analyzer | ||
https://github.com/SeppHansen/SLSS-CANAnalyser | ||
https://github.com/TOSUN-Shanghai/TSMaster | ||
https://github.com/TDahlmann/canpp | ||
https://github.com/MHS-Elektronik/CANcool | ||
https://github.com/dschanoeh/Kayak | ||
https://github.com/facontidavide/PlotJuggler | ||
https://github.com/PlotJuggler/plotjuggler-CAN-dbs | ||
https://github.com/DanielMartensson/OpenSourceLogger | ||
https://github.com/cantools/cantools | ||
https://github.com/hardbyte/python-can | ||
https://github.com/jmscslgroup/strym | ||
https://github.com/tsabelmann/canviewer | ||
https://github.com/caran/can4python | ||
https://github.com/hmq2018/Python-Vector-CANoe | ||
https://github.com/atlas0fd00m/CanCat | ||
https://github.com/bhass1/pyfuzz_can | ||
https://github.com/nopnop2002/Robotell-USB-CAN-Python | ||
https://github.com/P1kachu/python-socketcan-monitor | ||
https://github.com/tbruno25/canopy | ||
https://github.com/Prindl/PythonVectorXL | ||
https://github.com/SikkandarSulaiman/py4can | ||
https://github.com/mguentner/cannelloni | ||
https://github.com/mwkpe/tincan | ||
https://github.com/ovravna/pican | ||
https://github.com/m10k/canny | ||
https://github.com/alexmohr/usb-can | ||
https://github.com/chalmers-revere/opendlv-device-can-replay | ||
https://github.com/zombieCraig/c0f/ | ||
https://github.com/kurt-vd/canqv | ||
https://github.com/elliotwoods/Candle.NET | ||
https://github.com/zainahm3d/canSerializer | ||
https://github.com/nisennenmondai/libwecan | ||
https://github.com/TheMatjaz/VCAN | ||
https://github.com/tonton81/IMCTFD | ||
https://github.com/linklayer/go-socketcan | ||
https://github.com/pschichtel/JavaCAN | ||
https://github.com/devcoons/iso15765-canbus | ||
https://github.com/craigpeacock/CAN-Examples | ||
https://github.com/zhanglongqi/socketcan-demo | ||
https://github.com/commaai/cabana | ||
https://github.com/julietkilo/kcd | ||
https://github.com/eerimoq/cantools | ||
https://github.com/aheit/cantools | ||
https://github.com/skysky97/Candb | ||
https://github.com/ebroecker/canmatrix | ||
https://github.com/julietkilo/CANBabel | ||
https://github.com/caran/can4python | ||
https://github.com/howerj/dbcc | ||
https://github.com/jobgeodev/convert_dbc_to_cpp_file | ||
https://github.com/xR3b0rn/dbcppp | ||
https://github.com/CSS-Electronics/can_decoder | ||
https://github.com/GENIVI/CANdb | ||
https://github.com/msalau/dbc-parser | ||
https://github.com/kdschlosser/vector_dbc | ||
https://github.com/autti/dbc_reader | ||
https://github.com/akshaych92/CAN_BUS_DBC_VIEWER | ||
https://github.com/driftregion/dbcview | ||
https://github.com/Golyshkin/VectorDbcChecker | ||
https://github.com/Sauci/pydbc | ||
https://github.com/christoph2/pydbc | ||
https://github.com/RudolphRiedel/USB_CAN-FD | ||
https://github.com/jgressmann/supercan | ||
https://github.com/collin80/FlexCAN_Library | ||
https://github.com/ObdDiag-Net/allpro | ||
https://github.com/arturlangner/Open-OBD2-datalogger | ||
https://github.com/596142041/CANBootloader-Qt | ||
https://github.com/commaai/panda | ||
https://github.com/adamczykpiotr/STM32duino_CAN_Library | ||
https://github.com/moonglow/pcan_pro_x | ||
https://github.com/mxcd/CANnon | ||
https://github.com/suburbanembedded/hadoucan-fw | ||
https://github.com/DDolphin/CANCAN | ||
https://github.com/timsonater/stm32-CAN-bus-example-HAL-API | ||
https://github.com/kolyandex/CAN-to-USB-lawicel-for-stm32 | ||
https://github.com/walmis/stm32-slcan | ||
https://github.com/linklayer/cantact-pro-hw | ||
https://github.com/linklayer/cantact-pro-fw | ||
https://github.com/IvanDev2018/STM32-CAN-Busadapter | ||
https://github.com/MikhailBerezhanov/cncu-01 | ||
https://github.com/Oktay97/Canbus_Uart | ||
https://github.com/nopnop2002/Arduino-STM32-CAN | ||
https://github.com/exothink/eXoCAN | ||
https://github.com/damienmaguire/CAN-BUS-Man-In-The-Middle | ||
https://github.com/seeers/CAN-Bus-Arduino_Core_STM32/blob/master/CanLowlevel.ino | ||
https://github.com/ryedwards/budgetcan_fw | ||
https://github.com/ryedwards/BUDGETCANFD_G0-Hardware | ||
https://github.com/IntergatedCircuits/CanDybugFW | ||
https://github.com/cvra/CAN-USB-dongle-fw | ||
https://github.com/Zubax/zubax_babel | ||
https://github.com/YuriyLogvin/CAN-RS485-adapter | ||
https://github.com/moonglow/vector_can | ||
https://github.com/zjlywjh001/CAN_OMEGA | ||
https://github.com/zjlywjh001/CAN_Omega_Firmware | ||
https://github.com/zjlywjh001/CAN_OMEGA_Tools | ||
https://github.com/candle-usb/candleLight_fw | ||
https://github.com/majbthrd/CANsniffer | ||
https://github.com/HubertD/candleLight | ||
https://github.com/linklayer/cantact-hw | ||
https://github.com/linklayer/cantact-fw | ||
https://github.com/linklayer/cantact/ | ||
https://github.com/roboterclubaachen/usb2can | ||
https://github.com/kkuchera/canalyze-fw | ||
https://github.com/x893/cantact-fw | ||
https://github.com/ObdDiag-Net/elm329 | ||
https://github.com/autosportlabs/OBD2CAN | ||
https://github.com/moonglow/pcan_cantact | ||
https://github.com/moonglow/kvaser_cantact | ||
https://github.com/autowp/arduino-canhacker | ||
https://github.com/fabiobaltieri/open-usb-can | ||
https://github.com/DieselDuz42/Arduino-CAN-bus-SD-logger | ||
https://github.com/latonita/arduino-canbus-monitor | ||
https://github.com/ludwig-v/arduino-psa-comfort-can-adapter | ||
https://github.com/srenner/epasuino | ||
https://github.com/srenner/carfuino | ||
https://github.com/rnd-ash/W203-canbus | ||
https://github.com/CANBus-Triple/CANBus-Triple-Hardware | ||
https://github.com/CANBus-Triple/CANBus-Triple | ||
https://github.com/collin80/GVRET | ||
https://github.com/autowp/arduino-mcp2515 | ||
https://github.com/kahiroka/slcanuino | ||
https://github.com/BXProject/CITM02 | ||
https://github.com/sandeepmistry/arduino-OBD2 | ||
https://github.com/ihaque/arduino-ecu-logger | ||
https://github.com/nopnop2002/esp-idf-CANBus-Monitor | ||
https://github.com/marmotton/connected-car | ||
https://github.com/morcibacsi/PSASteeringWheelAdapter | ||
https://github.com/mintynet/esp32-slcan | ||
https://github.com/Pacerino/TWAI_SLCAN | ||
https://github.com/mintynet/esp32-slcan | ||
https://github.com/miwagner/ESP32-Arduino-CAN | ||
https://github.com/collin80/ESP32RET | ||
https://github.com/PhilippFux/ESP32_CAN_Interface | ||
https://github.com/vigoballak/esp32_canbus_gateway | ||
https://github.com/neg2led/esp32-cantroller | ||
https://github.com/scipioni/esp32-canbus-logger | ||
https://github.com/Cellgalvano/ESP32_CANViewer | ||
https://github.com/nopnop2002/esp-idf-can2http | ||
https://github.com/limiter121/esp32-obd2-emulator | ||
https://github.com/MagnusThome/RejsaCAN-ESP32 | ||
https://github.com/BlueAndi/beaglebone_black_socketcan | ||
https://github.com/JonnoFTW/rpi-can-logger | ||
https://github.com/SushiBits/CANoPi | ||
https://github.com/rkollataj/mcba_firmware | ||
https://github.com/rkollataj/mcba_usb | ||
https://github.com/mvollrath/canbus_bbone_stm32 | ||
https://github.com/darkspr1te/elm327_clone |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,113 @@ | ||
#!/bin/bash | ||
####################################################################################### | ||
## Project : Awesome Tools, Hardware And Resources For CAN Bus | ||
## Designer : Dmitry Murzinov ([email protected]) | ||
## Link : https://github.com/iDoka/awesome-canbus | ||
## Module : -//- | ||
## Description: dumping all repositories on github.com mentioned in this awesome list | ||
## by default git clone last commit for saving disk space, if you need | ||
## whole history please change variable GIT_OPTS bellow. | ||
## Usage : ./archive-for-all-urls.sh | ||
## Revision : 1.0 | ||
## Date : 20-oct-2023 | ||
## License : MIT | ||
####################################################################################### | ||
|
||
######################################################### | ||
# TODO: add archive folder to .gitignore | ||
# TODO: use chapter name as a part of folder name | ||
# need to proper parsing README's markdown for that | ||
######################################################### | ||
|
||
###### Tested with folowing versions: | ||
# pandoc 3.1.8 | ||
# hjson v4.3.0 | ||
# yq v4.35.2 | ||
# grep 3.1 | ||
# sed 4.4 | ||
# cut 8.28 | ||
# bash version 4.4.20 | ||
# git version 2.24.0 | ||
###### | ||
|
||
# Green start and green end markers | ||
GS='\033[1;92m' | ||
GE='\033[0;39m' | ||
|
||
DIR=archive | ||
DELIMITER="+" | ||
|
||
#GIT_OPTS="" | ||
GIT_OPTS="--depth=1" | ||
|
||
FILE_MD=README.md | ||
FILE_URL=README.url | ||
|
||
#MD2URL="pandoc -f markdown -t json ${FILE_MD} | hjson -j | yq eval -p json -o yaml --prettyPrint | grep -iv idoka | grep \'github.com\' | sed \'s/^[ \t]*//\' | cut -d\' \' -f3 > ${FILE_URL}" | ||
|
||
# checking file existence (Markdown) | ||
if [[ ! -f ${FILE_MD} ]] | ||
then | ||
echo -e "${GS}${FILE_MD} doesn't exists. Exit...${GE}" | ||
exit 1 | ||
else | ||
echo -e "${GS}${FILE_MD} exists. Great!${GE}" | ||
fi | ||
|
||
## Only for contributors: generating file with URLs | ||
# checking file existence (URL) | ||
if [[ -f ${FILE_URL} ]] | ||
then | ||
# checking modification date | ||
DATE_MD=$(date '+%s' -d "@$( stat -c '%Y' "${FILE_MD}"; )") | ||
DATE_URL=$(date '+%s' -d "@$( stat -c '%Y' "${FILE_URL}"; )") | ||
#echo -e "${DATE_MD} \n${DATE_URL}" | ||
if [ "${DATE_MD}" -gt "${DATE_URL}" ] | ||
then | ||
echo -e "${GS}Updating ${FILE_URL}....${GE}" | ||
pandoc -f markdown -t json ${FILE_MD} | \ | ||
hjson -j | \ | ||
yq eval -p json -o yaml --prettyPrint | \ | ||
grep -iv idoka | \ | ||
grep 'github.com' | \ | ||
sed 's/^[ \t]*//' | \ | ||
cut -d' ' -f3 > ${FILE_URL} | ||
else | ||
echo -e "${GS}${FILE_URL} already updated. Skip updating${GE}" | ||
fi | ||
else | ||
echo -e "${GS}Creating ${FILE_URL}....${GE}" | ||
pandoc -f markdown -t json ${FILE_MD} | \ | ||
hjson -j | \ | ||
yq eval -p json -o yaml --prettyPrint | \ | ||
grep -iv idoka | \ | ||
grep 'github.com' | \ | ||
sed 's/^[ \t]*//' | \ | ||
cut -d' ' -f3 > ${FILE_URL} | ||
#pandoc -f markdown -t json ${FILE_MD} | hjson -j | yq eval -p json -o yaml --prettyPrint | grep -iv idoka | grep 'github.com' | sed 's/^[ \t]*//' | cut -d' ' -f3 > ${FILE_URL} | ||
fi | ||
|
||
|
||
# creation archive folder | ||
mkdir -p ${DIR} | ||
|
||
### main cycle; cloning repo if not existed, otherwise pulling changes | ||
for url in $(cat ${FILE_URL}) | ||
do | ||
USER=$(echo "${url}" | cut -d'/' -f4) | ||
REPO=$(echo "${url}" | cut -d'/' -f5) | ||
if [[ -d "${DIR}/${USER}${DELIMITER}${REPO}" ]] | ||
then | ||
echo -e "${GS}The repository ${url} already cloned. Checking for updates...${GE}" | ||
cd "${DIR}/${USER}${DELIMITER}${REPO}" | ||
git pull ${url} | ||
# FIXME: replace ../.. to more versatile variant | ||
cd ../.. | ||
else | ||
echo -e "${GS}Cloning the repository ${url}...${GE}" | ||
git clone ${GIT_OPTS} "${url}" "${DIR}/${USER}${DELIMITER}${REPO}" | ||
fi | ||
done | ||
|
||
echo -e "${GS}Finished!${GE}" | ||
|