mirror of
https://github.com/Lynnesbian/FediBooks/
synced 2024-11-25 16:48:58 +00:00
Compare commits
2 commits
798b5a484b
...
c474f988bb
Author | SHA1 | Date | |
---|---|---|---|
c474f988bb | |||
ba1edf9768 |
2 changed files with 2 additions and 2 deletions
|
@ -18,7 +18,7 @@
|
||||||
<p>An ebooks bot, named after the Twitter account horse_ebooks, is a bot that learns from posts made by users and generates its own posts, similarly to how your phone keyboard predicts what you're about to type next. The results are always messy, frequently nonsensical, and occasionally hilarious.</p>
|
<p>An ebooks bot, named after the Twitter account horse_ebooks, is a bot that learns from posts made by users and generates its own posts, similarly to how your phone keyboard predicts what you're about to type next. The results are always messy, frequently nonsensical, and occasionally hilarious.</p>
|
||||||
|
|
||||||
<h2 class="thin">What happened to the old FediBooks?</h2>
|
<h2 class="thin">What happened to the old FediBooks?</h2>
|
||||||
<p>It was too ambitious a project, and I got burned out on it. Progress was slow and the code was messy. I had a ridiculous number of features planned for it, such as complex decision trees, allowing for absurdly specific rules like "only reply to users with a T in their username if it's between 4am and 5pm on a Wednesday". I had too much planned, and additionally, I don't particularly like developing desktop apos.</p>
|
<p>It was too ambitious a project, and I got burned out on it. Progress was slow and the code was messy. I had a ridiculous number of features planned for it, such as complex decision trees, allowing for absurdly specific rules like "only reply to users with a T in their username if it's between 4am and 5pm on a Wednesday". I had too much planned, and additionally, I'm don't particularly like developing desktop apps.</p>
|
||||||
<p>The source code is still available <a href="https://github.com/Lynnesbian/OldFediBooks">here</a>, although it's of little use to anyone.</p>
|
<p>The source code is still available <a href="https://github.com/Lynnesbian/OldFediBooks">here</a>, although it's of little use to anyone.</p>
|
||||||
|
|
||||||
<h2 class="thin">Why create FediBooks?</h2>
|
<h2 class="thin">Why create FediBooks?</h2>
|
||||||
|
|
|
@ -35,7 +35,7 @@ def login_check():
|
||||||
if request.path not in ['/', '/about', '/welcome', '/login', '/signup', '/do/login', '/do/signup', '/static/style.css'] and not request.path.startswith("/push"):
|
if request.path not in ['/', '/about', '/welcome', '/login', '/signup', '/do/login', '/do/signup', '/static/style.css'] and not request.path.startswith("/push"):
|
||||||
# page requires authentication
|
# page requires authentication
|
||||||
if 'user_id' not in session:
|
if 'user_id' not in session:
|
||||||
return redirect(url_for('home'))
|
return redirect(url_for('render_home'))
|
||||||
|
|
||||||
@app.route("/")
|
@app.route("/")
|
||||||
def render_home():
|
def render_home():
|
||||||
|
|
Loading…
Reference in a new issue