You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

31 lines
1.3 KiB

from flask import Flask, g, request, session, redirect, url_for, render_template
from flask_bootstrap import Bootstrap
import os
app = Flask(__name__)
Bootstrap(app)
app.secret_key = 'asdf'
app.debug = True
@app.route('/')
def index():
search = {'active': True, 'search_url': 'https://searx.info/?q='}
account_url = 'https://account.technicalincompetence.club'
apps = [
{'name': 'Gitea', 'description': 'It\'s git', 'link': 'https://git.tia.moe'},
{'name': 'Gitea', 'description': 'It\'s git', 'link': 'https://git.tia.moe'},
{'name': 'Gitea', 'description': 'It\'s git', 'link': 'https://git.tia.moe'},
{'name': 'Gitea', 'description': 'It\'s git', 'link': 'https://git.tia.moe'},
{'name': 'Gitea', 'description': 'It\'s git', 'link': 'https://git.tia.moe'},
{'name': 'Gitea', 'description': 'It\'s git', 'link': 'https://git.tia.moe'},
{'name': 'Gitea', 'description': 'It\'s git', 'link': 'https://git.tia.moe'},
{'name': 'Gitea', 'description': 'It\'s git', 'link': 'https://git.tia.moe'},
{'name': 'Gitea', 'description': 'It\'s git', 'link': 'https://git.tia.moe'},
]
return render_template('index.j2', apps = apps, search = search, account_url = account_url)
if __name__ == '__main__':
app.run()