dangeru / awoo Goto Github PK
View Code? Open in Web Editor NEWAwoo is a textboard engine based on the Sinatra micro-framework
License: GNU General Public License v3.0
Awoo is a textboard engine based on the Sinatra micro-framework
License: GNU General Public License v3.0
mysql -u root < create.sql
ERROR 1064 (42000) at line 3: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'IDENTIFIED BY 'awoo'' at line 1
make: *** [Makefile:9: install] Error 1
As referenced in issue #24 all invalid API calls throw a regular Sinatra error, should we display a nicely formatted JSON one for them i.e. {"404": "Thread not found"}
, or just leave the standard?
Hello,
When trying to start the application in my "testing" home web server following the instructions in the README.md i get this error:
From what i understand the captcha uses a list of words readen from a file /usr/share/dict/words which of course i don't have: i simply cloned your repo and that's it.
Not sure if it's an issue or not, feel free to close if it isn't.
Right now the port is hardcoded to be 8080, but I'd like to define a different port in case other applications already run on it.
run on port 28080 and use nginx proxy to 443
post an action would reset the session.
Line 42 in 545489d
enable :sessions
to use Rack::Session::Cookie
May 07 19:53:08 localhost.server.com systemd[1]: Started awoo.
May 07 19:53:08 localhost.server.com env[4885]: /usr/lib/ruby/vendor_ruby/rerun/options.rb:6: warning: assigned but unused variable - libdir
May 07 19:53:08 localhost.server.com env[4885]: /usr/lib/ruby/vendor_ruby/rerun/watcher.rb:104: warning: assigned but unused variable - e
May 07 19:53:08 localhost.server.com env[4885]: /usr/lib/ruby/vendor_ruby/rerun/runner.rb:307: warning: assigned but unused variable - e
May 07 19:53:08 localhost.server.com env[4885]: /usr/lib/ruby/vendor_ruby/rerun/runner.rb:141: warning: instance variable @already_running not initialized
May 07 19:53:08 localhost.server.com env[4885]: /usr/lib/ruby/vendor_ruby/rerun/runner.rb:159: warning: instance variable @keypress_thread not initialized
May 07 19:53:08 localhost.server.com env[4885]: 19:53:08 [rerun] Src launched
May 07 19:53:08 localhost.server.com env[4885]: /var/lib/gems/2.5.0/gems/rack-2.2.3/lib/rack/server.rb:368: warning: shadowing outer local variable - filename
May 07 19:53:08 localhost.server.com env[4885]: /opt/awoo/src/routes/utils/search.rb:38: warning: shadowing outer local variable - where_clause
May 07 19:53:08 localhost.server.com env[4885]: /var/lib/gems/2.5.0/gems/mini_magick-4.11.0/lib/mini_magick/tool.rb:199: warning: shadowing outer local variable - value
May 07 19:53:08 localhost.server.com env[4885]: /var/lib/gems/2.5.0/gems/mini_magick-4.11.0/lib/mini_magick/image/info.rb:70: warning: ambiguous first argument; put parentheses or a s
May 07 19:53:08 localhost.server.com env[4885]: /opt/awoo/src/routes/utils/captcha.rb:3: warning: setting Encoding.default_internal
May 07 19:53:08 localhost.server.com env[4885]: /opt/awoo/src/routes/utils/captcha.rb:4: warning: setting Encoding.default_external
May 07 19:53:08 localhost.server.com env[4885]: /opt/awoo/src/app.rb:21:in `initialize': wrong number of arguments (given 1, expected 0) (ArgumentError)
May 07 19:53:08 localhost.server.com env[4885]: from /var/lib/gems/2.5.0/gems/sinatra-2.2.0/lib/sinatra/base.rb:1537:in `new'
May 07 19:53:08 localhost.server.com env[4885]: from /var/lib/gems/2.5.0/gems/sinatra-2.2.0/lib/sinatra/base.rb:1527:in `prototype'
May 07 19:53:08 localhost.server.com env[4885]: from /var/lib/gems/2.5.0/gems/sinatra-2.2.0/lib/sinatra/base.rb:1573:in `start_server'
May 07 19:53:08 localhost.server.com env[4885]: from /var/lib/gems/2.5.0/gems/sinatra-2.2.0/lib/sinatra/base.rb:1509:in `run!'
May 07 19:53:08 localhost.server.com env[4885]: from /opt/awoo/src/config.ru:10:in `block in <main>'
May 07 19:53:08 localhost.server.com env[4885]: from /var/lib/gems/2.5.0/gems/rack-2.2.3/lib/rack/builder.rb:116:in `eval'
May 07 19:53:08 localhost.server.com env[4885]: from /var/lib/gems/2.5.0/gems/rack-2.2.3/lib/rack/builder.rb:116:in `new_from_string'
May 07 19:53:08 localhost.server.com env[4885]: from /var/lib/gems/2.5.0/gems/rack-2.2.3/lib/rack/builder.rb:105:in `load_file'
May 07 19:53:08 localhost.server.com env[4885]: from /var/lib/gems/2.5.0/gems/rack-2.2.3/lib/rack/builder.rb:66:in `parse_file'
May 07 19:53:08 localhost.server.com env[4885]: from /var/lib/gems/2.5.0/gems/rack-2.2.3/lib/rack/server.rb:349:in `build_app_and_options_from_config'
May 07 19:53:08 localhost.server.com env[4885]: from /var/lib/gems/2.5.0/gems/rack-2.2.3/lib/rack/server.rb:249:in `app'
May 07 19:53:08 localhost.server.com env[4885]: from /var/lib/gems/2.5.0/gems/rack-2.2.3/lib/rack/server.rb:422:in `wrapped_app'
May 07 19:53:08 localhost.server.com env[4885]: from /var/lib/gems/2.5.0/gems/rack-2.2.3/lib/rack/server.rb:312:in `block in start'
May 07 19:53:08 localhost.server.com env[4885]: from /var/lib/gems/2.5.0/gems/rack-2.2.3/lib/rack/server.rb:379:in `handle_profiling'
May 07 19:53:08 localhost.server.com env[4885]: from /var/lib/gems/2.5.0/gems/rack-2.2.3/lib/rack/server.rb:311:in `start'
May 07 19:53:08 localhost.server.com env[4885]: from /var/lib/gems/2.5.0/gems/rack-2.2.3/lib/rack/server.rb:168:in `start'
May 07 19:53:08 localhost.server.com env[4885]: from /var/lib/gems/2.5.0/gems/rack-2.2.3/bin/rackup:5:in `<top (required)>'
May 07 19:53:08 localhost.server.com env[4885]: from /usr/local/bin/rackup:23:in `load'
May 07 19:53:08 localhost.server.com env[4885]: from /usr/local/bin/rackup:23:in `<main>'
May 07 19:53:08 localhost.server.com env[4885]: Loading board test...
May 07 19:53:08 localhost.server.com env[4885]: Loading board burg...
May 07 19:53:08 localhost.server.com env[4885]: Loading board staff...
May 07 19:53:08 localhost.server.com env[4885]: Loading board all...
May 07 19:53:08 localhost.server.com env[4885]: All threads pruned
May 07 19:53:08 localhost.server.com env[4885]: Updating legacy burgs
May 07 19:53:08 localhost.server.com env[4885]: All legacy burgs updated
May 07 19:53:08 localhost.server.com env[4885]: Updating legacy archived threads
May 07 19:53:08 localhost.server.com env[4885]: All legacy archived threads updated
May 07 19:53:08 localhost.server.com env[4885]: Awoo is starting...
May 07 19:53:10 localhost.server.com env[4885]: 19:53:08 [rerun] Rerun (4885) running Src (4891)
May 07 19:53:10 localhost.server.com env[4885]: /usr/lib/ruby/vendor_ruby/rerun/runner.rb:200: warning: instance variable @watcher not initialized
May 07 19:53:10 localhost.server.com env[4885]: /usr/lib/ruby/vendor_ruby/rerun/watcher.rb:51: warning: FileTest.exists? is a deprecated name, use FileTest.exist? instead
May 07 19:53:10 localhost.server.com env[4885]: /usr/lib/ruby/vendor_ruby/rerun/watcher.rb:75: warning: instance variable @listener not initialized
May 07 19:53:10 localhost.server.com env[4885]: /usr/lib/ruby/vendor_ruby/ffi/library.rb:333: warning: assigned but unused variable - s
Hi, I have installed Vesta CP (CP Webserver), how is possible to install awoo in a sub domain? Its my first time in Ruby.
So this surfaced while browsing /v/.
Error page
the index page fails to display even tho the service seems to be running im using raspbain
$ curl https://dangeru.us/api/v2/thread/31jklas/replies
Try this lol
Can this engine run on windows at all?
I wanted to try it out but was wondering if it's possible (or a good idea, really) to run this on windows at all, of if it's possible to.
EDIT: or better - what's the best way one would approach to use this engine on a windows machine? VM? Docker containers? Just genuinely interested in the approach you'd choose.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.