Giter Site home page Giter Site logo

freifunk-berlin / falter-firmware-selector Goto Github PK

View Code? Open in Web Editor NEW

This project forked from mwarning/openwrt-firmware-selector

1.0 3.0 2.0 4.56 MB

Freifunk Berlin Fork of OpenWrt Firmware Selector. Modifications are in branch 'falter_stable'

Home Page: http://selector.berlin.freifunk.net/

License: Creative Commons Zero v1.0 Universal

Python 16.20% HTML 16.51% JavaScript 43.86% CSS 20.70% Shell 2.73%

falter-firmware-selector's Introduction

OpenWrt Firmware Selector

A simple OpenWrt firmware selector using autocompletion. Uses plain HTML/CSS/JavaScript. Checkout the Demo.

This is a Fork/Mirror of the official OpenWrt version, but without OpenWrt specific changes like the feedback link and continuous integration scripts.

image

Quick Run

  • Download the sources and change the working directory
  • Start webserver (e.g. python3 -m http.server)
  • Go to http://localhost:8000/www/ in your web browser

Configure with config.js.

Installation

Place the www/ folder somewhere web accessible. Then use the collect.py script to update www/config.json and to write all device data into www/data/:

./misc/collect.py https://downloads.openwrt.org  www/

or for local accessible OpenWrt builds:

./misc/collect.py ~/openwrt/bin  www/

This should do it!

Settings image_url and info_url can also be passed to misc/collect.py to be included in the version specific overview.json files instead of config.json:

  • --image-url: Download link template for the image files.
  • --info-url: Link template that points to additional information.
  • --version-pattern: Only handle release versions that match a regular expression.

Variables:

  • {version}: Version in the profiles.json files. E.g. 19.07.4 or SNAPSHOT.
  • {id}: Device identifier. E.g. tplink_archer-c7-v2
  • {target}: Main- and sub target, E.g. ath79/generic.
  • {base}: Distinct path to the targets directory. E.g. releases/18.06.8/targets/
    Handled by misc/collect.py only!

Generate OpenWrt JSON

The collect.py script merges data from profile.json files generated by OpenWrt. To enable generation, go to the build settings (make menuconfig): Global build settings ---> [*] Create JSON info files per build image.

If the option is not available (OpenWrt 18.06 or 19.07.3), apply commit openwrt/openwrt@881ed09.

Attended SysUpgrade (ASU)

ASU is a build server that builds OpenWrt images with a given list of packages on request. The firmware-selector can be used as an interface to send these requests and to download the images when finished.

UCI-Defaults

The Firmware Selector allows to define a script to be placed in the /etc/uci-defaults/ folder of the OpenWrt image. These scripts are executed once on the first reboot and then deleted. See the OpenWrt documentation on this topic.

Translations

Visit weblate.org to contribute new translations or to improve them.

Similar Projects

falter-firmware-selector's People

Contributors

1715173329 avatar amirajoodani avatar aparcar avatar arihid avatar castillofrancodamian avatar choryuidentify avatar comradekingu avatar cristianvdr avatar efimovib avatar hulen avatar k-marios avatar kintelix avatar mans0n avatar matthaiks avatar maycoh avatar moonlightz avatar mwarning avatar obsy avatar oersen avatar richb-hanover avatar rogerpueyo avatar santossi avatar simonaiacob avatar sinancetinkaya avatar somnisomni avatar umeaboy avatar viking76 avatar wtuemura avatar xtz1983 avatar ynezz avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

falter-firmware-selector's Issues

Selector shows wrong checksums

The selector shows wrong checksums for the images. In fact, it shows the checksums of only one image-type, even if we select the other one. So at least for half of the images, there get correct checksums displayed.

when this bug is fixed, we can drop e7fe664

Different names for tunneldigger and direct out images

Hi, I would like to download the different images to play around with them.

When I choose tunneldigger, I get this link and the next one is notunnel.

https://firmware.berlin.freifunk.net/stable/1.2.2/notunnel/ath79/generic/
    openwrt-21.02.3-freifunk-falter-1.2.2-ath79-generic-tplink_tl-wdr4300-v1-squashfs-sysupgrade.bin
https://firmware.berlin.freifunk.net/stable/1.2.2/tunneldigger/ath79/generic/
    openwrt-21.02.3-freifunk-falter-1.2.2-ath79-generic-tplink_tl-wdr4300-v1-squashfs-sysupgrade.bin

The image names are identical but I would like to read them like this:

https://firmware.berlin.freifunk.net/stable/1.2.2/notunnel/ath79/generic/
    openwrt-21.02.3-freifunk-falter-1.2.2-ath79-generic-tplink_tl-wdr4300-v1-squashfs-sysupgrade-notunnel.bin
https://firmware.berlin.freifunk.net/stable/1.2.2/tunneldigger/ath79/generic/
    openwrt-21.02.3-freifunk-falter-1.2.2-ath79-generic-tplink_tl-wdr4300-v1-squashfs-sysupgrade-tunneldigger.bin

Add firmware selector link for old firmwares

Would it be possible to add links to the bottom with something like "view older releases" which then brings up a page of links for kathleen, hedy, falter 1.1.X? Then it would be really nice if each of those had it's own "selector" page.

I think this would be good for us to keep separate from the up-to-date and snapshot images. It keeps the main selector page free from unneeded clutter. But at the same time provides a constant interface for people to be able to download old firmware versions.

@mwarning @Akira25

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.