Giter Site home page Giter Site logo

tomhiggins / anyfesto Goto Github PK

View Code? Open in Web Editor NEW
73.0 17.0 12.0 14.06 MB

Low cost Raspberry Pi /Linux based access point with audio, education and communications local content server. Inspired by the ideas of sharing with others. Anyfesto - a platform from which to speak.

Home Page: http://anyfesto.com

Shell 8.48% CSS 6.16% PHP 48.87% JavaScript 29.62% HTML 6.87%
hostapd web voip raspberry-pi raspberry chip nextthing webserver calibre vlc-media-player

anyfesto's Introduction

ANYFESTO - A platform from which to speak

Any manifestation of a meeting - in the schools or in the streets - is going to need clear communication. Anyfesto is the toolbox to make that happen.

The Anyfesto Project helps you make easy to setup devices to share your voice, music, knowledge, and passions with others. Low cost hardware and proven Open Source Software makes building a robust communications device affordable and accessible to individuals and community needs.

The base install now includes these features on bootup

  • Web Server

  • Kiwix Wikimedia Server

  • IRC Server and Web Frontend

  • Audio Streaming Server

  • Mumble Voip Server

  • SSH Server

  • The Anyfesto option

    • creates your own local network others can connect to via wifi
    • uses a Captive Portal to direct users web requests to your main web page
    • not being connected to the Internet folks are not exposed to many issues found on it
  • The Localfesto option

    • attaches to an existing network
    • advertises it's services and offerings for others to find
    • can access the Internet where available

Start your Journey

You can start your installation by selecting either the InstallAnyfesto or InstallLocalfesto options above.

Frequently Asked Questions

How Do I Get To The Services?

  • The main web page is on port 80
  • The audio stream can be heard from port 8085
  • The audio stream can be control from port 8088
  • The Wikiedia server is on port 8099
  • The IRC server is on port 6667
  • The IRC Web front end is on port 7778

About

Anyfesto by Tom Higgins is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.

This project draws on the work of many great projects. Software

Debian Linux - https://www.debian.org/

Raspberry PI OS- http://www.raspbian.org/

VLC - https://github.com/videolan/vlc

IRCd-Hybrid - http://www.ircd-hybrid.org/

KiwiIRC - https://kiwiirc.com/

Bootstrap - http://getbootstrap.com/

Mumble - https://wiki.mumble.info/wiki/Main_Page

Kiwix - http://www.kiwix.org/

Kolibri - https://learningequality.org/kolibri/

Tor Project - https://www.torproject.org/

m3uStreamPlayer - https://github.com/opi/m3uStreamPlayer

PIrateRadio - https://github.com/Make-Magazine/PirateRadio

Hardware

RaspberryPi - https://www.raspberrypi.org/

CHIP - https://getchip.com/

Adafruit - https://www.adafruit.com/

anyfesto's People

Contributors

philipsd6 avatar tomhiggins avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

anyfesto's Issues

Initial Playlist Creation Sometimes Fails.

On one or two of my recent test builds the /home/pi/content/playlist.m3u files was not created on the first boot up. I have had to make an empty playlist.m3u and all works thereafter. Permissions? Will check into this some more.

Initial Install of isc-dhcp-server Fails

setting up isc-dhcp-server (4.4.1-2) ...
Generating /etc/default/isc-dhcp-server...
Job for isc-dhcp-server.service failed because the control process exited with error code.
See "systemctl status isc-dhcp-server.service" and "journalctl -xe" for details.
invoke-rc.d: initscript isc-dhcp-server, action "start" failed.
โ— isc-dhcp-server.service - LSB: DHCP server
Loaded: loaded (/etc/init.d/isc-dhcp-server; generated)
Active: failed (Result: exit-code) since Sat 2020-08-08 00:36:22 CDT; 149ms ago
Docs: man:systemd-sysv-generator(8)
Process: 13976 ExecStart=/etc/init.d/isc-dhcp-server start (code=exited, status=1/FAILURE)

Aug 08 00:36:20 AnyfestoPi dhcpd[13988]: bugs on either our web page at www.isc.org or in the README file
Aug 08 00:36:20 AnyfestoPi dhcpd[13988]: before submitting a bug. These pages explain the proper
Aug 08 00:36:20 AnyfestoPi dhcpd[13988]: process and the information we find helpful for debugging.
Aug 08 00:36:20 AnyfestoPi dhcpd[13988]:
Aug 08 00:36:20 AnyfestoPi dhcpd[13988]: exiting.
Aug 08 00:36:22 AnyfestoPi isc-dhcp-server[13976]: Starting ISC DHCPv4 server: dhcpdcheck syslog for diagnostics. ... failed!
Aug 08 00:36:22 AnyfestoPi isc-dhcp-server[13976]: failed!
Aug 08 00:36:22 AnyfestoPi systemd[1]: isc-dhcp-server.service: Control process exited, code=exited, status=1/FAILURE
Aug 08 00:36:22 AnyfestoPi systemd[1]: isc-dhcp-server.service: Failed with result 'exit-code'.
Aug 08 00:36:22 AnyfestoPi systemd[1]: Failed to start LSB: DHCP server.

Flask server for configuration and landing page

Hello there! Long time since last commit.

What about having Flask to serve the index.html page and also do some configuration changes by a setup.html page for changing all possible option e.g. IP, language, country and so on.

I can help with it and I guess that it will make the application to be more adaptable for the users' needs.

I'm here if you want me to help out.

Regards.

Possible way to remove the previous internet access

Hey! me again.

Before running the installer (CHIPinstaller.sh) on the CHIP I connect through sudo nmtui command and after installation was done I got this message:

-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
Installation Complete...Preparing To Reboot
-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
Press any key to reboot the CHIP.
sudo: unable to resolve host chip
sudo: unable to resolve host chip
Created symlink from /etc/systemd/system/multi-user.target.wants/vlc.service to /etc/systemd/system/vlc.service.
sudo: unable to resolve host chip
Created symlink from /etc/systemd/system/multi-user.target.wants/kiwix.service to /etc/systemd/system/kiwix.service.
sudo: unable to resolve host chip
Created symlink from /etc/systemd/system/multi-user.target.wants/kiwiirc.service to /etc/systemd/system/kiwiirc.service.
sudo: unable to resolve host chip
sudo: unable to resolve host chip
sudo: unable to resolve host chip
sudo: unable to resolve host chip
sudo: unable to resolve host chip
Error: unknown connection: Sant
Error: cannot delete unknown connection(s): 'Sant'.
sudo: unable to resolve host chip
sudo: unable to resolve host chip
sudo: unable to resolve host chip
sudo: unable to resolve host chip
sudo: unable to resolve host chip

Note the part where is says Error: cannot delete unknown connection(s): 'Sant'.
Might it be due to having blank space on the name of the SSID?

Is there a way to solve this?
Regards.

Text chat not connecting

Hey I finally got it to work! :)

I'm trying to get around to it but there are some things that are not working for me.

The landing page is fully displayed in some cases (I've opened an issue explaining it ----> #10)
When I click on the Enter Text Chat >> button it redirects me to 10.11.99.1:7778 and I get an error saying Site not available

Can you please help me out here?

Regards.

Is there a suggested configuration for a newb?

I want to put an Anyfesto box in my office to serve the park across the street, a range of about 100 yards. I won't use it for anything but this purpose.

Suggestions on the RPI configuration?

I'm aiming to spend $50 or less.

Index.html in Spanish

Hey there! I have modified the Index.html to be on Spanish if you want to add it to the Repo, if you desired I can make a Pull Request so you have that the latest changes.

Those modification I'm talking is also changing a bit the buttons but it can be leave as the original design.

Here you have a preview of how it looks like:
b c

Regards.

version also.

Why Is The IP Not Variable

Dear lord Tom, in this day and age....hard coding the IP?
For the love of all that is good, fix plez.

Problem trying to execute the installer

Hey there! Great project.

I tried installing everything from the CHIPinstaller.sh and the first installed was terrible since it didn't take the files from your repository due to a missing or false certificate here I have attached the logs.
installationAnyfesto.txt

In order to get the files I have modified the CHIPinstaller.sh where it had the wget command to wget --no-check-certificate and it seems to be installed on the CHIP.

After two reboot it showed the AP on my phone and I can see the site.

Regards

Redirection problem with some sites

Hey @tomhiggins.

After successfully installing Anyfesto there are some pages that are not redirected to the main page.

URL Redirect Error
http://www.google.com Yes None
http://www.raspberry.org Yes None
http://www.raspberry.org/blog/ No Cannot connect
http://www.instructables.com/category/technology/ No 404 - not found
https://www.thingiverse.com No Cannot connect

I guess this is an issue with the captive portal where the regex does not take into account https and the end of an URL.

I guess we might need to change this into something like \b.*(?<![0-9])

You can check if it works in here: (https://regex101.com/)[https://regex101.com/]

URLs that I use to test:

www.demo.com
http://foo.co.uk/
http://regexr.com/foo.html?q=bar
https://mediatemple.net/
http:10.99.11.1:19485
https://www.mediatemple.net/
google.com

Regards.

USB to Serial connection broken after executing installer

Hello there!

I have discovered that after rebooting the CHIP two times after installing all needed software trough CHIPinstaller.sh I cannot reconnect to the CHIP via putty and I can hear and see on the Device Manager that the CHIP is connecting and reconnecting to the computer.

Has this happened to you previously?

Regards.

Request: CHiP Mesh

I just discovered this PirateBox post ...

https://piratebox.cc/raspberry_pi:mods:mesh

Given that CHiP has 2 built-in wlan (instead of having to use a USB dongle like a RPi), I would think it possible to make mesh an option for communication between nodes -- and easier considering it consistent chipset for all original Pocket/CHiPs (not CHiP Pro).

This should make it possible for local mesh with P2P between nodes.

I'm looking into the use case for larger off grid sites to have a several (solar/battery) powered CHiP network folks can connect their phones and tablets to for BBS, media library, WebChat (IRC), etc.

It will likely be a while before I make any progress due to end of year holidays.

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.