Git Product home page Git Product logo

ibz / usocial Goto Github PK

View Code? Open in Web Editor NEW
16.0 2.0 1.0 1.73 MB

Read. Listen. Pay back. The podcast client and feed reader for your personal server. With Lightning Network support.

Home Page: http://usocial.me

License: GNU General Public License v3.0

Dockerfile 0.89% Python 64.70% HTML 16.12% CSS 2.66% JavaScript 13.13% Shell 1.96% Mako 0.54%
python minimalist feed-reader atom-feed rss-feed flask fever-api rss-aggregator podcast-client podcasting20

usocial's Introduction

Read more at usocial.me.

Running usocial

The recommended way to run usocial on Umbrel and Citadel is to install it from the respective dashboard.

If you want to run usocial on your laptop, home server or VPS, check the instructions here.

If you want to debug or edit the code, keep reading.

Setting up the development environment

  1. Clone the repo

    git clone https://github.com/ibz/usocial.git && cd usocial

  2. Set up a venv

    python3 -m venv venv
    source venv/bin/activate
    pip install --upgrade pip
    pip install -e .
    
  3. Create an "instance" directory which will store your database and config file.

    mkdir instance

  4. Generate a secret key (this is required by Flask for CSRF protection)

    echo "SECRET_KEY = '"`python3 -c 'import os;print(os.urandom(12).hex())'`"'" > instance/config.py

  5. Export the environment variables (FLASK_APP is required, FLASK_ENV makes Flask automatically restart when you edit a file)

    export FLASK_APP=usocial.main FLASK_ENV=development

  6. Create the database (this will also create the default user, "me", without a password)

    flask create-db

  7. Run the app locally

    flask run

usocial's People

Contributors

ibz avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

22388o

usocial's Issues

Podcast suggested contribution seems too high

The "No Agenda" show lists a suggested contribution of 5000 sats / minute, which seems too high.

Either the parsing of podcast:value is wrong, or the documentation for the tag is wrong, or the podcast uses the tag wrongly.

YouCast - improvement proposal

Hey, please check this project https://github.com/i3arnon/YouCast . Something like this would be very helpful, if it would be available within usocial.

I use it, when I want to create RSS podcast feed for some Youtube playlist. I then use this RSS feed in RSS aggregator app like Podcast Addict.

One disadvantage is, that YouCast must be running. So this would be best to run it on server like umbrel and make it visible on clearnet.

Save play volume

Currently, if you reload a page, the podcast volume is reset to max. This is not good.

Bug: Blog links are relative on Umbrel

When clicking a blog link, I am getting sent to http://umbrel.local:8448/some/blog/post/params instead of https://blogwebsite.com/some/blog/post/params when accessing on Umbrel.

Icon for Helipad

Do you have an icon I can use to represent usocial.me in Helipad boost display?

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.