All Projects → kawa-kokosowa → staticfuzz

kawa-kokosowa / staticfuzz

Licence: other
Memories which vanish

Programming Languages

python
139335 projects - #7 most used programming language
HTML
75241 projects
CSS
56736 projects

Projects that are alternatives of or similar to staticfuzz

iyagi-bbs
Python web board system (textboard, CGI, flatfile)
Stars: ✭ 18 (+20%)
Mutual labels:  imageboard, forum
Snek
See https://github.com/inconvergent/weir instead
Stars: ✭ 696 (+4540%)
Mutual labels:  art, experimental
generative
A digital playground for experimenting with creative coding and WebGL
Stars: ✭ 50 (+233.33%)
Mutual labels:  art, experimental
modern.js
The meta-framework suite designed from scratch for frontend-focused modern web development.
Stars: ✭ 2,624 (+17393.33%)
Mutual labels:  webapp
NodeExpressCRUD
Node, Express, Mongoose and MongoDB CRUD Web Application
Stars: ✭ 45 (+200%)
Mutual labels:  webapp
scruffy-server
Scruffy micro web server to have your own UML class/sequence diagram page like yUML and even more lean.
Stars: ✭ 44 (+193.33%)
Mutual labels:  webapp
restaurant-finder-featureReviews
Build a Flask web application to help users retrieve key restaurant information and feature-based reviews (generated by applying market-basket model – Apriori algorithm and NLP on user reviews).
Stars: ✭ 21 (+40%)
Mutual labels:  webapp
durdraw
Animated Unicode, ANSI and ASCII Art Editor for Linux/Unix/macOS
Stars: ✭ 55 (+266.67%)
Mutual labels:  art
text2painting
Convert text into beautiful artistic images
Stars: ✭ 55 (+266.67%)
Mutual labels:  art
forum
A basic Django forum app with metaposts; uses redis for stats/tracking
Stars: ✭ 25 (+66.67%)
Mutual labels:  forum
physics-is-beautiful
Files for Physics Is Beautiful Website
Stars: ✭ 12 (-20%)
Mutual labels:  forum
Steward
A stock portfolio manager that provides neural net based short-term predictions for stocks and natural language processing based analysis on community sentiments.
Stars: ✭ 25 (+66.67%)
Mutual labels:  webapp
notable-insiders
A repository containing experimental releases of Notable.
Stars: ✭ 131 (+773.33%)
Mutual labels:  experimental
samila
Generative Art Generator
Stars: ✭ 750 (+4900%)
Mutual labels:  art
arboles
Mapa de Arbolado Urbano
Stars: ✭ 13 (-13.33%)
Mutual labels:  art
bpanel
A Blockchain Management System, powered by bcoin
Stars: ✭ 52 (+246.67%)
Mutual labels:  webapp
ReplCustoms
A database of users, posts, and comments from the ReplTalk API
Stars: ✭ 17 (+13.33%)
Mutual labels:  webapp
pixelino
Pixel-drawing app for iOS ✍️
Stars: ✭ 45 (+200%)
Mutual labels:  art
multiverse
Adobe Photoshop scripts for making generative art
Stars: ✭ 21 (+40%)
Mutual labels:  art
mimstris
A falling block puzzle game created using React and Redux.
Stars: ✭ 129 (+760%)
Mutual labels:  experimental

staticfuzz

Travis Code Climate

See it live: http://staticfuzz.com/

Memories which vanish. Live message board, in the spirit of early anonymous message boards, like http://www.2ch.net/ and Kareha.

staticfuzz in action

Someone's working on a port of Staticfuzz for Google App Engine.

Why use?

  • Memories only ever exist in memory (RAM)
  • Optionally, you can easily use a persistent database
  • Memories streamed live, asynchronously, with server-sent events
  • Easy to configure
  • Notification system
  • Easy-to-create "slash commands"
  • Miscellaneous mood settings (e.g., random backgrounds)
  • Easily config

Running

  1. pip install -r requirements.txt
  2. cp config-example.py config.py
  3. python staticfuzz.py serve

Then you open http://localhost:5000/ in a web browser.

Creating your own SlashCommand

Create a class which inherits from SlashCommand, has a class constant NAME which is the command used to execute the command, without the slash.

Add a @staticmethod called callback which returns a SlashCommandResponse object. That's it! Example:

class Sum(SlashCommand):
    NAME = 'sum`

    @staticmethod
    def callback(*args):

        for arg in args:
            
            try:
                __ = int(arg)
            except ValueError:

                return SlashCommandResponse(False, ("%s is not a number!" % arg, 400))

        return SlashCommandResponse(True, sum(args))

Above will create a memory which text is the sum of the arguments, e.g., /sum 1 2 3 would create a memory with the text 6. If the user enters something like /sum 1 a 3 an HTTP error 400 is sent.

The first argument of SlashCommandResponse is a bool, if True it will create a memory with the second argument, otherwise, the second arugment is sent as a response.

callback() does not need to take any arguments at all. It can take any number of arguments, something like def callback(only_one): works!

Included

  • /login secret: login so you can delete memories. sadly, you need to manually refresh after logging in. Try /login lain (default).
  • /logout: if you are logged in, this will log you out. again, you need manually refresh after.
  • /danbooru search some tags: Get a random image from Danbooru which matches the supplied tags.

Other features

Try posting a link to an image!

Built with love

Free for commercial or any purpose (MIT license) by Lily Seabreeze.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].