├── LICENSE ├── README.md └── _config.yml /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2017 Open Satellite Project 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # OpenSatelliteProject 2 | Project Information 3 | TODO: Write this page. 4 | 5 | # Compiling Guide (Ubuntu 16.04) 6 | 7 | That compile guide is a adapted version from @hdoverobinson that was published on gist and OSP Rocket chat. He also created a script to automatically download deps and build OSP! You can check it here: [https://gist.github.com/hdoverobinson/82e3f08c34052d36c92e8db5a027d129](https://gist.github.com/hdoverobinson/82e3f08c34052d36c92e8db5a027d129) 8 | 9 | 1. Download needed dependencies 10 | ```bash 11 | # Create working dir 12 | mkdir -p OSP/deps 13 | mkdir -p OSP/bin 14 | cd OSP/deps 15 | # Add upstream drivers and gnuradio modules from myriadrf 16 | sudo add-apt-repository ppa:myriadrf/drivers -y 17 | sudo add-apt-repository ppa:myriadrf/gnuradio -y 18 | # Add Mono Upstream key 19 | sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF 20 | echo "deb http://download.mono-project.com/repo/debian xenial main" | sudo tee /etc/apt/sources.list.d/mono-xamarin.list 21 | # Update APT Cache 22 | sudo apt-get update 23 | # Install required deps 24 | sudo apt-get -y install libairspy-dev libusb-1.0-0-dev libhackrf-dev libhackrf0 libaec0 libaec-dev mono-complete monodevelop nuget libopenal-dev referenceassemblies-pcl ttf-mscorefonts-installer gtk-sharp3 build-essential git 25 | # Install MonoGame (Not required for Web Version) 26 | wget http://www.monogame.net/releases/v3.5.1/monogame-sdk.run 27 | chmod +x monogame-sdk.run 28 | sudo ./monogame-sdk.run 29 | # Get back to root of OSP folder 30 | cd .. 31 | ``` 32 | 33 | 2. Compiling Demodulator and Decoder 34 | ```bash 35 | # Clone xritdemod repository 36 | git clone https://github.com/opensatelliteproject/xritdemod.git 37 | # Enter on folder 38 | cd xritdemod 39 | # Compile / Install libcorrect 40 | make libcorrect 41 | sudo make libcorrect-install 42 | # Compile / Install libSatHelper 43 | make libSatHelper 44 | sudo make libSatHelper-install 45 | # Compile / Install upstream librtlsdr 46 | make librtlsdr 47 | sudo make librtlsdr-install 48 | # Compile / Test xritdemod 49 | make 50 | make test 51 | # Copy binares to bin folder 52 | cp decoder/build/xritDecoder demodulator/build/xritDemodulator ../bin 53 | # Back to OSP folder 54 | cd .. 55 | ``` 56 | 57 | 3. Compiling Decompressor Lib 58 | That library is needed for decompressing LRIT/HRIT Files. It's a wrapper to `libaec`. 59 | ```bash 60 | # Clone Decompressor repository 61 | git clone https://github.com/opensatelliteproject/decompressor.git 62 | cd decompressor 63 | # Create build folder and makefile scripts 64 | mkdir -p build 65 | cd build 66 | cmake .. 67 | # Build 68 | make 69 | # Install 70 | sudo make install 71 | sudo ldconfig 72 | # Back to OSP Folder 73 | cd ../.. 74 | ``` 75 | 76 | 4. Compiling GOES Dump 77 | ```bash 78 | # Clone goesdump repository 79 | git clone https://github.com/opensatelliteproject/goesdump.git 80 | cd goesdump 81 | # Restore Nuget dependencies 82 | nuget restore goesdump.sln 83 | # Build GOES Dump 84 | mdtool build goesdump.sln -c:Release 85 | # Copy Binaries to binary folder 86 | cp goesdump/bin/Release/* ../bin 87 | # Back to OSP Dir 88 | cd .. 89 | ``` 90 | 91 | 5. Get the Web Interface 92 | 93 | The web interface package can be downloaded here: https://github.com/opensatelliteproject/goesdump/releases/tag/1.0.2-beta named as `goes-web.zip`. Just extract all content under a `web` folder inside `OSP/bin`. 94 | ```bash 95 | # Download it 96 | wget https://github.com/opensatelliteproject/goesdump/releases/download/1.0.2-beta/goesdump-web.zip 97 | mkdir OSP/bin/web -p 98 | 99 | # Extract it 100 | unzip goesdump-web.zip -d OSP/bin/web 101 | ``` 102 | 103 | Now you should have all needed binaries under `OSP/bin` folder. 104 | 105 | # Support 106 | There is a RocketChat page where you can ask questions and suggest features: [https://osp.teske.net.br/](https://osp.teske.net.br/). 107 | 108 | # GOES Dump Configuration File 109 | 110 | Now GOES Dump config file is a SQLite database named `config.db`. All configs can be changed on WebUI and you can also open the `config.db` with [SQLite Browser](http://sqlitebrowser.org/) 111 | 112 | # Configuring Syslog for GOES Dump Headless 113 | 114 | Edit the file `/etc/rsyslog.conf` and find this lines: 115 | ``` 116 | # provides UDP syslog reception 117 | #module(load="imudp") 118 | #input(type="imudp" port="514") 119 | ``` 120 | 121 | Uncomment the last two save and restart rsyslog: 122 | ``` 123 | # provides UDP syslog reception 124 | module(load="imudp") 125 | input(type="imudp" port="514") 126 | ``` 127 | 128 | `service rsyslog restart` 129 | -------------------------------------------------------------------------------- /_config.yml: -------------------------------------------------------------------------------- 1 | theme: jekyll-theme-cayman --------------------------------------------------------------------------------