Giter Site home page Giter Site logo

vhs_net's Introduction

VHS_NET

VHS_NET is a little messageboard/bbs app written in Sinatra and meant to run on a Raspberry Pi.

screenshot

It uses the BOOTSTRAP.386 css/js library.

After git cloneing the repo and running bundle install, you'll need to set up an admin user:

$ irb
:001 > require './main'
:002 > DataMapper.auto_migrate!
:003 > u = User.new
:004 > u.username = "admin"
:005 > u.password = <YOUR_PASSWORD>
:006 > u.save

Then, fire it up and login! If it's hosted on a Raspberry Pi for your local network, you'll need to add a line in main.rb to bind it to an IP accessible by other web browsers on your network. Sinatra's Configuring Settings page has the necessary instructions for setting the bind, and this doc on the Raspberry Pi site explains how to find your Pi's IP address.

VHS_NET is still a work in progress. It's licensed under the GNU GPL.

vhs_net's People

Contributors

kellyi avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

vhs_net's Issues

don't do this anymore

get '/list/:id' do
redirect to('/four_oh_one') unless session[:admin]
List.get(params[:id]).destroy
redirect to('/list')
end

security stuff

sanitizing/escaping html
avoiding sql injection in datamapper

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.