Giter Club home page Giter Club logo

negoto-old-and-busted's Introduction

Negoto Mark III

Negoto is an imageboard.

It is written in Ruby.

It doesn't use Rails.

It is pretty good-looking, if I may say so myself. (But you can change that if you don't like it.)

It tries to be simple.

It doesn't try to be fast. (But that doesn't mean it's slow.)

It is quite small.

>> wc -l *.rb **/*.rb **/**/*.^(rb js haml sass)
    ...
    1644 total

This is the third time I've rewritten it, so it's Mark III.

TL Note: negoto means sleep-talking.

Getting it to run

Install these:

  • Ruby 2.x (possibly 2.3.x)
  • gem (should be bundled with Ruby)
  • SQLite
  • ImageMagick

Then do these:

  1. Run bundle install to install the required gems
  2. Edit negoto.rb (you might need to activate Common Sense 2016 for this)
  3. Run negoto.rb

You should also have these:

  • A few 300โ•ณ100 banners in the public/crests folder
  • A public/assets folder with the following:
    • A 404.jpg file to show on the error page
    • A shuko.svg file to show on the front page
    • A tile.png file as front page background
    • A square spoiler.jpg file as spoiler image

Actually running it

Run negoto.rb. It just werks.

Killing it

If you want to wipe it, just delete db.db, public/thumb and public/src from the data folder.

What it does

All the basic imageboard stuff. It has a front page, a catalog, a thread page, and a readme page. You can post with an image, spoiler, and sage. You can post and get the new posts in a thread without refreshing.

What it doesn't (yet)

Can't ban the twerps and heathens right now. An admin control panel would be easy but it sounds like a pain in the arse. I swear I'll add it one of these days.

Other things

If you're thinking about actually using Negoto, I congratulate you for your taste in imageboard software, but I warn you: you're gonna have to edit a lot of things.

Most settings are hardcoded because I'm too lazy to think of a way to store the configuration, so you're gonna have to read the source code.

It's not hard, there's a little more than 1600 lines of it, counting all the files. I think it's mostly understandable. Except the String.format_post method. I had fun with that one.

I'm available at @steinuil and email and some other things if you need help setting it up.

negoto-old-and-busted's People

Contributors

steinuil avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

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.